scripting-bridge Questions
4
Solved
I can open a Terminal tab using the following AppleScript:
tell application "Terminal"
set myTab to do script "exec sleep 1"
get myTab
end tell
This returns a string like: tab 1 of window id 3...
Aile asked 26/4, 2010 at 10:26
4
I'm trying to send html email from Cocoa app, through Mail.app. I want to open new message in Mail.app, include subject, recipient and add HTML Body with links and other content. But can't find the...
Niddering asked 10/7, 2013 at 16:9
3
Solved
I'm trying to move around windows programatically from Python on OS X.
I found a snippet of AppleScript here on Stackoverflow which does this, but I'd like to do it in Python or another "real" scr...
Siret asked 16/5, 2013 at 22:28
4
Solved
I am having trouble with scripting bridge for python
I am trying to list the attributes of the iTunes object
iTunes = SBApplication.applicationWithBundleIdentifier_("com.apple.iTunes")
using
...
Tierratiersten asked 19/1, 2013 at 4:15
3
Solved
Is it possible to write macOS/Cocoa applications in Google Go?
Is there a Go-Obj-C bridge? (it seems to me that Obj-C dynamism would be a great fit for Golang's interfaces)
Can I at least link th...
Brouhaha asked 12/6, 2011 at 13:25
2
I have been trying to figure out how to get the iTunes artwork for the currently playing song with scripting bridge. I have gotten to a point where it works for some songs, but for others, I get a ...
Docia asked 12/8, 2011 at 3:39
1
Solved
I am building a Mac OS Application which needs to import an mp3 file into iTunes...
Can't seem to find any framework that would help me achieve this. The only way I can think of doing this is modi...
Dygal asked 1/7, 2013 at 20:54
1
I'm trying to write a Mac OS menu extra application that displays a contextual menu containing the currently active application's menu bar items, when the user presses some hotkey. The displaying o...
Hintz asked 12/7, 2012 at 1:51
1
Solved
I am just starting to learn about integrating Python and Mac OS apps. (I want to call some methods from Cocoa to Python.) I've ran into these terminologies -- Scripting Bridge, PyObjC, and py2app. ...
Micropaleontology asked 5/6, 2012 at 18:21
5
I am trying to create a new user playlist using the cocoa scripting bridge, but cannot seem to get it to work. I have so far:
iTunesApplication *iTunes = [SBApplication
applicationWithBundleIden...
Labium asked 28/12, 2009 at 10:12
2
Solved
I tried to use Application Scripting Bridge to send my Mac to sleep.
The code look like the following:
#import "Finder.h"
FinderApplication *Finder = [SBApplication applicationWithBundleIdentifie...
Shyster asked 7/6, 2011 at 20:35
2
Solved
i need a little help, i currently have a method; updateTrackInfo in my Mac OS X application which gets the artist name, the track name and duration of the track currently being played in iTunes
Ho...
Gauntry asked 3/2, 2011 at 16:34
3
I want to use Scripting Bridge to add a movie to iTunes. And preferably letting me choose between a 'music video' and a 'movie'. I know both Objective-C and AppleScript so I thought it wouldn't be ...
Hoffert asked 11/5, 2010 at 18:13
4
Solved
I am working with Apple's ScriptingBridge framework, and have generated a header file for iTunes that contains several enums like this:
typedef enum {
iTunesESrcLibrary = 'kLib',
iTunesESrcIPod ...
Delanadelancey asked 14/2, 2009 at 0:57
1
© 2022 - 2025 — McMap. All rights reserved.