• 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
Multiple variables
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Multiple variables


  • Subject: Multiple variables
  • From: Joy <email@hidden>
  • Date: Tue, 22 Jun 2010 14:38:17 -0400

I had this working at one time, but I somehow managed to make the app read only,  I can't find the original Applescript and I'm trying to make some modifications to  the script.

I'm trying to pass multiple variables to a shell script and it's not working. If I revert back to the original app that I created, it works, so I know my shell script is working.   Can anyone tell what I'm doing wrong by this applescript?



delay 5
tell me to activate
property loginname : ""
display dialog "Enter your loginname without the container:" default answer loginname
set the loginname to text returned of the result
property department : ""
display dialog "Enter your Department:" default answer department
set the department to text returned of the result
do shell script ("echo " & loginname & " " & department & " | /Library/Scripts/Custom/adbind.sh")


Thank you.

 _______________________________________________
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: Multiple variables
      • From: Axel Luttgens <email@hidden>
    • Re: Multiple variables
      • From: KOENIG Yvan <email@hidden>
    • Re: Multiple variables
      • From: Tommy Bollman <email@hidden>
  • Prev by Date: AppleScript and Leopard
  • Next by Date: Re: System Events: window id's instead of window names?
  • Previous by thread: AppleScript and Leopard
  • Next by thread: Re: Multiple variables
  • Index(es):
    • Date
    • Thread