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

Pathnames and opening files


  • Subject: Pathnames and opening files
  • From: "Justin Laden" <email@hidden>
  • Date: Mon, 25 Feb 2008 12:26:54 -0500

Is there a way to reference a pathname without being specific to the
user OR the file?  For example,  I wrote a script with this code:

open text file filename ¬
			"Macintosh HD:Users:JJOHN:desktop:prints:printerlog.log" data type
delimited with tab

I want this line of code to

1. work for any user, not just JJOHN

and

2. open any file that is in the "prints" folder.

Is there a way to do 1 or 2?

Thanks!

-Justin
 _______________________________________________
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: Pathnames and opening files
      • From: Michelle Steiner <email@hidden>
    • Re: Pathnames and opening files
      • From: "Mark J. Reed" <email@hidden>
  • Prev by Date: Re: osascript broken?
  • Next by Date: Re: Pathnames and opening files
  • Previous by thread: Re: osascript broken?
  • Next by thread: Re: Pathnames and opening files
  • Index(es):
    • Date
    • Thread