• 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: Star <email@hidden>
  • Date: Thu, 2 Oct 2003 17:51:15 -0500 (GMT-05:00)

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

That was in a tell finder block, so it is a file spec right?
I'm wondering if that variable as passed to the syntax

quoted form of posix path TestFile

is best to be passed as file, or file as text. Currently I
understand it as file? so when I say

tell application "finder"
open TestFile
end tell

The file opens in its native app just fine. This, i think,
is proper use of that syntax and I have verified the
path is good. Both paths are good.

The script is asking for its arguments, so looks like the
way I read it into a property is OK, it's just not
coming together for some reason and I
don't know why.
_______________________________________________
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: Re: mounting a server
  • Next by Date: Re: passing shell script arguments?
  • Previous by thread: Re: passing shell script arguments?
  • Next by thread: Re: passing shell script arguments?
  • Index(es):
    • Date
    • Thread