• 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
Convert Terminal commands to Apple Script
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Convert Terminal commands to Apple Script


  • Subject: Convert Terminal commands to Apple Script
  • From: Jeffrey Madson <email@hidden>
  • Date: Tue, 7 Dec 2010 13:00:34 -0600

I want to create an AppleScript that will issue a Terminal command to a specific folder in the Applications folder. I can do it in Terminal by doing a: cd Applications/hp/ca/agent and then by inserting this command and hitting return: ./Radskman "CAT=PROMPT,ULOGON=N,CONTEXT=M,HREBOOT=Y,ASK=Y,MNAME=RADIA,DNAME=SOFTWARE,IP=RRWIN-CAET01,UID='&(ZCONFIG.DNSHOSTN)',STARTDIR=SYSTEM,LOG=CONNECT_MACHINE.LOG,LOGSIZE=2048000,COP=Y,MNT=Y"

I tried recreating it in AppleScript by just inserting: do shell script in front of each line but that doesn't work. Any suggestions would be much appreciated as always.

________________________________________________________________________
Jeffrey Madson
RR Donnelley Desktop Engineering
Email: email@hidden

 _______________________________________________
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: Convert Terminal commands to Apple Script
      • From: Deivy Petrescu <email@hidden>
    • Re: Convert Terminal commands to Apple Script
      • From: Alex Zavatone <email@hidden>
  • Prev by Date: Re: text 1 thru the result
  • Next by Date: Re: Convert Terminal commands to Apple Script
  • Previous by thread: Re: Script to Ping the list of IP/Hostnames and export it in a file
  • Next by thread: Re: Convert Terminal commands to Apple Script
  • Index(es):
    • Date
    • Thread