Questions tagged [appleevents]

An Apple event is a type of interprocess message that can specify complex operations and data.

An Apple event is a type of interprocess message that can specify complex operations and data. Apple events allow you to gather all the data necessary to accomplish a high level task into a single package that can be passed across process boundaries, evaluated, and returned with results. The Mac OS uses Apple events to communicate with applications. Apple events are also an essential part of the AppleScript scripting system, which allows users to automate actions using scriptable applications—applications that can respond to a variety of Apple events by performing operations or supplying data.

84 questions
0
votes
1 answer

Help with ODBEditorSuite Apple Event voodoo please?

I'm working on a simple little text editor that implements the editor portion of the ODBEditorSuite of Apple Events so that my app can work with QuickCursor for providing editing capabilities. The events that need to be sent are pretty…
jxpx777
  • 3,632
  • 4
  • 27
  • 43
0
votes
1 answer

How to manage appleevents in Xcode

I want to add an applescript dictionary to my project, but I need to manage AppleEvents to create Methods, classes and events. How I can manage the AppleEvent codes in xcode. Note: I don't have the AppDelegate class in the project and I have Mac OS…
Alessandro Mascolo
  • 133
  • 1
  • 3
  • 13
0
votes
1 answer

Handling Apple events from console app on Mac

Please give me some hints about how to work and, more practically, handle Apple events from raw console application written in C++ on Mac. I know that there is huge infrastructure for this purpose in Cocoa but as I think this is only a wrapper. May…
zverre
  • 21
  • 4
0
votes
0 answers

Respond to GURL apple event if application isn't running

I have an application that is responding to 'GURL' (get URL) apple events from a custom registered URL protocol. It is being registered properly and works fine when the application is already running, but if the application is not running already it…
0
votes
2 answers

How to send a "Cmd-C" keystroke to the active application in objective-c, or tell the application to do a copy operation?

Getting the active application is not a problem, I already have this implemented. What I want to know is how to send a "Cmd-C" key combination to the active application so it puts the selected text in the clipboard (general pasteboard). Or even…
Form
  • 1,949
  • 3
  • 25
  • 40
0
votes
1 answer

Cocoa and AppleScript / Apple Events

I'm using Cocoa’s [[NSWorkspace sharedWorkspace] launchApplicationAtURL… with the NSWorkspaceLaunchNewInstance option to spawn new instances of an AppleScriptable application (Adobe Acrobat), and I want to be able to trigger different Apple Events…
wna
  • 25
  • 2
  • 9
0
votes
1 answer

Replace AEAddressDesc in apple event

I have an apple event, and I need to resend this event to the other process. Can anyone tell me how? static void GetEvent(AppleEvent *event) { RgnHandle cursorRgn = NULL; Boolean gotEvent; gotEvent =…
Lexandr
  • 679
  • 1
  • 6
  • 22
-1
votes
2 answers

How to refresh browser view in finder window(mac os 10.5)?

I want to refresh all NSTableView in NSBrowserView of finder on mac os 10.5. For refreshing icon view , list view and flow list view, i am using apple script. @"tell application \"Finder\" to update every item in front window" In browser view…
Parag Bafna
  • 22,812
  • 8
  • 71
  • 144
-1
votes
1 answer

How to unminimize a minimized window (apple script not working with upgrade from Capitan to Mojave)

I have a script written for El Capitan that upgrading to mojave it stopped working. Is there a way to get the unminimize the most recent window back? Here is the previous script I used: try tell application "System Events" to tell process…
J Spen
  • 2,614
  • 4
  • 26
  • 41
1 2 3 4 5
6