• 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: Paths
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Paths


  • Subject: Re: Paths
  • From: Devon and Cornwall <email@hidden>
  • Date: Wed, 28 Feb 2001 13:39:15 -0800

>I am writing an script that allows a user to choose a folder from a
>set of folders that reside on our network. Within that folder, there
>will be fonts folder and a Quark file. How can I tell Suitcase and
>Quark to open the files within the folder chosen. I am having alot
>of difficulty defining the path and then directing my applications
>to that path. Any help would be great.

Usually, you say something like this:

set someFolder to ((choose folder) as string)
tell application "Some App"
open alias (someFolder & "myFile")
end tell

HTH
Devon and Cornwall
--Never wear brown shoes with a blue suit.


  • Prev by Date: Re: Breaking AS
  • Next by Date: Re: I want to convert a list of integers to their negative self
  • Previous by thread: archives
  • Next by thread: Re: I want to convert a list of integers to their negative self
  • Index(es):
    • Date
    • Thread