Is RGB on Mac something else as RGB on windows?

2014-09-12 Thread Tiemo Hollmann TB
Hello, I have an application, where I manipulate an image. I exchange a specified RGB color by another value. I developed this app on windows and everything works fine. Now at final testing my function seems to be broken, because the same image (a screenshot taken from a video) seems to have

iPhone 6 Screens Demystified

2014-09-12 Thread Erik Beugelaar
http://www.paintcodeapp.com/news/iphone-6-screens-demystified ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

Re: Is RGB on Mac something else as RGB on windows?

2014-09-12 Thread Trevor DeVore
On Fri, Sep 12, 2014 at 8:29 AM, Tiemo Hollmann TB toolb...@kestner.de wrote: I have an application, where I manipulate an image. I exchange a specified RGB color by another value. I developed this app on windows and everything works fine. Now at final testing my function seems to be broken,

Re: Apple TestFlight beta testing

2014-09-12 Thread Chris Sheffield
Mike, You’re right. TestFlight is not new, but Apple’s implementation of it is. I’ve also been using TestFlight for years, and will most likely continue to do so in the “old” way for as long as possible, since we have to test our apps on a range of devices running various versions of iOS.

Re: dBLib

2014-09-12 Thread Andre Garzia
Terence, The author did this because sometimes he is not that smart. I've spoken to the author and he will do an update changing the behaviour. He explained to me that when the library was built that sounded like a good idea. ;-) On Thu, Sep 11, 2014 at 6:26 AM, Terence Heaford

Re: Can LC application receive a shell command with parameters?

2014-09-12 Thread Andre Garzia
Bill, This is a shot in the dark but if you're doing that on Mac OS X then I think you may be able to use AppleEvents. I don't know if they are still supported. Cheers andre On Thu, Sep 11, 2014 at 2:23 AM, Bill Vlahos bvla...@mac.com wrote: Mike, I’m not sure. I want to have a running

AW: Is RGB on Mac something else as RGB on windows?

2014-09-12 Thread Tiemo Hollmann TB
Hi Trevor, hmm, might be we are experiencing the same issue. The more I am testing, the more I get confused what happens with the RGB on Mac. Because I never would have thought that there could be an issue related to this between windows and Mac this issue hits me at the latest stage in my

Re: dBLib

2014-09-12 Thread Terence Heaford
Thanks, I’m sure the author IS smart enough. ;) Also, tryng to increase your workload. I have been using an existing stack of mine to evaluate dBLib which totals columns like this: put merge(select sum(amountColumn) as totalValue from amountColumn where amountColumn 0 and date =

AW: Is RGB on Mac something else as RGB on windows?

2014-09-12 Thread Tiemo Hollmann TB
Some more testing: The mousecolor returns the same RGB on Mac and Win. I need this for comparing each pixel of an imageData with this mousecolor. But when looping through the imageData of an image, the charToNum(char x of tImageData) returns a different value on Mac and Win. Up to now, it seems

Re: dBLib

2014-09-12 Thread Peter Haworth
On Fri, Sep 12, 2014 at 9:50 AM, Terence Heaford t.heaf...@btinternet.com wrote: put merge(select sum(amountColumn) as totalValue from amountColumn where amountColumn 0 and date = [[tStartDate]] and date = [[tEndDate]]) into tSQL Not sure if dbLib supports it but you could use the BETWEEN

Re: AW: Is RGB on Mac something else as RGB on windows?

2014-09-12 Thread J. Landman Gay
On 9/12/2014, 11:32 AM, Tiemo Hollmann TB wrote: The more I am testing, the more I get confused what happens with the RGB on Mac. Does the problem exist if the images are jpg instead of png? Can you change your images to jpg? I've seen the problem with png images, and since I didn't need to

Re: Can LC application receive a shell command with parameters?

2014-09-12 Thread Mike Bonner
Another option is to have a text file that is periodically checked by your running app. Poke a command string into the file, when next your app checks the file, it grabs the string and does whatever you need, while clearing out the file. Might want to use a file lock system also so that if 1 app

Re: Can LC application receive a shell command with parameters?

2014-09-12 Thread Mike Bonner
Oh, another option, kinda like a prebuilt sockets stack that should do exactly what you want. It's the httpd stack thats part of revonrockets (I think) by andre. It has a pre-made method where you can call a handler from the stack using a http request. Works great, I used as part of a remote

WindowShape

2014-09-12 Thread Peter Haworth
Using the windowshape property of a stack for the first time and things aren't working quite as expected. I created a rounded rectangle graphic and then exported a snapshot of it to an image. When the stack is opened, I set the windowshape to the id of the image. I see the outline of the card

Re: WindowShape

2014-09-12 Thread Mike Bonner
Easiest fix is to set the rounded rec to opaque before making the image. On Fri, Sep 12, 2014 at 1:02 PM, Peter Haworth p...@lcsql.com wrote: Using the windowshape property of a stack for the first time and things aren't working quite as expected. I created a rounded rectangle graphic and

Re: WindowShape

2014-09-12 Thread Scott Rossi
Hi Pete: If you were to position the snapshot image at the topLeft of your stack, would the controls you can't see fall within the rect of the image? Am asking because it doesn't matter where the image resides on a card, the mask is always drawn from the topLeft of the stack. So the controls

Re: Externals in Objective-C

2014-09-12 Thread JB
For anyone who is interested in writing objective-c externals in LiveCode and Revolution here is a link to some code that might work. I am still pretty new to c++ and objective-c and have not tried it yet. If you get it working please post some code. c++ wrapper for objective-c link;

Re: WindowShape

2014-09-12 Thread Peter Haworth
Hi Mike and Scott. Recreated the graphic and set its opaque to true before exporting it and that fixed the problem. Pete lcSQL Software http://www.lcsql.com Home of lcStackBrowser http://www.lcsql.com/lcstackbrowser.html and SQLiteAdmin http://www.lcsql.com/sqliteadmin.html On Fri, Sep 12, 2014

Re: ios8

2014-09-12 Thread Mike Kerner
Well, unfortunately, I can't even get to the preOpenStack handler. This baby crashes even before that. On Thu, Sep 11, 2014 at 3:49 PM, Chris Sheffield cmsheffi...@icloud.com wrote: Linking to Xcode 6 will require a LiveCode update I’m afraid. I’m sure the team are working on it and we’ll

Re: WindowShape

2014-09-12 Thread Dave Kilroy
The other thing to watch out for is scaleFactor - when this is not 1 the window shape can change to a bad overall shape as well as artefacts inside the window - at least it used to, I made a bug report on this several months ago and as far as I know it isn't fixed - Some are born coders,

Re: ios8

2014-09-12 Thread Chris Sheffield
Are you using any externals with your app? Usually when I’ve seen immediate crashes like that it’s due to an incompatible external. On Sep 12, 2014, at 1:52 PM, Mike Kerner mikeker...@roadrunner.com wrote: Well, unfortunately, I can't even get to the preOpenStack handler. This baby

Re: ios8

2014-09-12 Thread Mike Kerner
I removed the externals. It still dies. On Fri, Sep 12, 2014 at 3:59 PM, Chris Sheffield cmsheffi...@icloud.com wrote: Are you using any externals with your app? Usually when I’ve seen immediate crashes like that it’s due to an incompatible external. On Sep 12, 2014, at 1:52 PM, Mike

Re: dBLib

2014-09-12 Thread Dave Kilroy
I've used dbLib with a Firebird db to pull in data from a table where the date field used a -mm-dd format, and as long as I made sure to follow this format there was no problem: dbWhere CREATEDATE , tDate --other statements building the SELECT statement put dbGet(ITEM) into

Re: WindowShape

2014-09-12 Thread Scott Rossi
Unlike the Lone Ranger's mask, you can animate the window's mask, just for fun. I got inspired since I haven't done one of these in a while. Execute the following your message box: go url http://www.tactilemedia.com/download/animated_mask.livecode; Once the window loads, look for the teeny

Re: WindowShape

2014-09-12 Thread Scott Rossi
I should mention, if you're on a Mac, you can set the shadow property of the window to false and the window will look cleaner (and flatter). Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 9/12/14 2:05 PM, Scott Rossi sc...@tactilemedia.com wrote: I got inspired since

Re: Is RGB on Mac something else as RGB on windows?

2014-09-12 Thread William Prothero
Tiemo: I wonder if this has something to do with the fact that byte operations rather than charToNum operations are supported now, and unicode gets involved in charToNum operations. Bill On Sep 12, 2014, at 10:09 AM, Tiemo Hollmann TB toolb...@kestner.de wrote: Some more testing: The

Re: WindowShape

2014-09-12 Thread J. Landman Gay
On 9/12/2014, 4:05 PM, Scott Rossi wrote: Unlike the Lone Ranger's mask, you can animate the window's mask, just for fun. I got inspired since I haven't done one of these in a while. Execute the following your message box: go url http://www.tactilemedia.com/download/animated_mask.livecode;

Re: WindowShape

2014-09-12 Thread Scott Rossi
Hmm. I just tested in RC1 and the animation seems to work fine, but dragging the window around the desktop is still screwed up (from past bug report). Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 9/12/14 3:29 PM, J. Landman Gay jac...@hyperactivesw.com wrote: On

Re: WindowShape

2014-09-12 Thread J. Landman Gay
Odd. I tried it twice and the animation never ran. The windowshape showed up okay, though as you said, the window wouldn't drag. When I clicked the checkbox it got a checkmark but nothing happened. On 9/12/2014, 5:49 PM, Scott Rossi wrote: Hmm. I just tested in RC1 and the animation seems to

Re: WindowShape

2014-09-12 Thread Paul Hibbert
Works fine for me in LC 7.0(rc1) on OS X 10.8.5 - I can drag it around too. It's a really cool idea, thanks for sharing. Paul On 2014-09-12, at 3:49 PM, Scott Rossi sc...@tactilemedia.com wrote: Hmm. I just tested in RC1 and the animation seems to work fine, but dragging the window around

Re: WindowShape

2014-09-12 Thread Devin Asay
Works for me, too, on 7.0 RC 1 on Mavericks. Devin On Sep 12, 2014, at 4:55 PM, Paul Hibbert paulhibb...@mac.com wrote: Works fine for me in LC 7.0(rc1) on OS X 10.8.5 - I can drag it around too. It's a really cool idea, thanks for sharing. Paul On 2014-09-12, at 3:49 PM, Scott

Re: WindowShape

2014-09-12 Thread J. Landman Gay
On 9/12/2014, 5:55 PM, Paul Hibbert wrote: Works fine for me in LC 7.0(rc1) on OS X 10.8.5 - I can drag it around too. I'm at a loss then. I'm using 7.0 rc 1 like you are. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software |

Re: WindowShape

2014-09-12 Thread Scott Rossi
After letting the thing run for about a minute, the window disappeared on its own (and eventually LC crashed, though not sure that's related). Off to the bug report page. . . Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 9/12/14 3:54 PM, J. Landman Gay

Re: WindowShape

2014-09-12 Thread J. Landman Gay
On 9/12/2014, 6:09 PM, Scott Rossi wrote: After letting the thing run for about a minute, the window disappeared on its own (and eventually LC crashed, though not sure that's related). Well, this is embarrassing. I tried it again, it still didn't work. Then I noticed I had messages turned

Re: WindowShape

2014-09-12 Thread Paul Hibbert
Crashed here too. So I opened the Activity Monitor, launched LC again, opened the stack and activated the animation, then watched the memory usage just grow and grow until it stopped at 3.39GB, then eventually it crashed. Paul On 2014-09-12, at 4:09 PM, Scott Rossi sc...@tactilemedia.com

player question

2014-09-12 Thread larry
I have the following lines of code below: I put a number such as 10 into field myStart and then execute the code. The player still starts playing at the very beginning of the song. ? TIA Larry put field myStart * the timeScale of player myPlayer into tStart set the startTime of player

Re: WindowShape

2014-09-12 Thread Scott Rossi
On 9/12/14 4:35 PM, J. Landman Gay jac...@hyperactivesw.com wrote: Well, this is embarrassing. I tried it again, it still didn't work. Then I noticed I had messages turned off. You have permission to laugh and point. Like we need permission. :-) Filed a bug report already. Regards, Scott

Re: player question

2014-09-12 Thread Paul Hibbert
Try adding the line: set the playSelection of player myPlayer to true Paul On 2014-09-12, at 4:56 PM, la...@significantplanet.org wrote: I have the following lines of code below: I put a number such as 10 into field myStart and then execute the code. The player still starts playing at the

Re: Apple TestFlight beta testing

2014-09-12 Thread Kay C Lan
On Fri, Sep 12, 2014 at 10:30 PM, Chris Sheffield cmsheffi...@icloud.com wrote: but it bothers me a bit that beta testing requires the testers to have iOS 8 on their devices. What if we want/need to test our apps on older versions of iOS? But isn't the iOS 8 requirement so the up coming '1,000

No WAV playback on Win in v6.6.2?

2014-09-12 Thread Richard Gaskin
I could have sworn I'd been able to play WAV files in Windows (no QuickTime installed) within a LiveCode player object, but today I'm having no luck. Am I imagining things? LC seems to do well with MP3, but it would be very convenient for this project if I could use WAV. Am I missing

Re: No WAV playback on Win in v6.6.2?

2014-09-12 Thread Scott Rossi
You can play imported WAVs, but I don't recall being able to play external files without QT behind the player. Regards, Scott Rossi Creative Director Tactile Media UX/UI Design On Sep 12, 2014, at 6:37 PM, Richard Gaskin ambassa...@fourthworld.com wrote: I could have sworn I'd been able

Re: No WAV playback on Win in v6.6.2?

2014-09-12 Thread Roger Eller
I think that should get changed, especially since most recommendations are to use references for images. Why not also reference sounds, and have the engine import behind the scenes if it must. ~Roger On Sep 12, 2014 9:44 PM, Scott Rossi sc...@tactilemedia.com wrote: You can play imported WAVs,

Re: No WAV playback on Win in v6.6.2?

2014-09-12 Thread Alex Shaw
Hi Richard If you just need basic playback try ffplay. https://www.ffmpeg.org/ffplay.html regards alex On 13/09/2014 11:37 am, Richard Gaskin wrote: I could have sworn I'd been able to play WAV files in Windows (no QuickTime installed) within a LiveCode player object, but today I'm having

Re: player question

2014-09-12 Thread larry
Thanks Paul! That was all that was needed. Larry - Original Message - From: Paul Hibbert paulhibb...@mac.com To: How to use LiveCode use-livecode@lists.runrev.com Sent: Friday, September 12, 2014 6:53 PM Subject: Re: player question Try adding the line: set the playSelection of

Re: No WAV playback on Win in v6.6.2?

2014-09-12 Thread larry
Hello Richard, I had a problem once with playing .wav Turns out that I had the wrong flavor of .wav I had to convert my wav files from 32 bit to 16 bit. Apparently LC doesn't handle wav files above 16 bit. Anyway, that was my experience. Good luck! Larry - Original Message - From:

Download and Run Stacks - Can Do On Mobile?

2014-09-12 Thread Brahmanathswami
I remember being blown away years ago in the late 90's when Scott Raney had a little demo of go stack url http://somedomain.com/somestack.mc; and it downloaded and ran the stack. I later created a little desktop CPU/Index type app/splash screen engine. and users could download and run

Re: No WAV playback on Win in v6.6.2?

2014-09-12 Thread stephen barncard
On Fri, Sep 12, 2014 at 7:57 PM, la...@significantplanet.org wrote: Apparently LC doesn't handle wav files above 16 bit. Still. after all these years, only good for bleeps and blops. *--* *Stephen Barncard - San Francisco Ca. USA - Deeds Not Words*

url question

2014-09-12 Thread larry
Hello, I use the following: launch url myUrl and LC opens a browser tab in my default browser - cool. My question is this: Is there any way to close that tab when I want to? TIA Larry ___ use-livecode mailing list use-livecode@lists.runrev.com