Performing a Shell script, works but error message pops up.
Performing a Shell script, works but error message pops up.
- Subject: Performing a Shell script, works but error message pops up.
- From: Kevin Ballon <email@hidden>
- Date: Sat, 1 Dec 2007 01:52:50 -0500
Ive setup a simple app in Xcode so that when u click a button, it says the text from a text field. I do this with the following script.
on clicked theObject set r1 to the contents of text field "input" of window "main" do shell script (say (r1)) end clicked
however at the end of the script, an error message appears saying
AppleScript Error Can’t make current application into type string. (-1700)
Does anyone know how to make this go away/not appear at all? thanks.
|
_______________________________________________
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