Scripting CLI apps
Scripting CLI apps
- Subject: Scripting CLI apps
- From: Rick Davis <email@hidden>
- Date: Sun, 19 Oct 2003 10:30:15 -0400
Heylo All,
Can results of AppleScripts be passed to terminal command line
interface apps? For example instead of instructing non-technical
persons on how to run createhomedir from the terminal can I use a
script like:
display dialog "Create home directory for:" default answer "user
shortname" buttons {"Cancel", "Create"} default button "Create"
tell application "Terminal"
createhomedir - result
end tell
Just thought someone may have gone down this road already. Will break
out the books and see what I can figure out.
Thanks and Have A Great Day.
Rick Davis
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.