Displaying 'Get Info'.
Displaying 'Get Info'.
- Subject: Displaying 'Get Info'.
- From: email@hidden
- Date: Wed, 2 Jul 2003 09:12:20 -0400
Here is the Code:
tell application "Finder"
select folder named "MacOS X Stuff:Documents:MacSOUP II:Incoming
News:"
end tell
tell application "System Events"
tell process "Finder"
click menu item "Get Info" of menu "File" of menu bar 1
end tell
end tell
-----
When executed, the Folder 'Incoming News' is selected; but, the 'Get Info' Window is not displayed.
If I manually click on the Window displaying the 'MacSOUP' Contents, which then brings 'Finder' [and its related Menu Bar of Menus] to the foreground, and then click anywhere along the Menu Bar, only then will the 'Get Info' Window for 'Incoming News' be displayed.
-----
Once placed 'activate' after the 'tell process "Finder"'.
Placed 'click menu bar 1' before 'click menu item "Get Info" of menu "file" of menu bar 1'.
Even tried 'keystroke "i" with command down' in place of 'click menu item "Get .... bar 1'.
Even moved the 'end tell' of 'tell application "Finder"' after the end of the Code.
Nothing worked.
-----
Any suggestion(s) would be appreciated.
Thank you.
--
Samuel
_______________________________________________
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.