• 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
Placing a new Unix command inside me
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Placing a new Unix command inside me


  • Subject: Placing a new Unix command inside me
  • From: Gil Dawson <email@hidden>
  • Date: Sun, 02 Oct 2016 10:48:21 -0700

Hello--

I wish to use a new Unix command "hmscreens" in my script.  

This works...

set hms to (path to home folder as text) & "UnixBins:hmscreens"
do shell script quoted form of POSIX path of hms & " -info"

...provided I put the newly downloaded command in that (newly created) folder.

However, I found another posting about that command...

set hms to (path to me as text) & "Contents:Resources:hmscreens"
do shell script quoted form of POSIX path of hms & " -info"

...which suggests to me that the poster put that command inside his script. 

How might he have put it there?

--Gil
 _______________________________________________
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: Placing a new Unix command inside me
      • From: Shane Stanley <email@hidden>
  • Prev by Date: cd to applet folder is weird in Sierra
  • Next by Date: Re: Placing a new Unix command inside me
  • Previous by thread: cd to applet folder is weird in Sierra
  • Next by thread: Re: Placing a new Unix command inside me
  • Index(es):
    • Date
    • Thread