Hi Rich,
try this:
send "selectMyField" to this stack in 100 milliseconds
then:
on selectMyField
select the text of field "find"
end selectMyField
You can tweak the 100 milliseconds up or down depending on the wait.
best,
Chipp
Rich Lague wrote:
I have been trying to create a standalone that will open with a field
already selected. I also want the stack to open to a random card. The
application is the kind with a 'splash screen' main stack.
I have tried several approaches between putting commands in
preOpenStack or in openStack. The script below opens the Rev stack to a
random card, but once it is compiled into a standalone app it only opens
to the first card. It also does not put "find" into the find field, and
the text is not selected. I have put "select the text of field "find""
in the openCard handler of the stack. So, when a new card is opened the
text of the find field is selected. But it does not work when the
standalone is opened. What am I doing wrong?
Thanks so much!
Rich Lague
on openStack
-- lock screen
put random(the number of cds) into aNum
go cd aNum
-- go cd (aNum + 1)
put "find" into field "find"
select the text of field "find"
-- unlock screen
end openStack
_______________________________________________
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