abbeycode / applescripts Goto Github PK
View Code? Open in Web Editor NEWMy collection of scripts I've written over the years
My collection of scripts I've written over the years
It would be a more robust framework, with a more automated way of calling test cases.
It would be useful to have a method to load the result of a script into another script. This should be added to the Library Loader script.
I would like to specify an MIT style license: http://choosealicense.com/licenses/mit/
AppleScript editor doesn't keep a text file's encoding, so it's inconvenient that the Library Loader script doesn't read Mac encoding text, which is what it saves as. It should try reading it as Mac format, and then fall back to UTF-8, and then fail.
Should probably create a library for this task. Got the idea from this OS X Hint: http://hints.macworld.com/article.php?story=20130722033452283
Hi,
I came across your script while searching for a solution. Your script inspired me to simplify the process while also being able to maintain git history. As a thank you for the inspiration, I have included the code below.
tell application "Script Editor"
set doc to open inputFile
save doc as "text" in inputFile
tell application "Finder" to set name extension of inputFile to "applescript"
close front window
end tell
This method uses Finder to change the extension of the file which removes the need to move the original file to the trash. This reduces the run time by 20%. I would also suggest putting an extension filter so that only .scpt files are edited.
Chip
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.