appleevents
AppleEvent: how to debug `eventDidFail`?
I am getting this error from SIMBL in the console: 05.09.11 17:00:09,165 SIMBL Agent: eventDidFail:\'tvea\' error:Error Domain=NSOSStatusErrorDomain Code=-1708 \"The operation couldn’t be completed.[详细]
2023-04-02 07:41 分类:问答AppleEvent handler from OSAX causes other AppleEvents to fail
The code from appscript import * ps = app(\"Adobe Photoshop CS5\") ps.do_javascript works if Photoshop is not running yet. In that case, it starts up Photoshop and it finds the do_javascript method[详细]
2023-04-02 07:23 分类:问答Applescript: Safari Can't Save Web Page (AppleEvent Handler Fails Error)
I want safari to download and save a web page using apple automator.With a Safari window open开发者_Python百科, I run the following script in AppleScript Editor:[详细]
2023-03-25 21:16 分类:问答Send multiple parameters with apple event
I am trying to send an apple event to an application we have developed. I want to be able to call the apple event, and at the same time pass parameters with the event. eg acctid, acctpa开发者_JS百科s[详细]
2023-03-10 03:17 分类:问答AppleScript reference objects - help me understand them
Why do these even exist? It seems absurd. Like with most dynamic languages, AppleScript types seem to be either immutable primitive types like integers and reals which are going to be handed around by[详细]
2023-03-01 15:25 分类:问答How to send a string from an Apple script
I code in REALbasic. Whenever I receive an IM via iChat, iChat runs an applescript and sends to it the last message received.I need to somehow forward this mes开发者_C百科sage as a string to the app[详细]
2023-02-07 14:11 分类:问答Way to listen in on all Apple Events?
I\'m looking for a way to listen in to all Apple Events send by any program to any other program. There was an ap开发者_如何学运维p, AEMonitor, that used to do this but it is abandonware as of now.[详细]
2023-01-20 18:03 分类:问答Where is the leak?
I have a memory leak in this code. I am busting it since 2 weeks and I am starting to be mad. Thanks in advance for your help :)[详细]
2023-01-19 00:51 分类:问答GCD and AppleEvents / NSOperationQueue and AppleScript
As i understood, the threads provided by GCD do have a runloop but no source/port. Now i use some of methods that call AppleScripts thru AppleEvents inside an NSOperationQueue. And sometimes my app cr[详细]
2022-12-29 21:37 分类:问答How do I get the window id and tab number of a Terminal window using AppleScript via the ScriptingBridge?
I can open a Terminal tab using the following AppleScript: tell application \"Terminal\" set myTab to do script \"exec sleep 1\"[详细]
2022-12-27 23:31 分类:问答