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

2013-09-23 Thread Thierry Douez
2013/9/18 Ray Horsley r...@linkit.com So there's apparently no solution to this seemingly common need to be able to view and convert PDF files to single PNG's or JPEG's in Livecode. Suggestions? ​Hi Ray, There is a free pdf reader for Win32 / Win64 there:

Re: Pitch shifting Audio

2013-09-23 Thread Thierry Douez
2013/9/21 Beat Cornaz b.cor...@gmx.net ​. 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

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

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

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. Normally

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 th.do...@gmail.com a écrit : 2013/9/21 Beat Cornaz b.cor...@gmx.net ​. but still it would be nice to have Midi functions in LiveCode. Especially some connection, so you could play midi

Re: Scientific E notation: How to get it

2013-09-23 Thread Monte Goulding
On 23/09/2013, at 7:06 PM, FlexibleLearning.com ad...@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: 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

Re: Scientific E notation: How to get it

2013-09-23 Thread Monte Goulding
On 23/09/2013, at 7:32 PM, Monte Goulding mo...@sweattechnologies.com 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

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 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 %E

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,

Re: Scientific E notation: How to get it

2013-09-23 Thread Monte Goulding
On 23/09/2013, at 8:39 PM, FlexibleLearning.com ad...@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'

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

2013-09-23 Thread Thierry Douez
​Hello Graham, ​ 2013/9/23 Graham Samuel livf...@mac.com 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,

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 -- Klaus

Re: Using Post tData?

2013-09-23 Thread Andrew Kluthe
Hmmm. echo td. $row['urladdress'] . /td; 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 br tags to put them all in a nice

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

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 ordinary,

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 right end if

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 kl...@major-k.de: Hi Craig, Am 23.09.2013 um 15:39 schrieb dunb...@aol.com:

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

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

Re: disabling a coloroverlay?

2013-09-23 Thread Klaus major-k
Hi Bernd, Am 23.09.2013 um 16:20 schrieb BNig niggem...@uni-wh.de: 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

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:

Re: disabling a coloroverlay?

2013-09-23 Thread Klaus major-k
Hi Bernd, Am 23.09.2013 um 16:30 schrieb BNig niggem...@uni-wh.de: 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

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 niggem...@uni-wh.de: 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 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

Re: disabling a coloroverlay?

2013-09-23 Thread Klaus major-k
Hi Mark, Am 23.09.2013 um 18:35 schrieb Mark Wieder mwie...@ahsoftware.net: Klaus- Monday, September 23, 2013, 7:57:07 AM, you wrote: Hi Bernd, Am 23.09.2013 um 16:30 schrieb BNig niggem...@uni-wh.de: Hi Klaus, on mouseUp put the colorOverlay of btn 1 into tArray put 0 into

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 Scott, Am 23.09.2013 um 19:16 schrieb Scott Rossi sc...@tactilemedia.com: 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

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

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: ?php require_once('config.php'); $link = mysql_connect(DB_HOST, DB_USER, DB_PASSWORD); if(!$link) { die('Failed to connect to server: ' . mysql_error()); } $db = mysql_select_db(DB_DATABASE);

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

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

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 stephenrevoluti...@barncard.com wrote: HI gang, I'm having

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 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 the

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

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 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 stephenrevoluti...@barncard.com wrote: On

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

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

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 br for returns and brbr for a new paragraph, which is bad form, but easier to

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 stephenrevoluti...@barncard.com 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

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 j...@jhj.com wrote: Straw. Camel's back. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe,

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

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: 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