How do I set the focus to the Icon of the Information Window ?
How do I set the focus to the Icon of the Information Window ?
- Subject: How do I set the focus to the Icon of the Information Window ?
- From: Emile Schwarz <email@hidden>
- Date: Sat, 08 Oct 2011 12:36:02 +0200
Hi,
Mac OS X 10.6.8
What I want to do is been able to set a custom icon using AppleScript. I
have troubles with the part below:
I used the AppleScript below to get the properties of the Get
Information window. I determined elsewhere that there is two UIelements
images.
tell application "System Events"
tell process "Finder"
-- Keyboard shortcut
set fw to front window
-- Give me some info
return {name of fw & return, properties of image 0 of fw}
end tell
end tell
I activated the Get Information on a test target folder,
Run the script,
Copy the result and paste it in a TextEdit document.
I do the same for image 1 and compare the two results.
1. Why the two images size are 16 x 16 ?
One have to be larger (the folder icon)
The other is certainly the grow winfow icon.
2. I then clicked in the folder Icon (in the Information window) and run
the script:
No change at all with the previous run (icon not selected / not
focused).
Bug ?
I've done an error ?
Thanks to give your input on that one,
Emile
_______________________________________________
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