• 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: passing shell script arguments?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: passing shell script arguments?


  • Subject: Re: passing shell script arguments?
  • From: Steve Mills <email@hidden>
  • Date: Thu, 2 Oct 2003 17:13:46 -0500

On Thursday, Oct 2, 2003, at 16:47 US/Central, Star wrote:

So, I placed an:

open TestFile
open FileLog

right before the syntax you gave and both were opened fine.

Opened by what? What's the target of those commands? Are they telling the Finder to open them? Or the current "tell" target"? Or are they the Unix "open" command?

My question is, should it be a file or an alias? So, if these
variables to the files open like that above, then passing them
through the syntax you provided should be working?
Or, should the variable be working with:

open alias TestFile
open alias FileLog

Yes, if you're telling the Finder (or the current target of the script) to open those files. I ran this:

open alias "Gort:Users:sjmills:.tcshrc"

and the file was opened by Script Debugger.

Steve Mills
Drummer, Mac geek
http://sjmills5.home.mchsi.com/
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: mounting a server
  • Next by Date: Re: mounting a server
  • Previous by thread: Re: passing shell script arguments?
  • Next by thread: Re: passing shell script arguments?
  • Index(es):
    • Date
    • Thread