Re: System Events - Selecting a Folder
Re: System Events - Selecting a Folder
- Subject: Re: System Events - Selecting a Folder
- From: KOENIG Yvan <email@hidden>
- Date: Mon, 22 Sep 2008 14:51:36 +0200
Le 22 sept. 2008 à 14:38, Dave a écrit :
Hi All,
I have an application that is not scriptable, I have used System
Events to select a "Save as Special..." menu item. This works fine
but the application puts up a standard Choose Folder dialog in
order to select the folder to store the file. I can keystroke a
"return" and this works too to select the current folder path, but
the folder path is not guaranteed to be where I need it to be, e.g.
it could be pointing to anywhere on the hard disk(s). I need the
file(s) save in a specific place so as to do Script processing on
the resultant files.
Is there any way I can select the correct folder in the application
before I send the "return" keystroke?
I don't know which is the used application.
Some of them uses aa a default folder the last one used to save a
document.
If you always use the app to store in a given folder, you will get
the file where you wish.
If the folder may change, I assumes that you may change the default
path in the program's preferences file.
If you must do that, you will probably be force to quit the program
then restart it so that it grabs the new default folder.
Yvan KOENIG (from FRANCE lundi 22 septembre 2008 14:48:32)
_______________________________________________
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