[TEASER] Dropbox Support Almost Ready

2012-02-01 Thread Andre Garzia
Hey Folks, Take a look at: http://andregarzia.clarify-it.com/d/earp64 This is proof of a working Dropbox library. Today, it worked for the first time and made a successful upload operation. I hope to release it soon! It will be dual licensed like the other libraries from the social network suit

Re: How does a command find out who called it?

2012-02-01 Thread Richard Gaskin
J. Landman Gay wrote: If others here can reproduce this apparent bug from the second test in this post I'll log it in the RQCC: Do you get the same results without using the message box? The way it has to re-interpret

Re: How does a command find out who called it?

2012-02-01 Thread J. Landman Gay
On 2/1/12 7:50 PM, Richard Gaskin wrote: Bob Sneidar wrote: From the dictionary: When the send command is used the stack containing the target handler temporarily becomes the defaultStack. All object references in the message are evaluated in the current context i. e. the defaultStack. Therefo

Re: How does a command find out who called it?

2012-02-01 Thread Devin Asay
I'm pretty sure Jacque's time warp stack already uses this! Devin On Feb 1, 2012, at 5:33 PM, Phil Davis wrote: > Here's a related tidbit I learned from Dar Scott (and who else would think of > it? ;-) > > If you have several pending messages and you want to send the next one to the > front

Re: How does a command find out who called it?

2012-02-01 Thread Bob Sneidar
It may be that dispatch works the same as send concerning the context, and the dictionary simply doesn't say so. I presumed that because the distinction was present for send and absent for dispatch that there was a real difference. I might be mistaken. Call explicitly says that the context remai

RE: How does a command find out who called it?

2012-02-01 Thread Ralph DiMola
Sweeet! send in 0 seconds and send in -3 seconds open up so many possibilities. The message path now starting to gel. Done a lot of RT programming in the past. This opens up LC to a lot of things I want to do. THANKS again folks! Keep it coming I'm hungry. Ralph DiMola IT Director Evergre

Re: How does a command find out who called it?

2012-02-01 Thread Richard Gaskin
Bob Sneidar wrote: From the dictionary: When the send command is used the stack containing the target handler temporarily becomes the defaultStack. All object references in the message are evaluated in the current context i. e. the defaultStack. Therefore references within the message that re

Re: How does a command find out who called it?

2012-02-01 Thread Bob Sneidar
>From the dictionary: When the send command is used the stack containing the target handler temporarily becomes the defaultStack. All object references in the message are evaluated in the current context i. e. the defaultStack. Therefore references within the message that refer to "this card" o

Re: How does a command find out who called it?

2012-02-01 Thread Bob Sneidar
That is what the dictionary entry for send says. If it is mistaken, it is a documentation bug. Bob On Feb 1, 2012, at 5:02 PM, Richard Gaskin wrote: > Bob Sneidar wrote: > > > Dispatch does not have an "in time" argument. Only send does. > > The other difference is that send temporarily chan

Re: How does a command find out who called it?

2012-02-01 Thread Pete
Oh my! Obviously Livecode wasn't around when Einstein was!!! Pete On Wed, Feb 1, 2012 at 4:33 PM, Phil Davis wrote: > Here's a related tidbit I learned from Dar Scott (and who else would think > of it? ;-) > > If you have several pending messages and you want to send the next one to > the fron

Re: How does a command find out who called it?

2012-02-01 Thread Richard Gaskin
Bob Sneidar wrote: > Dispatch does not have an "in time" argument. Only send does. > The other difference is that send temporarily changes the > defaultStack to the one containing the called handler. Any > references to "this card" or "this stack" will reference the > target stack, not the stack

Re: How does a command find out who called it?

2012-02-01 Thread Andre Garzia
On Wed, Feb 1, 2012 at 10:33 PM, Phil Davis wrote: > Here's a related tidbit I learned from Dar Scott (and who else would think > of it?  ;-) > > If you have several pending messages and you want to send the next one to > the front of the pendingMessages, you can: > > send "doUrgentStuff" to me in

Re: How does a command find out who called it?

2012-02-01 Thread Bob Sneidar
The first. Bob On Feb 1, 2012, at 4:44 PM, Pete wrote: > Yeah, I guess the question was does 'dispatch "xyz" to the target' equate > to 'send "xyz" to the target', or send "xyz" to the target in 0 seconds'. > > On Wed, Feb 1, 2012 at 3:06 PM, Mark Schonewille < > m.schonewi...@economy-x-talk.

Re: How does a command find out who called it?

2012-02-01 Thread Pete
Yeah, I guess the question was does 'dispatch "xyz" to the target' equate to 'send "xyz" to the target', or send "xyz" to the target in 0 seconds'. On Wed, Feb 1, 2012 at 3:06 PM, Mark Schonewille < m.schonewi...@economy-x-talk.com> wrote: > Hi Pete, > > The following does (almost?) the same as d

Re: How does a command find out who called it?

2012-02-01 Thread Bob Sneidar
THAT IS WHERE ALL THE SOCKS WENT! Bob On Feb 1, 2012, at 4:33 PM, Phil Davis wrote: > Here's a related tidbit I learned from Dar Scott (and who else would think of > it? ;-) > > If you have several pending messages and you want to send the next one to the > front of the pendingMessages,

Re: How does a command find out who called it?

2012-02-01 Thread Bob Sneidar
Dispatch does not have an "in time" argument. Only send does. The other difference is that send temporarily changes the defaultStack to the one containing the called handler. Any references to "this card" or "this stack" will reference the target stack, not the stack the handler was called from.

Re: How does a command find out who called it?

2012-02-01 Thread Phil Davis
Here's a related tidbit I learned from Dar Scott (and who else would think of it? ;-) If you have several pending messages and you want to send the next one to the front of the pendingMessages, you can: send "doUrgentStuff" to me in -3 seconds You can use a negative time! Phil Davis On

Re: How does a command find out who called it?

2012-02-01 Thread Andre Garzia
The way I implement such callbacks is by using a script local variable. In my script local variable, I have a handler that registers a callback. This handler will keep track of the target that registered the callback. When I need to send a callback later, I pick the original target from that variab

Re: How does a command find out who called it?

2012-02-01 Thread Mark Schonewille
Hi Pete, The following does (almost?) the same as dispatch: try send "bla" to me" end try and now you could add the "in 0 secs" if you want. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/x

Re: How does a command find out who called it?

2012-02-01 Thread Pete
This is fascinating stuff. I always wondered about the logic of sending something in zero seconds, now I know. I hate to complicate things even more but how does dispatch work in this regard? I've always thought of it as a replacement for send with a nicer syntax, but it doesn't have an "in time

iphonePickMedia crashes with iCloud

2012-02-01 Thread Thomas McGrath III
I have been playing with iPhonePickMedia and when loading a song that has either the cloud icon or the round circle with the square in it the app crashes. It is a pain because you can add a whole playlist and if there are any songs in it that have any of these icons it will crash. A poor work

Re: How does a command find out who called it?

2012-02-01 Thread Ken Ray
On Feb 1, 2012, at 3:41 PM, Ken Corey wrote: > On 01/02/2012 21:28, Ken Ray wrote: >> Really? Does it matter how long it takes the handler to complete execution? >> That is, if the rest of the handler after the "send" takes 10 seconds to >> execute, will LC wait all 10 seconds to get to the end

Re: How does a command find out who called it?

2012-02-01 Thread J. Landman Gay
On 2/1/12 3:28 PM, Ken Ray wrote: Really? Does it matter how long it takes the handler to complete execution? That is, if the rest of the handler after the "send" takes 10 seconds to execute, will LC wait all 10 seconds to get to the end of the handler before it sends the message? It would wai

Re: formattedHeight and scrollbars

2012-02-01 Thread Howard Bornstein
oops, sorry, that was meant to be a private email. On Wed, Feb 1, 2012 at 1:54 PM, Howard Bornstein wrote: > Hi, > > I was having some issues with formattedTextHeight and came across this > post. I looked at your revlet and it suggested some things that solved my > problem. Thank you for that! >

Re: formattedHeight and scrollbars

2012-02-01 Thread Howard Bornstein
Hi, I was having some issues with formattedTextHeight and came across this post. I looked at your revlet and it suggested some things that solved my problem. Thank you for that! I wondered if you would be willing to send me the LC stack you made this revlet from. It would be very useful to have a

Re: How does a command find out who called it?

2012-02-01 Thread Ken Corey
On 01/02/2012 21:30, Ralph DiMola wrote: Thank you for that little tidbit!! I was going crazy debugging and try to figure out the message path in these cases. I wanted the message to fire off after the handler finished. It bit me for sure. You just made my day! *smile* Fantastic! The easi

Re: How does a command find out who called it?

2012-02-01 Thread Ken Corey
On 01/02/2012 21:28, Ken Ray wrote: Really? Does it matter how long it takes the handler to complete execution? That is, if the rest of the handler after the "send" takes 10 seconds to execute, will LC wait all 10 seconds to get to the end of the handler before it sends the message? Just curio

Re: How does a command find out who called it?

2012-02-01 Thread Bob Sneidar
In this context it would not matter, but in another context, where you wanted the send command executed after all current scripts terminate, that would be the way to do it. Even if you said, "in 1 second", if the current running script took 3 seconds to terminate, the send command would execute

Re: Intelligent Save Dialogue?

2012-02-01 Thread Bob Sneidar
If Adobe has a different dialog, then I think they also "rolled their own". Bob On Feb 1, 2012, at 11:47 AM, l...@pbh.on-rev.com wrote: > Ken, > > Thank you for the reply and confirmation, definitely appreciated. > > Your 'workaround' is pretty much how I had set up the save routine and I wa

Re: How does a command find out who called it?

2012-02-01 Thread Mark Schonewille
Ken, Without the send in time, it wouldn't simulate a callback message. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Download the Installer Maker Plugin 1.7 for

RE: How does a command find out who called it?

2012-02-01 Thread Ralph DiMola
Ken, Thank you for that little tidbit!! I was going crazy debugging and try to figure out the message path in these cases. I wanted the message to fire off after the handler finished. It bit me for sure. You just made my day! THANK YOU AGAIN Ralph DiMola IT Director Evergreen Information Ser

Re: How does a command find out who called it?

2012-02-01 Thread Ken Ray
On Feb 1, 2012, at 3:09 PM, Ken Corey wrote: > On 01/02/2012 21:03, Ken Ray wrote: >> Take away the "in 0 secs" and it should work fine (I get two lines, one >> referring to the button that issued the 'send' and the other referring to >> the stack). I'm guessing the "send in time" aspect messes

Re: How does a command find out who called it?

2012-02-01 Thread Ken Corey
On 01/02/2012 21:03, Ken Ray wrote: Take away the "in 0 secs" and it should work fine (I get two lines, one referring to the button that issued the 'send' and the other referring to the stack). I'm guessing the "send in time" aspect messes with the executionContexts… BTW: Why would you send so

Re: How does a command find out who called it?

2012-02-01 Thread Ken Ray
> on mouseUp > send "bla" to me in 0 secs > end mouseUp > > and a stack script > > on bla > put the executioncontexts > end bla > > All I get in the message box is one line, referring to the stack. I don't > think your approach works for Ken Corey. Take away the "in 0 secs" and it shou

Re: Intelligent Save Dialogue?

2012-02-01 Thread lc
Ken, Thank you for the reply and confirmation, definitely appreciated. Your 'workaround' is pretty much how I had set up the save routine and I was pretty confident that it was foolproof enough to avoid saving a file with the wrong/no extension, or worse, overwriting a file with the wrong exten

Re: How does a command find out who called it?

2012-02-01 Thread Mark Schonewille
Ken, To quickly simulate a callback message, I made a button with the script on mouseUp send "bla" to me in 0 secs end mouseUp and a stack script on bla put the executioncontexts end bla All I get in the message box is one line, referring to the stack. I don't think your approach wo

Re: How does a command find out who called it?

2012-02-01 Thread Ken Ray
On Feb 1, 2012, at 1:20 PM, Mark Schonewille wrote: > Hi Ken, > > Are you sure that callback messages and messages invoked by send commands > have an execution context that's longer than 1 line? Well, it depends on where the executionContexts are requested; suppose you have button 1 send a me

Re: RevBrowser -> IE Security Warning Workaround?

2012-02-01 Thread Scott Rossi
Recently, I wrote: >> I'm trying to workaround a RevBrowser problem that has me stumped -- >> specifically, IE's refusal to run HTML that contains Javascript without >> throwing up an ActiveX security warning. Roger Eller responded: > http://support.microsoft.com/gp/howtoscript Unfortunately,

Re: How does a command find out who called it?

2012-02-01 Thread Mark Schonewille
Hi Ken, Are you sure that callback messages and messages invoked by send commands have an execution context that's longer than 1 line? -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogr

Re: Compiled app using a LOT of processing power

2012-02-01 Thread Bob Sneidar
Worked a peach. I was hiding the entire stack actually. Setting the repeatCount works fine. I am now using 0.00% processor while my app is "idling". I am so tempted to really enhance that "Spinner" app as it would make a great altDialog that works like a second threaded app. The concept could be

Re: Compiled app using a LOT of processing power

2012-02-01 Thread Bob Sneidar
Thanks Scott and Jan! How easy! Bob On Feb 1, 2012, at 9:56 AM, Scott Rossi wrote: > I'm pretty sure hiding an animated GIF should prevent processor use, but if > it doesn't, you can set the repeatCount property of the GIF image to 0. > Don't know if this will solve your processor use issue th

Re: Intelligent Save Dialogue?

2012-02-01 Thread Ken Ray
> The problem here is that, as far as I know LiveCode can only react to the > Save or Cancel button being pressed within the dialogue box, so my question > for the list is: > > Does anybody know of a way to achieve an 'intelligent' save dialogue without > building a new one from scratch? or has

Re: How does a command find out who called it?

2012-02-01 Thread Ken Ray
> > The question is: How do I know what "XXX" is in the mySocketCallback? You can check "the executionContexts" form inside your mySocketCallback handler - it's full of info about the order of execution from the user's last event to the place where you ask for it, but you can parse it to get ou

Re: The Fill color of a group

2012-02-01 Thread Pete
Thanks guys, got it. On Wed, Feb 1, 2012 at 10:32 AM, Thunder wrote: > I think you must first set the Opaque then change the color of the group > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/The-Fill-color-of-a-group-tp4348801p4348896.html > Sent from the

Re: The Fill color of a group

2012-02-01 Thread Thunder
I think you must first set the Opaque then change the color of the group -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/The-Fill-color-of-a-group-tp4348801p4348896.html Sent from the Revolution - User mailing list archive at Nabble.com. __

RE: The Fill color of a group

2012-02-01 Thread Christopher Bodell
Set the opaque property to true to make the color visible. > From: p...@mollysrevenge.com > Date: Wed, 1 Feb 2012 10:06:47 -0800 > Subject: The Fill color of a group > To: use-livecode@lists.runrev.com > > How do you set the fill (or perhaps background is a better term) color of a > group? I tr

The Fill color of a group

2012-02-01 Thread Pete
How do you set the fill (or perhaps background is a better term) color of a group? I tried the all the options available in the Colors tab of the inspector palette but they didn't have any effect. Thanks, -- Pete Molly's Revenge

Re: Compiled app using a LOT of processing power

2012-02-01 Thread Jan Schenkel
Hi Bob, There's a property for that :-) set the repeatCount of image "SpinningImage" to 0 -- stop looping HTH, Jan Schenkel. = Quartam Reports & PDF Library for LiveCode www.quartam.com = "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld)

Re: Compiled app using a LOT of processing power

2012-02-01 Thread Scott Rossi
I'm pretty sure hiding an animated GIF should prevent processor use, but if it doesn't, you can set the repeatCount property of the GIF image to 0. Don't know if this will solve your processor use issue though... Regards, Scott Rossi Creative Director Tactile Media, UX Design Recently, Bob Sne

Re: LiveCode to the rescue (once again)

2012-02-01 Thread Kurt Kaufman
"...But we are not supposed to be talking about this on this list right? :-)" Yes; I humbly request that we end this discussion of the relative merits of medical systems forthwith. To help ensure list efficiency, back to LiveCode, please. KK ___ us

Re: Compiled app using a LOT of processing power

2012-02-01 Thread Björnke von Gierke
GIFs don't, but LC does when you have them, or the mac os x default button visible. You can create animated images by setting the icon of a button in a loop to each frame, it's more code, but takes up almost no cpu when done right. On 01.02.2012, at 18:48, Bob Sneidar wrote: > Hi all. > >

Compiled app using a LOT of processing power

2012-02-01 Thread Bob Sneidar
Hi all. You may vaguely remember a thread about using a standalone as a kind of ad hoc animated dialog using Applescript commands? Well as it turns out that app while running is using 16% to 18% of my processor just sitting there with it's stack hidden! The only thing happening is the animated

Re: LiveCode to the rescue (once again)

2012-02-01 Thread Bob Sneidar
So is every social system we have created so far. If you want to see inefficient and wasteful, send yet more trillions of dollars to our federal government. But we are not supposed to be talking about this on this list right? :-) Bob On Feb 1, 2012, at 9:21 AM, Kurt Kaufman wrote: > Whatever

Re: LiveCode to the rescue (once again)

2012-02-01 Thread Kurt Kaufman
"Luckily, here in Bulgaria, as well as in Britain, we never have to face medical bills as we have socialised medicine; very civilised." Having lived in Belgium, in general I can vouch for the civility of the socialized medical system. However, I believe that physicians there still have to send

Re: LiveCode to the rescue (once again)

2012-02-01 Thread Richmond
On 02/01/2012 06:54 PM, Kurt Kaufman wrote: Had a call from a doctor who recently switched medical billers. Seems her new biller used software that did not display all of the fields in the caret-delimited text files ("iPlexus") that were sent as batched bills. It took just a few hours (and wou

LiveCode to the rescue (once again)

2012-02-01 Thread Kurt Kaufman
Had a call from a doctor who recently switched medical billers. Seems her new biller used software that did not display all of the fields in the caret-delimited text files ("iPlexus") that were sent as batched bills. It took just a few hours (and would have taken some on the list here far less t

Re: How does a command find out who called it?

2012-02-01 Thread Mark Schonewille
Hi Ken, You could use a different callback message for each control or include the id of the target in the data sent to the server and make the server return the id together with other data. I think that using a different callback for control is the easiest approach. -- Best regards, Mark Sch

Re: How does a command find out who called it?

2012-02-01 Thread Ken Corey
On 01/02/2012 16:04, Mark Schonewille wrote: send "someCallback" to the target in 0 millisecs Thanks, Mark, but I need the call from the other direction... Let's say I have a card "testing" in stack "wild". The stack script says: on openCard start using "minihttp.livecode" end openCard The

Re: RevBrowser -> IE Security Warning Workaround?

2012-02-01 Thread Roger Eller
On Wed, Feb 1, 2012 at 10:47 AM, Scott Rossi wrote: > Hi List: > > I'm trying to workaround a RevBrowser problem that has me stumped -- > specifically, IE's refusal to run HTML that contains Javascript without > throwing up an ActiveX security warning. Hoping someone has a creative > solution... >

Re: How does a command find out who called it?

2012-02-01 Thread Mark Schonewille
Hi Ken, Use this syntax: send "someCallback" to the target in 0 millisecs -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Download the Installer Maker Plugin 1.7

RevBrowser -> IE Security Warning Workaround?

2012-02-01 Thread Scott Rossi
Hi List: I'm trying to workaround a RevBrowser problem that has me stumped -- specifically, IE's refusal to run HTML that contains Javascript without throwing up an ActiveX security warning. Hoping someone has a creative solution... I have a LiveCode stack based on RevBrowser that uses HTML/Javas

How does a command find out who called it?

2012-02-01 Thread Ken Corey
I have some tiny http utility functions I'm using to do a 'get' on an iOS device. Up to now, I've had these functions in the same card as the handlers dealing with that card. Now I want to make them into a library. The problem I'm hvaing is that they are asynchronous: they require a callbac

Re: Squeezed Grapes

2012-02-01 Thread Richmond
On 02/01/2012 04:40 PM, Mark Schonewille wrote: Richmond, I don't agree on this with you. AFAIK RunRev nowhere says that their software works with WINE and WINE says that only specific software is compatible. I'm sorry, I got my wires crossed: I thought your response to my fooling around wit

Re: Squeezed Grapes

2012-02-01 Thread Mark Schonewille
Richmond, I don't agree on this with you. AFAIK RunRev nowhere says that their software works with WINE and WINE says that only specific software is compatible. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: htt

Re: [OT] Is this an extended joke?

2012-02-01 Thread Mark Schonewille
Richmond, These installers install the revWeb plugin, which allow a LiveCode app to run in the web browser. They are not that different from regular standalone engines. Inside the installer package for Mac OS Intel (and probably PPC), there is a file called payload. This is a zip file. Unzip it

Re: Squeezed Grapes

2012-02-01 Thread Richmond
On 02/01/2012 04:17 PM, Mark Schonewille wrote: Richmond, why do you keep trying? We know that it doesn't work. Even if you do get it to work, images won't render. Why don't you just forget about it? I'm perfectly prepared to forget about it if RunRev would; however their website is positivel

Re: [OT] Is this an extended joke?

2012-02-01 Thread Richmond
Further to the previous message, on visiting here: http://revweb.runrev.com/downloads.php I was able to download something called "LiveCodePlayer-R9" in various flavours which does suggest that they are something rather different from various things called "revWebInstaller" I was able to dow

[OT] Is this an extended joke?

2012-02-01 Thread Richmond
I went here: http://revweb.runrev.com/ and read this: "/The Linux edition of the revWeb Plugin is coming soon." and then this: "/Copyright RunRev Ltd 2009 All rights reserved." Oddly enough, rather like a persistent dog, I have been visiting that web-page on a monthly basis for ages and ages

Re: Squeezed Grapes

2012-02-01 Thread Mark Schonewille
Richmond, why do you keep trying? We know that it doesn't work. Even if you do get it to work, images won't render. Why don't you just forget about it? -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitte

Squeezed Grapes

2012-02-01 Thread Richmond
For those of you who care about this sort of thing: Attempting to install Livecode/RunRev 4.0 for Windows under WINE 1.4 rc-1 gets nowhere. Attempting to install Livecode/RunRev 4/5 - dp 4 under WINE 1.4 re-1 works, but, then Livecode/RunRev does not run. Just in case anybody, other than mys

Re: database write error

2012-02-01 Thread Bernard Devlin
Perhaps I am misunderstanding the problem here. I am a great fan of the concept of merge. And it is certainly possible to use merge() to produce the list of fields with each field value enclosed by either single or double quotes. It just requires a litte indirection. (I've put some arbitrary va