Re: When even UI Scripting doesn't do it...
Re: When even UI Scripting doesn't do it...
- Subject: Re: When even UI Scripting doesn't do it...
- From: Henrik Boes <email@hidden>
- Date: Tue, 13 Jan 2004 13:33:05 -0700
I'll toss this out there, since it bit me a few times, resulting in the
same error you mention:
make sure you designate Macam as a process, rather than an application,
as in
tell application "System Events"
set value of text field 1 of sheet 1 of window 1 of process "Macam" to
"something"
end tell
Sounded like you had this covered, but just in case ...
Henrik
On Jan 13, 2004, at 8:21 AM, email@hidden
wrote:
tell window "Untitled"
tell sheet 1
set value of text field 1 to "something"
end tell
end tell
enclosed in the proper tell System Events/tell Macam blocks. on the
"set value" line, Script Editor reports "System Events got an error:
NSReceiverEvaluationScriptError: 4" The thing is, macam seems to be
using a standard save panel.
_______________________________________________
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.