Re: How do I send variables from substack to mainstack?

2012-01-21 Thread Bill Vlahos
Craig, Perfect. Thank you. Bill Vlahos On Jan 21, 2012, at 10:16 PM, dunb...@aol.com wrote: > Just syntax. > > > send "importPds vMap,fSource" to card "Notes" of stack "CallingStack" in 0 > seconds > > > messages and their parameters take the form: message param1,param2,param3,etc. > > >

Re: Constrained grab

2012-01-21 Thread Richmond
On 01/22/2012 06:02 AM, Bob Sneidar wrote: Oh, it was the blob that threw me. I was certain that LC did not provide a "blob" object. :-) No, it doesn't; hence the quotes. I was using an image that, in a fit of creativity, I called "blob". Bob On Jan 21, 2012, at 1:27 PM, Richmond wrote:

Re: How do I send variables from substack to mainstack?

2012-01-21 Thread dunbarx
Just syntax. send "importPds vMap,fSource" to card "Notes" of stack "CallingStack" in 0 seconds messages and their parameters take the form: message param1,param2,param3,etc. LC has to be able to evaluate the argument(s) of the "send" command to follow this form. Craig Newman -Origi

How do I send variables from substack to mainstack?

2012-01-21 Thread Bill Vlahos
I have a handler (importPds) on a card in the main stack that I want to send data to from a substack. I set the calling stack name to a global CallingStack. vMap and fSource are variables to pass back to the importPds handler on the card. The following line from an open substack gives an error

Re: Windows Special Folders

2012-01-21 Thread Bob Sneidar
Duly bookmarked. Dang we have some talented people on this list! Bob On Jan 21, 2012, at 12:39 PM, J. Landman Gay wrote: > On 1/21/12 1:50 PM, Pete wrote: > >> Am I right in choosing the APPDATA (0x001A) folder as the place to store >> Preferences files? > > Bookmark Ken's fantastic site reso

Re: Constrained grab

2012-01-21 Thread Bob Sneidar
Oh, it was the blob that threw me. I was certain that LC did not provide a "blob" object. :-) Bob On Jan 21, 2012, at 1:27 PM, Richmond wrote: > On 01/21/2012 10:30 PM, Bob Sneidar wrote: >> Richmond has been imbibing again... >> >> > > Not so: > > on mouseDown > set the idleRate to 0 >

iOS Scrolling: Setting the scroll values

2012-01-21 Thread Charles E Buchwald
Hi List, I'm having a hard time figuring out how to set the scroll of an iOS scroller. I have big image "Map" and a 20 x 20 graphic named "Marker" in the scrolling group. I'd like to set the scrolling of the such that "Marker" is centered in the window when the card opens. So I thought to do it l

StdOut on Windows

2012-01-21 Thread Mark Schonewille
Hi, I have to make a small utility for a visually impaired person. Since LiveCode is completely incompatible with any screenreader, contrary to RealStudio, which is fully compatible with most screenreaders, I was thinking about creating a command line utility before deciding to do this project

Re: Constrained grab

2012-01-21 Thread dunbarx
Drinking aside, get item 2 of the loc of your target object on mouseEnter. Put it into a custom prop of that object. Write a mouseMove handler that sets the loc of the target to item 1 of the mouseLoc & "," & the property. Craig -Original Message- From: Richmond To: How to use LiveC

Re: Windows Special Folders

2012-01-21 Thread Pete
Indeed, VERY useful stuff! Thanks Ken (and Jacque for pointing me to it). On Sat, Jan 21, 2012 at 12:39 PM, J. Landman Gay wrote: > On 1/21/12 1:50 PM, Pete wrote: > > Am I right in choosing the APPDATA (0x001A) folder as the place to store >> Preferences files? >> > > Bookmark Ken's fantastic

Re: Constrained grab

2012-01-21 Thread Richmond
On 01/21/2012 10:30 PM, Bob Sneidar wrote: Richmond has been imbibing again... Not so: on mouseDown set the idleRate to 0 grab me end mouseDown on mouseStillDown set the loc of me to (item 1 of the loc of me, 250) end mouseStillDown try it! admittedly one's object does perform a sli

Re: Windows Special Folders

2012-01-21 Thread J. Landman Gay
On 1/21/12 1:50 PM, Pete wrote: Am I right in choosing the APPDATA (0x001A) folder as the place to store Preferences files? Bookmark Ken's fantastic site resource: And then look at this entry, which I depend on constantly:

Re: Constrained grab

2012-01-21 Thread Bob Sneidar
Richmond has been imbibing again... Bob Sneidar IT Manager Calvary Chapel CM Sent from iPhone On Jan 21, 2012, at 12:11, Richmond wrote: > I have a "blob" that contains this script: > > on mouseDown > grab me > end mouseDown > > so I can move the "blob" around . . . > > HOWEVER I want to so

Re: Windows Special Folders

2012-01-21 Thread Pete
Thanks. On Sat, Jan 21, 2012 at 12:11 PM, Matthias Rebbe < matthias_livecode_150...@m-r-d.de> wrote: > YesAPPDATA\{DeveloperName\AppName is the place where to store > application settings. > > > Am 21.01.2012 um 20:50 schrieb Pete: > > > Thanks Matthias, that link does seem to work, must have

Re: Opening a Supercard file in Livecode?

2012-01-21 Thread Bob Sneidar
This is a great example of the application of reducing a stack to a text file which defines a stack, which has been discussed in this forum before. Trouble is, there isn't a huge demand for it. Bob Sneidar IT Manager Calvary Chapel CM Sent from iPhone On Jan 21, 2012, at 10:11, "J. Landman Gay

Re: Windows Special Folders

2012-01-21 Thread Matthias Rebbe
YesAPPDATA\{DeveloperName\AppName is the place where to store application settings. Am 21.01.2012 um 20:50 schrieb Pete: > Thanks Matthias, that link does seem to work, must have copy/pasted wrong. > > Am I right in choosing the APPDATA (0x001A) folder as the place to store > Preferences

Constrained grab

2012-01-21 Thread Richmond
I have a "blob" that contains this script: on mouseDown grab me end mouseDown so I can move the "blob" around . . . HOWEVER I want to somehow constrain the GRAB so that I can only drag the "blob" laterally. [Don't blame me; blame George Brackett . . . ] Richmond. ___

Re: Retrieve irev Value in Javascript?

2012-01-21 Thread Pierre Sahores
In case of JSON, we have to remember the swiss-made Mark Smith libJson 1.0.1b contribution. In memory... Thanks to him Pierre Le 21 janv. 2012 à 15:31, Peter W A Wood a écrit : > Scott > > I believe one way around the "same-origin" issue is to return a valid > JavaScript script (basically dat

Re: Windows Special Folders

2012-01-21 Thread Pete
Thanks Matthias, that link does seem to work, must have copy/pasted wrong. Am I right in choosing the APPDATA (0x001A) folder as the place to store Preferences files? Pete On Sat, Jan 21, 2012 at 11:24 AM, Matthias Rebbe < matthias_livecode_150...@m-r-d.de> wrote: > Pete, > > the link in the di

Re: Windows Special Folders

2012-01-21 Thread Matthias Rebbe
Pete, the link in the dictionary works for me http://vbnet.mvps.org/index.html?code/browse/csidlversions.htm Regards, Matthias Am 21.01.2012 um 18:43 schrieb Pete: > The link in the dictionary to a web page that explains CSIDLs is broken. > Can anyone point me to a source for this info? > >

Almost there!

2012-01-21 Thread Pete
Hi Jacque, I think I have everything working fine with Zygodact but things are not quite right if the user buys the product before the demo has expired so lookin g for your guidance on that. Right now, I only call zygodact if the demo has expired. I also provide a way for the user to bring up the

Re: Opening a Supercard file in Livecode?

2012-01-21 Thread J. Landman Gay
On 1/21/12 6:53 AM, Richmond wrote: Does anybody know whether this is possible? No, not possible. You could export the scripts in SC, rebuild the stack in LiveCode, and paste the scripts into the new stack. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software

Windows Special Folders

2012-01-21 Thread Pete
The link in the dictionary to a web page that explains CSIDLs is broken. Can anyone point me to a source for this info? I'm interested in general but specifically I'm wondering what the Windows convention is for files that on a Mac would go in either ~/Library/Application Support and ~/Library/Pr

Re: Application quit on OS X

2012-01-21 Thread Pete
Good idea, thanks Jacque. On Fri, Jan 20, 2012 at 10:06 PM, J. Landman Gay wrote: > On 1/20/12 11:57 PM, Pete wrote: > > The problem is, I want toc lose the stack but leave the application >> running. If I pass closeStackRequest, I believe the app will quit >> (Standalone) and if I don't pass i

Re: Retrieve irev Value in Javascript?

2012-01-21 Thread Peter W A Wood
Scott I believe one way around the "same-origin" issue is to return a valid JavaScript script (basically date in JSON format) and dynamically generated a script tag for it. This is known as JSON-P. Most of the JavaScript frameworks have JSON-P support. JQuery seems to be the most popular ( htt

Opening a Supercard file in Livecode?

2012-01-21 Thread Richmond
Does anybody know whether this is possible? ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Retrieve irev Value in Javascript?

2012-01-21 Thread Pierre Sahores
Le 21 janv. 2012 à 09:50, Scott Rossi a écrit : > > I came across both of your scripts after posting my message, only to realize > they won't work for me because my page that is calling the irev script is > not located on the irev server. And apparently XMLHttpRequest doesn't work > across domai

Re: Retrieve irev Value in Javascript?

2012-01-21 Thread Scott Rossi
Thanks Pierre. I came across both of your scripts after posting my message, only to realize they won't work for me because my page that is calling the irev script is not located on the irev server. And apparently XMLHttpRequest doesn't work across domains. Unfortunately I have no control over th

Re: Retrieve irev Value in Javascript?

2012-01-21 Thread Pierre Sahores
Scott, One simple way to go is to add one of the following AJAX functions to your code to let it interact as needed with the irev part of your app : 1.- without using the JQuery framework : function sendPostData(url, data) { // sans jquery ok : deb // var xhr_object = null;