opening stack "revStandaloneSettings" in a script [was:error in test contion

Mark Schonewille m.schonewille at economy-x-talk.com
Thu Nov 7 12:09:33 EST 2013


Richard,

This is the correct syntax:

send "revStandaloneSettings" && quote & the short name of \
    the topStack & quote to stack "revStandaloneSettings"

You could replace the short name of the topStack with the short name of 
the mainstack of your project.

--
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 Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other 
colour spaces. http://www.color-converter.com

Buy my new book "Programming LiveCode for the Real Beginner" 
http://qery.us/3fi

Fill out this survey please
http://livecodebeginner.economy-x-talk.com/survey/

On 11/7/2013 17:36, Dr. Hawkins wrote:
> I think I need to take another tack in all of this.
>
> stack "revStandaloneSettings" is part of the IDE.  But when I try to open
> it,
> it does indeed open--but causes an error.  So I have the window open, but
> the script bombs out.
>
> I've even tried setting the defaultStack to  "revStandaloneSettings", but
> this doesn't add it to the openStacks.
>
> So how do I get the stack open so that I can modify it?  (and as an aside,
> I think it would make more sense to have version numbers and such be
> properties that can use "set the . . ." type syntax, rather than loading
> fields sending messages to them . . .
>




More information about the use-livecode mailing list