andybrewer / mack Goto Github PK
View Code? Open in Web Editor NEWMack — Golang wrapper for AppleScript
License: MIT License
Mack — Golang wrapper for AppleScript
License: MIT License
I want to be able to use mack for some simple Tell's, but also have some logic that requires if application X is running
before calling a tell in the same tool.
Either the ability to call mack.If
and pass in a Tell if it tests true, or simply to be able to pass and entire script as a string to mack. mack.Run(script string)
or something along those lines would be handy
With terminal-notifier
, you have the ability to customize the Logo URL for your notification.
However, that's not possible with mack
because terminal-notifier uses an undocumented API to do that, that's not available to applications using AppleScript. julienXX/terminal-notifier#292
Just wanted to link this here since that was my first question, was why I couldn't do images with mack
.
Tagging go packages finally becomes/became a thing, would be nice to see it in this package.
I tried to use Notify() and that was shown correctly exactly one time. After that I get always an error message:
osascript: OpenScripting.framework - scripting addition "/Library/ScriptingAdditions/Adobe Unit Types.osax" cannot be used with the current OS because it has no OSAXHandlers entry in its Info.plist.146:161: syntax error: A identifier can’t go after this “"”
So I assume the problem is in "/Library/ScriptingAdditions/Adobe Unit Types.osax/Contents/Info.plist" ?
But I do not see anything strange there. Although I have no idea what to look for ;-)
See the contents below.
Any ideas are very much appreciated !
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
<key>CFBundleExecutable</key>
<string>Adobe Unit Types</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundlePackageType</key>
<string>osax</string>
<key>CFBundleSignature</key>
<string>ascr</string>
<key>CFBundleVersion</key>
<string>2.0.0</string>
<key>CSResourcesFileMapped</key>
<true/>
</dict>
</plist>
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.