• 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: Michelle Steiner <email@hidden>
  • Date: Mon, 25 Feb 2008 11:13:42 -0700

On Feb 25, 2008, at 10:26 AM, Justin Laden wrote:

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

Instead of "Macintosh HD:Users:JJOHN:desktop:prints:printerlog.log" use this:


(path to desktop as text) & "prints:printerlog.log"

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


What do you mean by "any file"? Will there be only one file at a time? Will the user have to choose which file from more than one? Do you mean all files?

-- Michelle

--
If there's nothing that offends you in your community, then you know you're not living in a free society.
Kim Campbell - former Prime Minister of Canada


_______________________________________________
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>)

  • Prev by Date: Re: Pathnames and opening files
  • Next by Date: Re: Pathnames and opening files
  • Previous by thread: Re: Pathnames and opening files
  • Next by thread: Re: Pathnames and opening files
  • Index(es):
    • Date
    • Thread