Re: Multiple variables
Re: Multiple variables
- Subject: Re: Multiple variables
- From: Axel Luttgens <email@hidden>
- Date: Wed, 23 Jun 2010 10:31:46 +0200
Le 22 juin 2010 à 20:38:17, Joy a écrit :
> 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")
Hello Joy,
It should be possible to open and read the shell script in a text editor, isn't it?
Because the very first question is to know how that script expects to receive its input data; with that info, a lot of guess work could be avoided. ;-)
Axel
_______________________________________________
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