• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: System Events - Selecting a Folder
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: System Events - Selecting a Folder


  • Subject: Re: System Events - Selecting a Folder
  • From: Ian Goos <email@hidden>
  • Date: Mon, 22 Sep 2008 11:05:03 -0400

Dave,
Perhaps you can continue using System Events to keystroke command +shift+G for "Go To Folder" followed by keystroking the desired path finishing up with a return. You might need to throw in a delay here and there but with some testing it should be pretty straightforward.
I don't know if every program supports the Go To Folder mechanism but I think it is universal to the OS, at least in 10.4 +


Good luck
Ian

On Sep 22, 2008, at 8:38 AM, Dave wrote:

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?

Thanks a lot for your help.

All the Best
Dave

_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (applescript- email@hidden)
Help/Unsubscribe/Update your Subscription:
40link33.com
Archives: http://lists.apple.com/archives/applescript-users


This email sent to email@hidden

_______________________________________________ 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
  • Follow-Ups:
    • Re: System Events - Selecting a Folder
      • From: Dave <email@hidden>
References: 
 >System Events - Selecting a Folder (From: Dave <email@hidden>)

  • Prev by Date: Re: System Events - Selecting a Folder
  • Next by Date: Google - Imap - Mail Problem
  • Previous by thread: Re: System Events - Selecting a Folder
  • Next by thread: Re: System Events - Selecting a Folder
  • Index(es):
    • Date
    • Thread