Re: advise about "go invisible stack URL"

2008-07-09 Thread Thomas McGrath III

Nicolas,

You could either add the set visible code to your "open" command if  
you are opening by script as in:

open stack "helloWorld"
set the visible of stack "helloWorld"

Or if you 'have' to have it visible then you might want to open the  
stack off screen as a 'visible' stack instead of the "go invisible  
stack" then it will be still visible on opening! You still might have  
to have a script in the stack to open at screen center after saving so  
that when you reopen it then it won't still be off screen.


Tom McGrath

On Jul 9, 2008, at 8:30 PM, Nicolas Cueto wrote:

 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"

There must be a way of doing all
this without the invisibly-reopening
problem, but I've yet to figure out
a way how.

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


advise about "go invisible stack URL"

2008-07-09 Thread Nicolas Cueto
Hello,

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
to true.

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.

Thank you.

--
Nicolas Cueto
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution