advise about "go invisible stack URL"
niconiko at gmail.com
Wed Jul 9 20:30:45 EDT 2008
In a standalone I want to include an
update feature that downloads a
stack. This means I am now learning
how to use the "go stack URL" command.
My basic goal is to download a stack,
do some changes to it, save it, and then
close it -- all without the user seeing that
downloaded stack throut any of those stages.
After experimenting, this is what kind of
worked for me:
put "http://web.com/helloWorld.rev" into tURL
go invisible stack URL tURL
put "hello" into field "field" of stack "helloWorld"
save stack "helloWorld"
close stack "helloWorld"
I say "kind of" because the stack
got downloaded, modified, saved
and closed no problem, but, when
I later reopened that downloaded
stack in Rev it was not visible. To
see it, I had to set use the message
box to set the stack's visible property
There must be a way of doing all
this without the invisibly-reopening
problem, but I've yet to figure out
a way how.
Advise would be welcome.
More information about the use-livecode