• 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: how to refer to environment variable in a Terminal do script?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how to refer to environment variable in a Terminal do script?


  • Subject: Re: how to refer to environment variable in a Terminal do script?
  • From: Skeeve <email@hidden>
  • Date: Fri, 30 Nov 2007 21:24:43 +0100

osascript <<'END OF SCRIPT'
   tell app "Terminal"
       activate
       do script "export DISPLAY=:0.0;/path/to/toolToRun"
   end tell
END OF SCRIPT

_______________________________________________
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: how to refer to environment variable in a Terminal do script?
      • From: "Mark J. Reed" <email@hidden>
References: 
 >how to refer to environment variable in a Terminal do script? (From: Gonzalo Castro <email@hidden>)

  • Prev by Date: how to refer to environment variable in a Terminal do script?
  • Next by Date: Re: Idea for better handling of mailinglists
  • Previous by thread: how to refer to environment variable in a Terminal do script?
  • Next by thread: Re: how to refer to environment variable in a Terminal do script?
  • Index(es):
    • Date
    • Thread