Re: System Events scripting of Finder window
Re: System Events scripting of Finder window
- Subject: Re: System Events scripting of Finder window
- From: kai <email@hidden>
- Date: Fri, 16 Mar 2007 21:35:41 +0000
On 16 Mar 2007, at 18:32, Doug McNutt wrote:
I tried this code with a bunch or textual changes and guesses. No
version has worked.
tell application "Finder"
activate window "Transfer"
end tell
tell application "System Events"
tell process "Finder"
click menu item "by Date Modified" of menu "Arrange" of menu
item "Arrange" of menu "View" of menu bar ""
end tell
end tell
Try something like this, Doug:
--------------------
activate application "Finder"
tell application "System Events" to tell application process "Finder"
perform action "AXRaise" of window "Transfer"
click menu item "Date Modified" of menu 1 of ¬
menu item "Arrange By" of menu 1 of ¬
menu bar item "View" of menu bar 1
end tell
--------------------
My menu names seem to differ slightly from yours, so you may need to
adjust the code slightly - but hopefully the general structure will
be close...
---
kai
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden