• 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: Pathnames and opening files
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Pathnames and opening files


  • Subject: Re: Pathnames and opening files
  • From: "Mark J. Reed" <email@hidden>
  • Date: Mon, 25 Feb 2008 13:50:01 -0500

On Mon, Feb 25, 2008 at 1:18 PM, Justin Laden <email@hidden> wrote:
> I want the user to put a file in that folder, and no matter what the
>  user names the file, I want my script to open it.

Yes, but what do you want to happen if the user puts more than one
file in the folder?

>  Is there a way to combine the path to desktop command you suggest with
>  another folder?
>
>  For example:
>
>  path to desktop:folder 1

set theFolder to ((path to desktop folder as text) & "folder 1") as alias


--
Mark J. Reed <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

References: 
 >Pathnames and opening files (From: "Justin Laden" <email@hidden>)
 >Re: Pathnames and opening files (From: "Mark J. Reed" <email@hidden>)
 >Re: Pathnames and opening files (From: "Justin Laden" <email@hidden>)

  • Prev by Date: Word Insert/Save
  • Next by Date: Re: Play sound?
  • Previous by thread: Re: Pathnames and opening files
  • Next by thread: Re: Pathnames and opening files
  • Index(es):
    • Date
    • Thread