Context: I'm working on a Pharo/Smalltalk -> Objective-C bridge Scenario: In the following Objective-C ScriptingBridge snippet: iTunesApplication ...
Context: I'm working on a Pharo/Smalltalk -> Objective-C bridge Scenario: In the following Objective-C ScriptingBridge snippet: iTunesApplication ...
I try to use ScriptingBridge in Swift. This works pretty good, if I compile my app and run the app from the Terminal, but running it from Xcode or ope ...
The command sdef /Applications/Music.app | sdp -fh --basename Music returns couldn't get sdef for /Applications/Music.app (error -43) in macOS Catalin ...
We are using the SBSendEmail Apple code to create an email to be sent by email app. Getting this error: [General] *** -[SBProxyByCode setSender:] ...
I have a Javascript bridge method in Kotlin like, If I want to call with default value, how can I call this method from web app js? Or what? ...
I am trying to read the currently playing track of iTunes using ScriptingBridge. I found a couple of other threads here but no one seems to be working ...
I have a simple Swift app that needs to be able to control and send keystrokes to Mail.app. In pure AppleScript I'd do something like: I've read Ap ...
I have a application which gets audioCDPlayList from iTunes. This app works fine up to macOS High Sierra, but does not work correctly on macOS Mojave ...
I'm currently trying my hardest but can't get anywhere. I can get the current track using iTunes.currentTrack but the .artworks() SBElementArray doesn ...
I am working on OSX, Xcode 8.2. Objective-C. I use scripting bridge to adress Adobe InDesign. I have a pretty long AppleScript i want to translate to ...
I've been trying to use, in a swift code, the various SBElementArray generators defined in the iTunes.h ScriptingBridge header, for example: List ...
I'm attempting to write a program in Objective C that plays a notification when a message is received, using the Scripting Bridge. I've managed to set ...
I am trying to instantiate a SB class using Swift but it doesn't seem to work: All I get in the output is: I know that I should cast the message ...
this is probably a simple question but I am a bit confused as I haven't found many examples online. I've been able to send messages through Messages ...
This is the code I used in Xcode 7.3.1 and that worked fine: This is the code corrected for Xcode 8.0 and that does not work: the error is generate ...
I'm trying to script a sandboxed app (which I wrote) from another sandboxed app using ScriptingBridge. I have access groups set up in the target app's ...
I am using scripting bridge to control Spotify from my osx application. I am creating an Application Object like so: then when I try to do: I g ...
I want to set the rating of a track in Swift 2.3/3 using the iTunes ScriptingBridge framework. I have the Swift iTunes header with the protocol defini ...
*I need to add password in Microsoft word, pdf and ppt doc. For that i have integrated 'MicrosoftWord.h' file and used SBApplication. And used below c ...
Im currently writing a Sketch Plugin. I'm doning something like this: The console Outputs: setPatternImage: is deprecated. Use setImage: instead ...