Re: System Events not working
Re: System Events not working
- Subject: Re: System Events not working
- From: John Delacour <email@hidden>
- Date: Mon, 7 Apr 2003 19:40:07 +0100
- Mac-eudora-version: 6.0a14
At 2:11 pm -0400 7/4/03, Robert C. Jacobson wrote:
tell application "System Events"
tell process "Finder"
tell menu bar 1
click menu item "Minimize Window" of menu "Window"
end tell
end tell
end tell
Am I missing something real basic here?
It works fine here, provided you bring the Finder to the front first,
and you can do the whole thing more economically like this:
tell app "System Events" to tell process "Finder"
set frontmost to true
keystroke "m" with command down
end
--JD
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.