Wrote a live code program to gather information from a user, when then is supposed to pass data to an applescript.
Running the script on its own, returns the correct results (the computer binds to AD).
Spent at least a day getting the bugs out of the applescript without redoing in Shell. Tried to convert to a bundle, application and even back to shell script. All either don't work or would take days to do the translation. Running the script and I could be done in 5 minutes.
Anyway to just run and Applescript and pass parameters?
Thanks
~David
Code: Select all
put quote & thePath & "/BindingScript.scpt" && "'" &EmployeeNumber& "'" && "'" &EmployeePassword& "'" && "'" &MailCode& "'" && "'" &ComputerName& "'" & quote & " with administrator privileges " into tScript
put tScript into fld "thePath" on card "MacBinding"
do tScript as "applescript"