Page 1 of 1

Getting nowhere choosing browse tool

Posted: Thu Sep 22, 2016 4:58 am
by david_fff
This seems so simple but I am getting nowhere. When I double click on my stack in the Finder, I want it on opening to automatically switch to the browse tool from the pointer tool
so I edit its script:
On openstack
choose browse tool
end openstack

but it will not switch to the browse tool until I do it manually from the menu. It also works if I type a message in the message box.
I also want to be able to modify this stack so cantmodify is not an option.

Any hints? Thanks...

Re: Getting nowhere choosing browse tool

Posted: Thu Sep 22, 2016 5:16 am
by [-hh]
LC needs a small amount of time do to first its 'own things', so we go into the event queue.

Code: Select all

on openstack
    send "choose browse tool" to me in 1 tick
end openstack

Re: Getting nowhere choosing browse tool

Posted: Thu Sep 22, 2016 5:45 am
by david_fff
It works!!!! Thank you so much.

Re: Getting nowhere choosing browse tool

Posted: Thu Sep 22, 2016 2:00 pm
by dunbarx
Hi.
I also want to be able to modify this stack so cantmodify is not an option.
Do you mean that you want to prevent the user from setting the cantModify property to "true"? Is the user working in the IDE?

Craig Newman