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...
Getting nowhere choosing browse tool
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
-
- VIP Livecode Opensource Backer
- Posts: 2262
- Joined: Thu Feb 28, 2013 11:52 pm
- Location: Göttingen, DE
Re: Getting nowhere choosing browse tool
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
shiftLock happens
Re: Getting nowhere choosing browse tool
It works!!!! Thank you so much.
-
- VIP Livecode Opensource Backer
- Posts: 9658
- Joined: Wed May 06, 2009 2:28 pm
- Location: New York, NY
Re: Getting nowhere choosing browse tool
Hi.
Craig Newman
Do you mean that you want to prevent the user from setting the cantModify property to "true"? Is the user working in the IDE?I also want to be able to modify this stack so cantmodify is not an option.
Craig Newman