• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: When even UI Scripting doesn't do it...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: Application Bundles not working
  • Next by Date: FileMaker crash on getting recordvalue with underscores?
  • Previous by thread: Re: When even UI Scripting doesn't do it...
  • Next by thread: Slashes in filenames (was: Elementary fie naming question)
  • Index(es):
    • Date
    • Thread