• 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: "Stockly, Ed" <email@hidden>
  • Date: Mon, 25 Feb 2008 11:05:27 -0800
  • Thread-topic: Pathnames and opening files

>>>>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.


Have you considered attaching an appleScript to the folder.

You can trigger it to work whenever a new file or files are added to the
folder and it will work only on the files added.


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

For example:

path to desktop:folder 1

set myDesktop to ((path to desktop) as string) & "Any Folder Name"

set myDesktop to ((path to desktop) as string) & "folder 1"

HTH

ES

 _______________________________________________
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

  • Prev by Date: Re: Play sound?
  • Next by Date: Re: Pathnames and opening files
  • Previous by thread: Re: Pathnames and opening files
  • Next by thread: More questions about scripting iPhoto
  • Index(es):
    • Date
    • Thread