• 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: Akua display selector (again)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Akua display selector (again)


  • Subject: Re: Akua display selector (again)
  • From: email@hidden
  • Date: Tue, 27 Mar 2001 22:16:54 EST

On 3/25/01 Laine Lee wrote:



>It's not broken after all, I think.

>While it doesn't seem to do what you want in the Finder, put a text file in

>your Documents folder and try:


>tell application "SimpleText" -- or whatever (except Finder, I guess)

> activate

> display selector from (path to startup disk as string) & ,

> "Documents:" of type "TEXT" with prompt "Open" for file ,

> without navigation services and invisibles

> set mychoice to result

> open mychoice

>end tell


Maybe so, but I'm trying to select a folder, not a document. And, if it
matters, it doesn't seem to work in Quark Xpress:

tell application "QuarkXPress"
activate
set thePath to (get file path of document 1)
display selector for folder from thePath with prompt "Pick a folder"
without navigation services
end tell

I was expecting "for folder" to display a "choose folder" dialog, not a
save-as. And the "from thePath" to set the default to whatever directory
contains the current document. Either I'm doing it wrong or both these
functions are broken.


  • Prev by Date: Re: new applescript book
  • Next by Date: Editor de Scripts
  • Previous by thread: Thanx for the Help for the Quark stuff. Finally got it to work!!!
  • Next by thread: Editor de Scripts
  • Index(es):
    • Date
    • Thread