Re: DoMenu (enter layout mode)- In FileMaker
Re: DoMenu (enter layout mode)- In FileMaker
- Subject: Re: DoMenu (enter layout mode)- In FileMaker
- From: Dave Stewart <email@hidden>
- Date: Tue, 16 Nov 2004 08:50:56 -0800
On Nov 16, 2004, at 7:35 AM, Xandra Lee offered this insight:
On 11/10/04 8:21 PM, "Malcolm Fitzgerald" <email@hidden> wrote:
Malcolm,
Thanks for the response. Assume this Panther only.
Will move to Panther eventually:
- is this technique considerably faster than running from an Applet?
Also curious why you need to "tell process..." (as compared to app")
xandra
In OS X you might try system events, don't forget to turn on "use
assistive devices" in the Universal Assistance prefs pane.
tell application "FileMaker Pro" to activate
tell application "System Events"
tell process "Filemaker Pro"
keystroke "l" using command down
end tell
end tell
Xandra
I'm sure Malcolm has already answered this (I'm on digest mode, so I'm always late), but a couple of things I wanted to point out just in case ...
This script snippet will require Panther to run [1]. You mentioned you will move to Panther eventually, so this should be made clear. This script will NOT work on older versions of OS X [1].
The "tell process ..." stuff is how GUI scripting works. Digging up the URLs ...
GUI Scripting:
<http://www.apple.com/applescript/uiscripting/>
Examples:
<http://www.apple.com/applescript/uiscripting/03.html>
[1] - There is an exception to every rule and this is no exception. GUI scripting officially came out included in Panther, but there was a beta of it for Jaguar. Apple doesn't seem to have an active link to it any longer, but I found the old URL where it's located in case you just absolutely positively have to have it:
<
http://www.apple.com/applescript/GUI/UIscriptingbeta.sit>
HTH!
Dave Stewart
Aqua~Flo Supply (Goleta CA)
dstewart at aquaflo dot com
Be nice to other people; they outnumber you 5.6 billion to 1
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden