Selecting a folder from the sidebar in a save dialog
Selecting a folder from the sidebar in a save dialog
- Subject: Selecting a folder from the sidebar in a save dialog
- From: Jim Brandt <email@hidden>
- Date: Tue, 11 May 2010 12:25:17 -0500
My primary computer is a G4 running Tiger 10.4.11. I have several scripts that open a URL in Safari and save the source of that page as a text file (with extension .HTML) so I can search the text using a text editor. I store the source in a folder that is shown in the sidebar of the save dialog and is clickable via GUI scripting using the following line:
click button "To_Be_Sent" of list 1 of scroll area 1 of splitter group 1 of group 1 of sheet 1 of window w_Name
("To_Be_Sent" is the name of the folder)
I obtained a Mac Book this weekend that is running Snow Leopard. The script is broken at the point where I'm trying to select the folder from the sidebar in the save dialog.
What is the easiest way to select a sidebar item in a save dialog under Snow Leopard?
Is the a "standard" way to do this or do I need to test OS version numbers to code different methods in the same script.?
TIA,
Jim Brandt
|
_______________________________________________
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