SwiftScripting
SwiftScripting copied to clipboard
Utilities and samples to aid in using Swift with the Scripting Bridge. If you want to automate tasks on your Mac, but don't like AppleScript, this is for you.
Hi all, Thanks for this project! It's really useful. I have some questions regarding Pages. I made a new PagesApplication as follow: ```swift let application = SBApplication(bundleIdentifier: "com.apple.iWork.Pages") ``` but...
is there a way to get the favicon image of current tab in safari browsers
Here is part of `Finder.h` generated in Objective-C, following Apple's usual instructions: And here is what gets generated for the Swift API: ## The Issue Notice that in the ObjC...
I did sdef /Applications/iTunes.app > iTunes.sdef sdp -fh --basename iTunes iTunes.sdef sbhc.py iTunes.h sbsc.py iTunes.sdef and added the resulting Swift files to my project and fixed _iTunes.swift_ so that it...
This is not a huge deal, but please note that _ sbhc.py_ is omitting to start the resulting file with necessary `import` lines. For example, I did sdef /Applications/iTunes.app >...
Using the latest version to make Swift files for the Finder's sdef, this is part of the output:  In C, enum items do...
Hello! So I been investing some time in to wanting to learn Swift, and figured being able to automate a bunch of different things on my Mac would be a...
Hello! First off, thank you for creating SwiftScripting! I've been banging my head against a wall trying to find a reasonable way to script my iTunes library, so I'm incredibly...
- Adding python config via asdf - Adding google chrome definitions
Hello, and thanks for the great project!!! Unfortunately, I get an error when calling sbhc.py on Mail.h It returns with error: File "../SwiftScripting_FromRepo/sbhc.py", line 133, in type_for_type if as_arg and...