• 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
Creating an environment variable from AppleScript
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Creating an environment variable from AppleScript


  • Subject: Creating an environment variable from AppleScript
  • From: "Kumar Shailove" <email@hidden>
  • Date: Fri, 6 Oct 2006 15:46:03 +0530
  • Thread-topic: Creating an environment variable from AppleScript

Hi all,

I am trying to create an environment variable with AppleScript. The script is as follows

 

do shell script “export retval=1”

 

I am executing this script with the osascript command with script file path from Terminal. But the script is not able to set the environment variable.

 

Any clues, what the problem can be?

 

Thanks in advace

ks

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Creating an environment variable from AppleScript
      • From: Doug McNutt <email@hidden>
    • Re: Creating an environment variable from AppleScript
      • From: Steve Hayman <email@hidden>
    • Re: Creating an environment variable from AppleScript
      • From: Philip Aker <email@hidden>
    • Re: Creating an environment variable from AppleScript
      • From: Simon Forster <email@hidden>
  • Prev by Date: Re: Can't turn off screen savers in System Preferences
  • Next by Date: Re: Can't turn off screen savers in System Preferences
  • Previous by thread: Re: iTunes comments
  • Next by thread: Re: Creating an environment variable from AppleScript
  • Index(es):
    • Date
    • Thread