Re: Image File Size Reduction

2014-08-06 Thread Thierry Douez
2014-08-06 23:26 GMT+02:00 hh : > One more interesting thing with sips on MacOS that Thierry not mentioned > (because this is his daily 2nd breakfast I suppose): Sorry Hermann, but you're wrong this time :) I was only in my garden taking care of roses strongly watched by one of my cat.. > One

Re: the effective me?

2014-08-06 Thread hh
Knock-knock. Who's there? Me. Me who? The me next door ... (Freely after Mark W.) Knock-knock. Who's there? Mrs. Missis who? The me this of the other me ... (Freely after Devin A.) Sorry, forget it. I'm so tired, I better go to sleep now. ___ use-live

Re: "...for neither" - really?

2014-08-06 Thread Mark Wieder
Alejandro- Wednesday, August 6, 2014, 8:15:35 PM, you wrote: > Just one thing: > How could I stop or pause different sounds > using the command Aplay? Kill the process? -- -Mark Wieder ahsoftw...@gmail.com This communication may be unlawfully collected and stored by the National Security Ag

Re: mouseUp question

2014-08-06 Thread larry
Hi Terry, You put me on the right track. I'm sure your script below would work, but I don't like messing with pendingMessages, so I did the following: global myClick on mouseUp put 1 into myClick send soundChoice to me in .3 seconds end mouseUp on mouseDoubleUp put 2 into myClick sound

Re: LC interface code

2014-08-06 Thread et...@lish.net
Glassboard had a API on github but I think it's been taken down while they do a rewrite http://www.rassoc.com/gregr/weblog/2012/05/15/glassboard-2-0-and-glassbot/ App.net has a robust API https://developers.app.net/ E et...@lish.net 240.449.8270 > On Aug 6, 2014, at 6:33 PM, Skip Kimpel wrote

Re: mouseUp question

2014-08-06 Thread Paul Hibbert
Just realised that won't work in this case! It will play the file and copy it. Paul On 2014-08-06, at 9:30 PM, Paul Hibbert wrote: > Larry, > > One way to do this is to pass the result of each mouse handler to a command > e.g.: > > local sMouseClicks > > on mouseUp > put 1 into sMouseClic

Re: LC interface code

2014-08-06 Thread Skip Kimpel
Does Glassboard have an API? I see that app.net does... Now I'm intrigued. SKIP > On Aug 6, 2014, at 11:04 PM, "et...@lish.net" wrote: > > Hey, > > Long time listener, first time poster ;-) > > Any example LC interface code to app.net or glassboard.com available for > review? > > I'm looki

Re: mouseUp question

2014-08-06 Thread Paul Hibbert
Larry, One way to do this is to pass the result of each mouse handler to a command e.g.: local sMouseClicks on mouseUp put 1 into sMouseClicks mouseAction end mouseUp on mouseDoubleUp put 2 into sMouseClicks mouseAction end mouseDoubleUp command mouseAction if sMouseClicks = 2

Re: mouseUp question

2014-08-06 Thread Terry Judd
Hi Larry, one approach is to do something like the code below, which delays the mouseUp handler from running until after the doubleClick interval has expired. You can adjust the double-click interval to be whatever you like (shorter times will cause less obvious delays in the mouseUp handler runnin

Re: the effective me?

2014-08-06 Thread Devin Asay
On Aug 6, 2014, at 8:05 PM, Mark Wieder wrote: > Devin- > > Wednesday, August 6, 2014, 1:19:41 PM, you wrote: > >> With only a little bit of metaphysical angst. :) > > My brain still twists itself into knots trying to deal with "this me". > What if I want to refer to "that me" or "the other m

Wrestling with LC Server and wacky results...?

2014-08-06 Thread JOHN PATTEN
Hi All, Still not getting LC server script to record the correct info in a text file. I’m trying recording the last item, item 4, of a players game piece based on the button they are over. Here’s the abbreviated “move game piece script:” put word 2 of tLabels into tCurrentSpot --word 2 is a nu

mouseUp question

2014-08-06 Thread larry
In a field I have two scripts - one for mouseUp and another one for mouseDoubleUp When the user clicks a line in the field (mouseUp) it plays the .wav file they click on When the user double clicks it copies the .wav file to another field. The problem is that LC runs BOTH scripts when the user

Re: "...for neither" - really?

2014-08-06 Thread Alejandro Tejada
Now that I am in front of a Linux Computer I confirm that it's possible to play many sounds at the same time, using open process put "aplay sample.au" into tCommand open process tCommand for neither This command does plays *.wav and *.au Does not works with *.mp3 or *.aiff http://www.linuxcomman

LC interface code

2014-08-06 Thread et...@lish.net
Hey, Long time listener, first time poster ;-) Any example LC interface code to app.net or glassboard.com available for review? I'm looking to enhance a app with one of these services as a backend discussion board Thanks in advance, Ethan et...@lish.net 240.449.8270 _

Re: the effective me?

2014-08-06 Thread J. Landman Gay
On 8/6/2014, 9:05 PM, Mark Wieder wrote: What if I want to refer to "that me" or "the other me" or "the me next door" or "the me that used to be"? That won't be an issue until the time warp stack is done. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software

Re: the effective me?

2014-08-06 Thread Mark Wieder
Devin- Wednesday, August 6, 2014, 1:19:41 PM, you wrote: > With only a little bit of metaphysical angst. :) My brain still twists itself into knots trying to deal with "this me". What if I want to refer to "that me" or "the other me" or "the me next door" or "the me that used to be"? Obviously "

Re: Image File Size Reduction

2014-08-06 Thread Mark Wieder
Ray- Wednesday, August 6, 2014, 10:17:40 AM, you wrote: > I've become a Windows user My condolences. Nonetheless, I've always used imagemagick in commandline mode on whatever platform. I didn't realize there was anything else. -- -Mark Wieder ahsoftw...@gmail.com This communication may be un

Problem solved!

2014-08-06 Thread Charles Szasz
Please disregard my previous posting. The disappearing text was due to preferences being loaded for the main stack, which was easily fixed. Sent from my iPad ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscrib

Re: Image File Size Reduction

2014-08-06 Thread Richard Gaskin
Ray wrote: > Does anybody know of a way to reduce an image's disk size from within > Livecode? > > Specifically, I'd like to be able to: > 1) change the file from PNG to JPEG import PNG; export as JPEG > 2) change the color depth for PNG's to 8 bit "export as raw..." might help,

Re: Image File Size Reduction

2014-08-06 Thread Ray
Thanks hh - I haven't gotten into the Mac side yet but this is helpful for when I get around to it. On 8/6/2014 6:26 PM, hh wrote: One more interesting thing with sips on MacOS that Thierry not mentioned (because this is his daily 2nd breakfast I suppose): One can effectively use it via apples

Re: "read...until " -- buffer size

2014-08-06 Thread Kay C Lan
On Thu, Aug 7, 2014 at 3:13 AM, Richard Gaskin wrote: > * Once again I tried going through GitHub to find a specific relevant bit of > code, and once again it seems I lack the training needed to do so > effectively. It's comments like that, from Gurus like you, that leave me with an overwhelming

Re: Image File Size Reduction

2014-08-06 Thread hh
One more interesting thing with sips on MacOS that Thierry not mentioned (because this is his daily 2nd breakfast I suppose): One can effectively use it via applescript by the "image events" suite and can even modify ColorSync ICC profiles with it (am I right Thierry?). This is not subject here

Re: the effective me?

2014-08-06 Thread Devin Asay
On Aug 6, 2014, at 2:09 PM, "J. Landman Gay" wrote: > On 8/6/2014, 2:56 PM, Devin Asay wrote: >> >> Struggling with who I really am, > > It was "this me" and it's in there. I thought it was silly at the time, and > yet, it's does describe it correctly and no one could think of a better term.

Re: the effective me?

2014-08-06 Thread J. Landman Gay
On 8/6/2014, 2:56 PM, Devin Asay wrote: Hi folks, Did this discussion ever get resolved? If you need to refer to properties of a button that holds a behavior script, is there any way to override the meaning of 'me'? Normally 'me' in a behavior script refers to the object that is executing the be

Re: the effective me?

2014-08-06 Thread Mark Schonewille
Hi Devin, That should be the parent of me or the behaviour of me, e.g. put the script of the parent of me -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Colo

the effective me?

2014-08-06 Thread Devin Asay
Hi folks, Did this discussion ever get resolved? If you need to refer to properties of a button that holds a behavior script, is there any way to override the meaning of 'me'? Normally 'me' in a behavior script refers to the object that is executing the behavior script. We had a long discussio

Re: "read...until " -- buffer size

2014-08-06 Thread Richard Gaskin
Kay C Lan wrote: > ...I'd suggest the solution is not to manually set the buffer size > but to have LC find the optimum for you. > > With the current variety of disk sizes, proportion of disk empty, rpm > and even if it's mechanical or SSD, what ever you discover to be the > optimum on your machi

Text in edit field disappears after opening substack.

2014-08-06 Thread Charles Szasz
I am using LC 5.5.5. I have a substack ("Grade") that is launched when the user goes from an edit field to the next edit field. The substack has a grade option button that is programmed to insert a grade in the second field. I have no script in the first field. When the substack is launched the

Re: Image File Size Reduction

2014-08-06 Thread Ray
I've become a Windows user and didn't realize sips was built into the Mac OS. Thanks Klaus and Thierry. I'll look into this. On 8/6/2014 2:14 PM, Thierry Douez wrote: Thierry - are you sure I need to use sips for Mac? It appears Image Magick has command line tools for Mac also. In between

Re: Image File Size Reduction

2014-08-06 Thread Klaus major-k
Hi Ry, Am 06.08.2014 um 19:09 schrieb Ray : > Thierry - are you sure I need to use sips for Mac? It appears Image Magick > has command line tools for Mac also. yes, sure, but SIPS is already built-in into OS X :-) > On 8/6/2014 1:53 PM, Thierry Douez wrote: >>> Thierry - I didn't think there

Re: Image File Size Reduction

2014-08-06 Thread Thierry Douez
> Thierry - are you sure I need to use sips for Mac? > It appears Image Magick has command line tools for Mac also. In between us, getting older and older, I'm sure of less and less and I'm bored with those so sure of... :) That said, the nice thing about sips is that it is already installed an

Re: Image File Size Reduction

2014-08-06 Thread Ray
Thierry - are you sure I need to use sips for Mac? It appears Image Magick has command line tools for Mac also. On 8/6/2014 1:53 PM, Thierry Douez wrote: Thierry - I didn't think there was a command-line version of Image Magick but I guess there is. Thanks! You're welcome :) I was used to w

Re: Image File Size Reduction

2014-08-06 Thread Thierry Douez
> Thierry - I didn't think there was a command-line version of Image Magick > but I guess there is. > > Thanks! You're welcome :) I was used to work a lot with them years ago and mainly on Linux. I'm using successfully sips on Mac from time to time. Regards, Thierry > On 8/6/2014 1:36 PM, Th

Re: Image File Size Reduction

2014-08-06 Thread Ray
Jacques - interesting. This might fit my needs. Thanks for the idea. On 8/6/2014 1:37 PM, Jacques Hausser wrote: I don't know fi it's the best way, but in one of my applications, I drag and drop an image and retrieve only it's file path (e.g. : put the dragData["files"] into photoFile); then

Re: Image File Size Reduction

2014-08-06 Thread Ray
Thierry - I didn't think there was a command-line version of Image Magick but I guess there is. Thanks! On 8/6/2014 1:36 PM, Thierry Douez wrote: Ray, http://www.imagemagick.org/script/command-line-tools.php on Mac, you can use "sips" HTH, Thierry -

Re: Image File Size Reduction

2014-08-06 Thread Thierry Douez
Ray, http://www.imagemagick.org/script/command-line-tools.php on Mac, you can use "sips" HTH, Thierry Thierry Douez - http://sunny-tdz.com Maker of sunnYperl - sunnYmidi - sunnYmage 2014-08-06 18:18 GMT+02:00 Ray : > Does anybody know of a way

Re: Image File Size Reduction

2014-08-06 Thread Jacques Hausser
I don't know fi it's the best way, but in one of my applications, I drag and drop an image and retrieve only it's file path (e.g. : put the dragData["files"] into photoFile); then I set the filename of existing empty images to this file path, adjust the size as needed (in reference to rectangles

Image File Size Reduction

2014-08-06 Thread Ray
Does anybody know of a way to reduce an image's disk size from within Livecode? Specifically, I'd like to be able to: 1) change the file from PNG to JPEG 2) change the color depth for PNG's to 8 bit 3) change the dimensions Regarding the last of these I know you can set it up and ta

Re: [OT] We're shipping books

2014-08-06 Thread Mark Schonewille
Hi, I wanted to write a few things about the current status of my book, but I'm really busy with a few projects right now. I'll write more later. Nonetheless, we'll be shipping books again on Friday. We have sent many customers a request to confirm their postal mailing address, but there are

Screen resolution

2014-08-06 Thread Rodney Green
Using 6.6.1 with resolution independence, is there a recommended screen size for a main stack to target ios and android? What is your default size that you use for your projects? Thanks. ___ use-livecode mailing list use-livecode@lists.runrev.com Please

Re: sending data somehow...

2014-08-06 Thread larry
Hi Skip, Yes, I'd like to learn more about that technique. Please send more info. Larry - Original Message - From: "Magicgate Software - Skip Kimpel" To: "How to use LiveCode" Sent: Wednesday, August 06, 2014 8:37 AM Subject: Re: sending data somehow... In Windows, I also use a VBSc

Re: sending data somehow...

2014-08-06 Thread Magicgate Software - Skip Kimpel
In Windows, I also use a VBScript technique that sends stuff out through my Outlook client without any interaction. Just a thought if you want to go down that route SKIP On Wed, Aug 6, 2014 at 10:01 AM, wrote: > Hi Simon, > Thanks - I will look into those links. > Larry > > - Original

Re: sending data somehow...

2014-08-06 Thread larry
Hi Simon, Thanks - I will look into those links. Larry - Original Message - From: "Simon Smith" To: "How to use LiveCode" Sent: Wednesday, August 06, 2014 1:11 AM Subject: Re: sending data somehow... Hi Larry Take a look at the SMTP stack on http://www.troz.net/rev/index.irev?cate

Re: OpenControl

2014-08-06 Thread hh
jacque wrote: > There are some geniuses here on this list who know far more than > I do, especially in niche areas where I have either no experience > or no skills. Certainly there are some geniuses here, probably I know most (I read this year's archives last week). But there are also some who bel

Re: use-livecode Digest, Vol 131, Issue 9

2014-08-06 Thread William Waldman
Thanks for your message. I am out of the office this week. If you need immediate assistance, please email "h...@klht.org". http://www.facebook.com/kingStamford"; target="_new">http://forum.klht.org/Social_Media_Images/fb.png"; border="0"> https://twitter.com/kingstamford"; target="_new">http:/

Re: "read...until " -- buffer size

2014-08-06 Thread Kay C Lan
On Wed, Aug 6, 2014 at 2:19 PM, FlexibleLearning.com wrote: One step further: Why not automatically "maxReadSpeed()" as > part of the LC's startup routine? I thought of that, but not everyone needs blinding read speed and I could imagine that the tests to determine the fastest combination of set

Re: sending data somehow...

2014-08-06 Thread Simon Smith
Hi Larry Take a look at the SMTP stack on http://www.troz.net/rev/index.irev?category=All I have used http://commandlinesendmail.blogspot.com/ though in the past (windows only) Simon On Wed, Aug 6, 2014 at 6:37 AM, wrote: > I read the following lesson: > http://lessons.runrev.com/m/4071/l/13