Re: SlideView - Help Needed for 2 Major Issues

2013-09-23 Thread Ender Nafi Elekcioglu
Paul, you're a life-saver :) I wouldn't figure this out by myself, not even in zillion debugging hours. Although, I'm still trying to understand why this is an issue. I'll list all the mouse* and focus* messages to see what's going on behind the curtains. Maybe the second problem is also related t

Re: SlideView - Help Needed for 2 Major Issues

2013-09-23 Thread Paul Hibbert
Ender, By using the message watcher I noticed a mouseLeave message being sent when swiping on the block.png image, so adding… on mouseLeave if sSlideGrab is not empty then mouseUp end mouseLeave …to the script of group "thePanel" seems to help some issues. Paul On 2013-09-23, at 7:48 PM,

Re: pasting from browser text

2013-09-23 Thread Mark Wieder
Stephen- Monday, September 23, 2013, 7:56:58 PM, you wrote: > I still like Safari and Webkit All modern browsers are webkit-based. -- -Mark Wieder mwie...@ahsoftware.net ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit thi

Re: pasting from browser text

2013-09-23 Thread stephen barncard
yes, it's very possible I've made a total ass out of myself. On Mon, Sep 23, 2013 at 8:21 PM, Jerry Jensen wrote: > Straw. Camel's back. > > > ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe

Re: pasting from browser text

2013-09-23 Thread Jerry Jensen
Straw. Camel's back. On Sep 23, 2013, at 7:56 PM, stephen barncard wrote: > Please don't let particular my problem change your attitude about Safari. I > am trying to see if it's my web coding. Currently the text on that page is > placed there with PUT statements and livecode server. I was usin

Re: pasting from browser text

2013-09-23 Thread stephen barncard
Please don't let particular my problem change your attitude about Safari. I am trying to see if it's my web coding. Currently the text on that page is placed there with PUT statements and livecode server. I was using for returns and for a new paragraph, which is bad form, but easier to code with

SlideView - Help Needed for 2 Major Issues

2013-09-23 Thread Ender Nafi Elekcioglu
Hi folks, I've prepared a simple stack to utilize a common behaviour in mobile apps. It's a SlideView project, seen in many mainstream apps; swiping from the edge reveals a pane beneath. iOS 7 brought another use for it, though, swiping from left to go back previous page. Thus, its importance g

Re: pasting from browser text

2013-09-23 Thread Mark Wieder
Jerry- Monday, September 23, 2013, 5:48:38 PM, you wrote: > Geez, I'm about to stop using Safari. Running Firefox only when > something doesn't work in Safari is getting old. I think I'll just > recommend that people I support start using Firefox by default. ...and Firefox is such a memory hog t

Re: pasting from browser text

2013-09-23 Thread Jerry Jensen
Geez, I'm about to stop using Safari. Running Firefox only when something doesn't work in Safari is getting old. I think I'll just recommend that people I support start using Firefox by default. .Jerry On Sep 23, 2013, at 5:44 PM, stephen barncard wrote: > On Mon, Sep 23, 2013 at 4:25 PM, ste

Re: pasting from browser text

2013-09-23 Thread stephen barncard
On Mon, Sep 23, 2013 at 4:25 PM, stephen barncard < stephenrevoluti...@barncard.com> wrote: > Should this be reported as a bug? I'm surprised this hasn't happened to > anyone else... Here's the next wrinkle : The problem manifests with Safari, but not Google Chrome or Firefox.gr --

Re: pasting from browser text

2013-09-23 Thread stephen barncard
Tested with LC 6.1.1 and 5.5.5 - same thing by the way, pasting back from the pasted text of Tex-Edit or TextMate back to LC looks fine as well. Should this be reported as a bug? I'm surprised this hasn't happened to anyone else... On Mon, Sep 23, 2013 at 4:21 PM, stephen barncard < stephenre

Re: pasting from browser text

2013-09-23 Thread stephen barncard
Directly pasting into an LC field produces the exact same result. Wrong. On Mon, Sep 23, 2013 at 4:18 PM, stephen barncard < stephenrevoluti...@barncard.com> wrote: > Thanks Scott, > I know how to screen scrape from the html source... > > I want to use the contents of the clipboard to just get t

Re: pasting from browser text

2013-09-23 Thread stephen barncard
Thanks Scott, I know how to screen scrape from the html source... I want to use the contents of the clipboard to just get the part I need. And this return business is getting in the way I get a block of text with question marks instead of returns. I'm not sure how actual question marks show

Re: pasting from browser text

2013-09-23 Thread Scott Rossi
Do you have to use the copied text or can you use the source HTML text? set text of fld 1 to url "http://jazzcubed.com/"; Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 9/23/13 3:27 PM, "stephen barncard" wrote: >HI gang, > >I'm having trouble in pasting copied text

pasting from browser text

2013-09-23 Thread stephen barncard
HI gang, I'm having trouble in pasting copied text from a browser. Returns are coming back as "?" (ascii 3F dec 63 ) and there are no other characters before or after. my cut source is the first two paragraphs of http://jazzcubed.com How can I recover the returns and return & returns (paragrap

Re: Using Post tData?

2013-09-23 Thread Dave Cragg
> But in a lc code stack with a button and two flds I get: > "You have an error in your SQL syntax; check the manual that corresponds to > your MySQL server version for the right syntax to use near '' at line 1" > > Button's script: > > on mouseUp > post cd fld 1 to URL > "http://jpatten.on

Re: Using Post tData?

2013-09-23 Thread JOHN PATTEN
Hi Andrew, et al… Still no luck. I've included the complete php script below: http://www.youtube.com/embed/"; .$row['urladdress']. "\">". $row['urltitle'] . ""; } ?> This works fine here: jpatten.on-rev.com/safetube_student/home.php (type a 19 into the field) But in a lc code stack with

Re: XML Newbie Woes

2013-09-23 Thread Graham Samuel
Hi Kay Thanks for that really interesting insight. I think I'll do exactly what you say: what I want to do is to draw elevation graphs, simply to fill in a gap in the way this particular GPS data is presented by its native editor. I just want to extract a set (or array) of lines which are name

Re: "disabling" a coloroverlay?

2013-09-23 Thread Klaus major-k
Hi Scott, Am 23.09.2013 um 19:16 schrieb Scott Rossi : > Hi Klaus: > > Like all graphic effects, colorOverlay is an array that is based on multiple > properties (color, opacity, and blendMode). You cannot apply a graphic effect > via script by applying only one of its properties, you must set

Re: PDF's to PNG's on Windows 8

2013-09-23 Thread Thierry Douez
Hi Roger, Sure, you can get it. And about the bitmap resolution, yes, it works but again, as I did this job a couple of years ago, I have to dig in this project for the details, which I can't right now. Please, contact me off-list for more info. Kind regards, Thierry 2013/9/23 Roger Eller

Re: "disabling" a coloroverlay?

2013-09-23 Thread Klaus major-k
Hi Mark, Am 23.09.2013 um 18:35 schrieb Mark Wieder : > Klaus- > Monday, September 23, 2013, 7:57:07 AM, you wrote: > >> Hi Bernd, > >> Am 23.09.2013 um 16:30 schrieb BNig : > >>> Hi Klaus, >>> >>> on mouseUp >>> put the colorOverlay of btn 1 into tArray >>> put 0 into tArray["opacity"] >>>

Re: "disabling" a coloroverlay?

2013-09-23 Thread Scott Rossi
Hi Klaus: Like all graphic effects, colorOverlay is an array that is based on multiple properties (color, opacity, and blendMode). You cannot apply a graphic effect via script by applying only one of its properties, you must set all of them at once in an array. To adjust one of the effect's pr

Re: "disabling" a coloroverlay?

2013-09-23 Thread Mark Wieder
Klaus- Monday, September 23, 2013, 7:57:07 AM, you wrote: > Hi Bernd, > Am 23.09.2013 um 16:30 schrieb BNig : >> Hi Klaus, >> >> on mouseUp >> put the colorOverlay of btn 1 into tArray >> put 0 into tArray["opacity"] >> set the colorOverlay of btn 1 to tArray >> end mouseUp > ??? > If

Re: "disabling" a coloroverlay?

2013-09-23 Thread Klaus major-k
Hi Bernd, Am 23.09.2013 um 16:30 schrieb BNig : > Hi Klaus, > > on mouseUp > put the colorOverlay of btn 1 into tArray > put 0 into tArray["opacity"] > set the colorOverlay of btn 1 to tArray > end mouseUp ??? If COLOR has been set before, then COLOR will be set again? > Kind regards >

Re: "disabling" a coloroverlay?

2013-09-23 Thread BNig
Hi Klaus, on mouseUp put the colorOverlay of btn 1 into tArray put 0 into tArray["opacity"] set the colorOverlay of btn 1 to tArray end mouseUp Kind regards Bernd -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/disabling-a-coloroverlay-tp4670191p46702

Re: "disabling" a coloroverlay?

2013-09-23 Thread Klaus major-k
Hi Bernd, Am 23.09.2013 um 16:20 schrieb BNig : > Hi Klaus, > > how about > > on mouseUp > set the colorOverlay of btn 1 to "" > end mouseUp thanks, yep, I ended up with this. In my current case there are no other coloroverlay settings, only the COLOR. but if there were, what the heck shoul

Re: PDF's to PNG's on Windows 8

2013-09-23 Thread Roger Eller
Hi Thierry, I too could use such a great external. We use PDFs extensively, and it has been an ongoing need to access them with LiveCode (on Windows). Do you plan to market your external to the LiveCode Community? One question: Does it offer any control over the bitmap resolution? ~Roger On S

Re: "disabling" a coloroverlay?

2013-09-23 Thread BNig
Hi Klaus, how about on mouseUp set the colorOverlay of btn 1 to "" end mouseUp Kind regards Bernd -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/disabling-a-coloroverlay-tp4670191p4670197.html Sent from the Revolution - User mailing list archive at Nabble.

Re: "disabling" a coloroverlay?

2013-09-23 Thread Klaus major-k
Hi friends, no idea anyone? Sorry, I am a but in a hurry with this... Do I really need to set the complete coloroverlay to empty? Can't think so... Thanks in advance! Am 23.09.2013 um 15:46 schrieb Klaus major-k : > Hi Craig, > > Am 23.09.2013 um 15:39 schrieb dunb...@aol.com: > >> Klaus. >>

Re: "disabling" a coloroverlay?

2013-09-23 Thread Klaus major-k
Hi Craig, Am 23.09.2013 um 15:39 schrieb dunb...@aol.com: > Klaus. > > Something not right, all right. You bet! > I made a new button "b3", and put this in a script somewhere: > > on mouseUp > get the coloroverlay["color"] of btn "b3" >if it = "" then > answer "Yep, empty, all righ

Re: "disabling" a coloroverlay?

2013-09-23 Thread dunbarx
Klaus. Something not right, all right. I made a new button "b3", and put this in a script somewhere: on mouseUp get the coloroverlay["color"] of btn "b3" if it = "" then answer "Yep, empty, all right" end if combine it with return --just to make sure it is an o

Re: Using Post tData?

2013-09-23 Thread Andrew Kluthe
Also, as far as I know: $result = mysql_query("SELECT urladdress, urltitle FROM urllist WHERE docid = '$doccode'"); $doccode won't evaluate to anything but the string $doccode in this query because you have encased it in ' ' I believe. I'm not sure what version of PHP on-rev is using, but if it

Re: Using Post tData?

2013-09-23 Thread Andrew Kluthe
Hmmm. echo "<. $row['urladdress'] . "; That line there doesn't quite look right. I'm not sure if you pasted this out directly or not. What's your reasoning for the table in the script? If I were going to use this as an http interface I would likely just use tags to put them all in a nice list

"disabling" a coloroverlay?

2013-09-23 Thread Klaus major-k
Hi friends, see subject, how do I "switch off" of the coloroverlay["color"] setting of a control? -> set the coloroverlay["color"] of btn XYZ to empty Gives an error.. Maybe set it ot 0? Or will the 0 be interpreted as a "shortcut" for 0,0,0? Any hints welcome, thanks :-) Best Klaus -- Kl

Re: PDF's to PNG's on Windows 8

2013-09-23 Thread Thierry Douez
​Hello Graham, ​ 2013/9/23 Graham Samuel Just to say that I can endorse Thierry's external, which I'm using in a > commercial product. I have not in fact tried it on Windows 8, but it should > be fine as it works in Windows 7 and XP - if Thierry says it will work with > Windows 8, I'm sure it wi

Re: Scientific E notation: How to get it

2013-09-23 Thread Monte Goulding
On 23/09/2013, at 8:39 PM, "FlexibleLearning.com" wrote: > Thank you, Monte, but the numberFormat of the output is somewhat > non-standard... > >put format("%E",0.01234) --> 1.234000E-006 > > Can this syntax include alternative numberformats? > > For example: >'0.00' --> 1.23E-06

Re: PDF's to PNG's on Windows 8

2013-09-23 Thread Graham Samuel
Just to say that I can endorse Thierry's external, which I'm using in a commercial product. I have not in fact tried it on Windows 8, but it should be fine as it works in Windows 7 and XP - if Thierry says it will work with Windows 8, I'm sure it will. It does exactly what I needed it to do, whi

Re: Scientific E notation: How to get it

2013-09-23 Thread FlexibleLearning.com
Thank you, Monte, but the numberFormat of the output is somewhat non-standard... put format("%E",0.01234) --> 1.234000E-006 Can this syntax include alternative numberformats? For example: '0.00' --> 1.23E-06 '0.###' --> 1.234E-06 '00.' --> 01.2340E-06 Just asking as my "

Re: Unicode anyone ?...

2013-09-23 Thread Tim Selander
Glad someone else can benefit from all the time it took me to track down! Tim On 9/23/13 6:39 PM, John Dixon wrote: Tim... thanks, your 'magic' command did the trick... I would never have arrived at that solution by myself... Dixie

Re: Scientific E notation: How to get it

2013-09-23 Thread Monte Goulding
On 23/09/2013, at 7:32 PM, Monte Goulding wrote: >> If you have a shorter alternative or find any glitches, please post! > > > put format("%e",0.01) Oops... I see you wanted uppercase E: put format("%E",0.01) ;-) -- Monte Goulding M E R Goulding - software development services mer

RE: Unicode anyone ?...

2013-09-23 Thread John Dixon
Tim... thanks, your 'magic' command did the trick... I would never have arrived at that solution by myself... Dixie ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscrib

Re: Scientific E notation: How to get it

2013-09-23 Thread Monte Goulding
On 23/09/2013, at 7:06 PM, "FlexibleLearning.com" wrote: > If you have a shorter alternative or find any glitches, please post! put format("%e",0.01) -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! ___

Re: Pitch shifting Audio

2013-09-23 Thread René Micout
Bonjour Thierry, "You are welcome" comme ils disent ! ;-) René Le 23 sept. 2013 à 10:19, Thierry Douez a écrit : > 2013/9/21 Beat Cornaz > >> >> ​. but still it would be nice to have Midi functions in LiveCode. >> Especially some connection, so you could play midi files through your >> fa

Scientific E notation: How to get it

2013-09-23 Thread FlexibleLearning.com
I needed to convert decimals to E notation and as it took me a while, I thought it might be useful to others. If you have a shorter alternative or find any glitches, please post! on mouseUp put fld "in" into tNum put fld "NumberFormat" into tNumberFormat --| to specify output precision. Norma

RE: Unicode anyone ?...

2013-09-23 Thread John Dixon
Thanks Tim... I am about to try your suggestions... I hope some of the 'magic' rubs off on me...:-) > Date: Mon, 23 Sep 2013 17:46:55 +0900 > From: selan...@tkf.att.ne.jp > To: use-livecode@lists.runrev.com > Subject: Re: Unicode anyone ?... > > I can't tell you definitively because I am barely

Re: Unicode anyone ?...

2013-09-23 Thread Tim Selander
I can't tell you definitively because I am barely hanging on by a thread when it come to understanding LC's usage of unicode... After a GREAT deal of poking around on this list, other forums and Google, this is what I've come up with to retrieve UTF8 from mySQL. In my case, my mySQL field name

Re: Pitch shifting Audio

2013-09-23 Thread Thierry Douez
2013/9/21 Beat Cornaz > > ​. but still it would be nice to have Midi functions in LiveCode. > Especially some connection, so you could play midi files through your > favourite sequencer software, like Ableton live or Logic. > > Maybe the SunnYmidi that René suggests might do the trick. That

Unicode anyone ?...

2013-09-23 Thread John Dixon
I have for example 'cafés' coming out of a mySQL database, but when it is put into an LC Field it is all messed up... 'cafEs' (with the accent on top of the 'E' pointing in the wrong direction... put item theItem of thisLine into theIndexNameset the unicodeText of fld 1 of group count of group