commit
stringlengths
40
40
old_file
stringlengths
2
205
new_file
stringlengths
2
205
old_contents
stringlengths
0
32.9k
new_contents
stringlengths
1
38.9k
subject
stringlengths
3
9.4k
message
stringlengths
6
9.84k
lang
stringlengths
3
13
license
stringclasses
13 values
repos
stringlengths
6
115k
a5ec07ebeb796e4d0a8c6ba1e6f653f20820ea56
scripts/resetsimulator.applescript
scripts/resetsimulator.applescript
tell application "System Events" to tell process "iOS Simulator" activate set frontmost to true click menu item "Reset Content and Settings" of menu 0 of menu bar item "iOS Simulator" of menu bar 1 delay 0.1 tell application "System Events" to key code 36 -- click button "Reset" of window "" return end tell
tell application "System Events" to tell process "Simulator" activate set frontmost to true click menu item "Reset Content and Settings" of menu 0 of menu bar item "Simulator" of menu bar 1 delay 0.1 tell application "System Events" to key code 36 -- click button "Reset" of window "" return end tell
Fix simulator script
Fix simulator script
AppleScript
mit
keith/dotfiles,keith/dotfiles,keith/dotfiles,keith/dotfiles,keith/dotfiles,keith/dotfiles
b14b563abf63764488e4dab83bc8d6088c8cb6dc
alfred_script.applescript
alfred_script.applescript
on alfred_script(q) tell application "Google Chrome" if q is "" or q is "p" or q is "pp" or q is "play" or q is "pause" then set buttonClass to "play" set execCode to "$('." & buttonClass & "').first().click()" else if q is "next" or q is "skip" or q is "n" then...
on alfred_script(q) set AppleScript's text item delimiters to {" "} tell application "Google Chrome" if q is "" or q is "p" or q is "pp" or q is "play" or q is "pause" then set buttonClass to "play" set execCode to "$('." & buttonClass & "').first().click()" el...
Fix potential text delimiter bug
Fix potential text delimiter bug
AppleScript
mit
tangledhelix/focusatwill-in-google-chrome,tangledhelix/focusatwill-in-google-chrome
93db092c03980b587e6b2b8e4df15352b83d5134
XcodeWayExtensions/Script/XcodeWayScript.scpt
XcodeWayExtensions/Script/XcodeWayScript.scpt
use scripting additions use framework "Foundation" property NSString : a reference to current application's NSString -- Helper on myRemoveLastPath(myPath) set myString to NSString's stringWithString:myPath set removedLastPathString to myString's stringByDeletingLastPathComponent removedLastPathString as text end myRe...
use scripting additions use framework "Foundation" property NSString : a reference to current application's NSString -- Helper on myRemoveLastPath(myPath) set myString to NSString's stringWithString:myPath set removedLastPathString to myString's stringByDeletingLastPathComponent removedLastPathString as text end myRe...
Add myGetRemote
Add myGetRemote
AppleScript
mit
onmyway133/XcodeWay,onmyway133/XcodeWay
6dcc626d17571f6f56ef38b14a594b376c9ea395
Release/dmg_growl.applescript
Release/dmg_growl.applescript
on run -- for testing in script editor process_disk_image("Growl", "/Users/evands/growl/Release/Artwork") end run on process_disk_image(volumeName, artPath) tell application "Finder" tell disk volumeName open tell container window set current view to icon view set toolbar visible to false set sta...
on run -- for testing in script editor process_disk_image("Growl", "/Users/evands/growl/Release/Artwork") end run on process_disk_image(volumeName, artPath) tell application "Finder" tell disk volumeName open tell container window set current view to icon view set toolbar visible to false set sta...
Set the bounds of the disk image volume window. I'm not sure why this was commented out. Not only have I uncommented it, I also changed the value.
Set the bounds of the disk image volume window. I'm not sure why this was commented out. Not only have I uncommented it, I also changed the value.
AppleScript
bsd-3-clause
PersonifyInc/growl,incbee/Growl,PersonifyInc/growl,incbee/Growl,incbee/Growl,incbee/Growl,PersonifyInc/growl,PersonifyInc/growl,incbee/Growl,PersonifyInc/growl
b7ee1c5622c637681081add5a2c8b3e17e4bf09c
automation/mac/pictureit.scpt
automation/mac/pictureit.scpt
# # This script outlines the basic funcationality needed to build # an automatic scraper or other chrome automation function. It solves # several annoying problems with automator and appleScript and should save # people a bunch of time. It does not catch errors or implement other # bulletproofing. # # It uses goog...
# # This script outlines the basic funcationality needed to build # an automatic scraper or other chrome automation function. It solves # several annoying problems with automator and appleScript and should save # people a bunch of time. It does not catch errors or implement other # bulletproofing. # # It uses goog...
Update pictureit.scpt
Update pictureit.scpt Best to put click in /usr/local/bin
AppleScript
apache-2.0
scarrico/BayAreaFresh,scarrico/BayAreaFresh,scarrico/BayAreaFresh
aca26bf1a96b26d52a6dd8fc482d0ab5ea9400ed
chrome/lib/controller.scpt
chrome/lib/controller.scpt
on control(keyCode) set code to "var keyCode = " & keyCode & "; var event = document.createEvent('Events'); event.initEvent('keydown', true, true); event.keyCode = keyCode; event.which = keyCode; document.dispatchEvent(event); " set targetTab to activeTab() of me executeJavaScript(targetTa...
on control(keyCode) set code to "var keyCode = " & keyCode & "; var event = document.createEvent('Events'); event.initEvent('keydown', true, true); event.keyCode = keyCode; event.which = keyCode; document.dispatchEvent(event); " set targetTab to activeTab() of me executeJavaScript(targetTa...
update to use notification center instead of growl
update to use notification center instead of growl
AppleScript
mit
atsuya/google-music-control
4c6235ca33932483dd913b7b2abec1b0279b82b1
Support/inbox.app/Contents/Resources/Scripts/main.scpt
Support/inbox.app/Contents/Resources/Scripts/main.scpt
FasdUAS 1.101.10 k l i I .aevtoappnull**** Q k   r  n  I  0 inputdialog inputDialog mEnter task:...
FasdUAS 1.101.10 k l i I .aevtoappnull**** Q k   r  n  I  0 inputdialog inputDialog mEnter task:...
Update inbox applescript
Update inbox applescript
AppleScript
mit
persquare/TextTasks.tmbundle
330494b6b28e28be3daae9ea8cc644507c20af1d
resources/config.applescript
resources/config.applescript
-- core configuration -- -- configurable options -- -- limit number of songs to improve efficiency property resultLimit : 25 -- whether or not to retrieve/display album artwork for each result property albumArtEnabled : true -- workflow parameters -- property homeFolder : (path to home folder as text) property libr...
-- core configuration -- -- configurable options -- -- limit number of songs to improve efficiency property resultLimit : 25 -- whether or not to retrieve/display album artwork for each result property albumArtEnabled : true -- workflow parameters -- property homeFolder : (path to home folder as text) property libr...
Remove sorting algo in favor of current sort order
Remove sorting algo in favor of current sort order
AppleScript
mit
caleb531/play-song,caleb531/play-song
f4df021ff0c4c39d028d488de883bdbbb60396de
CotEditor/InternalScript/openDictionary.applescript
CotEditor/InternalScript/openDictionary.applescript
(* このスクリプトは、下記のソースを参考にさせていただきました。 http://piza.2ch.net/log2/mac/kako/957/957215209.html *) tell application "Finder" set the script_editor to application file id "ToyS" set file_path to path to frontmost application ignoring application responses open file_path using script_editor end ignoring end tell
(* ============================================================================== openDictionary.applescript CotEditor http://coteditor.com Created on 2014-12-02 by 1024jp ------------------------------------------------------------------------------ © 2014 1024jp This program is free software; you can ...
Rewrite openDictionary.applescript
Rewrite openDictionary.applescript Avoid calling Finder for Sandbox.
AppleScript
apache-2.0
eric-seekas/CotEditor,uchuugaka/CotEditor,onevcat/CotEditor,uchuugaka/CotEditor,eric-seekas/CotEditor,angi2/CotEditor,uchuugaka/CotEditor,uchuugaka/CotEditor,eric-seekas/CotEditor,angi2/CotEditor,uchuugaka/CotEditor,uchuugaka/CotEditor,yangchenghu/CotEditor,eric-seekas/CotEditor,yangchenghu/CotEditor,eric-seekas/CotEdi...
74fe089b497feaab0568de327f7f2e6aad57c3fc
resources/config.applescript
resources/config.applescript
-- core configuration -- -- configurable options -- -- limit number of songs to improve efficiency property resultLimit : 15 -- whether or not to retrieve/display album artwork for each result property albumArtEnabled : true -- workflow parameters -- -- workflow folders property libraryFolder : (path to library fol...
-- core configuration -- -- configurable options -- -- limit number of songs to improve efficiency property resultLimit : 15 -- whether or not to retrieve/display album artwork for each result property albumArtEnabled : true -- workflow parameters -- -- workflow folders property libraryFolder : (path to library fol...
Fix regression where a2ec45c broke playalbumby filter
Fix regression where a2ec45c broke playalbumby filter This is because a2ec45c removed the getArtistAlbums handler, which is used by the playalbumby filter.
AppleScript
mit
caleb531/play-song,caleb531/play-song
621eb40dd3959c84ff377ed2769304addbc74f99
support/iphone/itunes_sync.scpt
support/iphone/itunes_sync.scpt
FasdUAS 1.101.10 l  O  I .hookUpdtnullcSrc mhookalisL Macintosh HD@eH+ iTunes.app...
FasdUAS 1.101.10 lL OL YK ZF = l n 1  pKnd 4  cSrc o 0n m  eSrckPod QB I"' .hookUpdtnullcSrc o"# 0n ...
Fix to support 'install to device' on iOS when no device present or sync disallowed [TISTUD-209]
Fix to support 'install to device' on iOS when no device present or sync disallowed [TISTUD-209]
AppleScript
apache-2.0
prop/titanium_mobile,KangaCoders/titanium_mobile,csg-coder/titanium_mobile,mano-mykingdom/titanium_mobile,linearhub/titanium_mobile,sriks/titanium_mobile,kopiro/titanium_mobile,jhaynie/titanium_mobile,benbahrenburg/titanium_mobile,peymanmortazavi/titanium_mobile,openbaoz/titanium_mobile,collinprice/titanium_mobile,hieu...
4ddb10ee58c03166cd525e7788769ccaeb425171
Release/dmg_growl.applescript
Release/dmg_growl.applescript
tell application "Finder" tell disk "Growl" open tell container window set current view to icon view set toolbar visible to false set statusbar visible to false --set the bounds to {30, 50, 579, 600} end tell close set opts to the icon view options of container window tell opts set icon size...
tell application "Finder" tell disk "Growl" open tell container window set current view to icon view set toolbar visible to false set statusbar visible to false --set the bounds to {30, 50, 579, 600} end tell close set opts to the icon view options of container window tell opts set icon size...
Save before committing!
Save before committing! --HG-- extra : convert_revision : svn%3A99687598-2e92-11dd-8019-fe7b9d601d1b/trunk%404216
AppleScript
bsd-3-clause
incbee/Growl,PersonifyInc/growl,incbee/Growl,PersonifyInc/growl,incbee/Growl,incbee/Growl,incbee/Growl,PersonifyInc/growl,PersonifyInc/growl,PersonifyInc/growl
7ea28364a90a68f480bffca668cee43160abecd7
scripts/pdfmatch_folder_action.applescript
scripts/pdfmatch_folder_action.applescript
# AppleScript folder action for the pdfmatch command # # Open with script editor, compile and save to # ~/Library/Workflows/Applications/Folder\ Actions/ # # Then open the "Folder Actions Setup" application and add the work folder # where your pdfmatch.json config lives and attach this script. # on adding folder items ...
# AppleScript folder action for the pdfmatch command # # Open with script editor, compile and save to # ~/Library/Workflows/Applications/Folder\ Actions/ # # Then open the "Folder Actions Setup" application and add the work folder # where your pdfmatch.json config lives and attach this script. # on adding folder items ...
Remove my $PATH setting from default apple script
Remove my $PATH setting from default apple script
AppleScript
mit
mantoni/pdfmatch.js
ddefa47e896de5eaf18037c85b9b66d893c9572d
thumbscrew.scpt
thumbscrew.scpt
-- thumbscrew.scpt -- usage: thumbscript.scpt <path_to_root_dir> <path_to_keynotePresentation> <presentation_name> -- -- Will create scaled thumbnails of length `thumbSize` in the directory -- <path_to_root_dir>/.keynote/<presentation> property thumbSize : 480 property thumbnailDir: "keynotes" on getImages(f) tell a...
-- thumbscrew.scpt -- usage: thumbscript.scpt <path_to_root_dir> <path_to_keynotePresentation> <presentation_name> -- -- Will create scaled thumbnails of length `thumbSize` in the directory -- <path_to_root_dir>/.keynote/<presentation> property thumbSize : 480 property thumbnailDir: "keynotes" on getImages(f) tell a...
remove the return value so it doesnt get into the stream
remove the return value so it doesnt get into the stream
AppleScript
mit
azizshamim/thumbscrew,helaili/thumbscrew
fa78dd8d3fe31723a568999345ab067a25671d37
actions/clearcache.applescript
actions/clearcache.applescript
-- clears workflow cache, including album artwork and compiled scripts -- on loadConfig() return (load script POSIX file (do shell script "./resources/compile-config.sh")) end loadConfig on run query set config to loadConfig() try tell application "Finder" delete folder (workflowCacheFolder of config) end t...
-- clears workflow cache, including album artwork and compiled scripts -- on loadConfig() return (load script POSIX file (do shell script "./resources/compile-config.sh")) end loadConfig on run query set config to loadConfig() try tell application "Finder" delete folder (workflowCacheFolder of config) end t...
Delete Alfred Play Song playlist when clearing cache
Delete Alfred Play Song playlist when clearing cache This is becoming a helpful step when troubleshooting any issues.
AppleScript
mit
caleb531/play-song,caleb531/play-song
88a5decbde7d5704dfe3d69b48308044d0b969f9
macos/chrome/current-song.scpt
macos/chrome/current-song.scpt
set theFolder to POSIX path of ((the path to me as text) & "::") set Controller to run script ("script s" & return & (read alias (POSIX file (theFolder & "/lib/controller.scpt")) as «class utf8») & return & "end script " & return & "return s") set currentTrack to Controller's getCurrentSong() set output to item 1 of ...
set theFolder to POSIX path of ((the path to me as text) & "::") set Controller to run script ("script s" & return & (read alias (POSIX file (theFolder & "/lib/controller.scpt")) as «class utf8») & return & "end script " & return & "return s") set currentTrack to Controller's getCurrentSong() try set output to quot...
Set current song to empty string if nothing is playing
Set current song to empty string if nothing is playing
AppleScript
mit
atsuya/google-music-control
2993e22789d3d012eb65dbadfbcda3694deb335b
script/start_install.scpt
script/start_install.scpt
#!/usr/bin/env osascript -- Fist: Click Install Button set timeoutSeconds to 8.0 my doWithTimeout("click UI Element \"Install\" of window 1 of application process \"Install Command Line Developer Toold\"", timeoutSeconds) my doWithTimeout("click UI Element \"Agree\" of window 1 of application process \"Install Comman...
#!/usr/bin/env osascript -- Fist: Click Install Button set timeoutSeconds to 8.0 my doWithTimeout("click UI Element \"Install\" of window 1 of application process \"Install Command Line Developer Tools\"", timeoutSeconds) my doWithTimeout("click UI Element \"Agree\" of window 1 of application process \"Install Comman...
Fix fatal mistake
Fix fatal mistake
AppleScript
mit
k0kubun/rebuild,k0kubun/rebuild
32dd1e9210fd345d3508f3e67430338ca04ac7f5
QuickStats/QuickStats.applescript
QuickStats/QuickStats.applescript
property pTitle : "OmniFocus: Quick Stats" property pVersion : "2.07.brett" property pstrDBPath : "$HOME/Library/Containers/com.omnigroup.OmniFocus2/Data/Library/Caches/com.omnigroup.OmniFocus/OmniFocusDatabase2" property pstrMinOSX : "10.9" property pTimeOut : 30 -- Original version: https://github.com/RobTrew/tree...
property pTitle : "OmniFocus: Quick Stats" property pVersion : "2.07.brett" property pstrDBPath : "$HOME/Library/Containers/com.omnigroup.OmniFocus2/Data/Library/Caches/com.omnigroup.OmniFocus/OmniFocusDatabase2" property pstrMinOSX : "10.9" property pTimeOut : 30 -- Original version: https://github.com/RobTrew/tree...
adjust resolution where brief needed
adjust resolution where brief needed
AppleScript
apache-2.0
brettporter/omnifocus-tools
9bbbbb5f469a7c65947908499bfa94cca4f9e03d
keynote.applescript
keynote.applescript
on newPresentation(themeName) tell application "Keynote" activate -- FIXME: Make this selectable? set targetWidth to 1024 -- 1440 <-- higher resolution set targetHeight to 768 -- 1080 <-- higher resolution set props to {document theme:theme (themeName as string), width:targetWidth, height:targetHeight} s...
on newPresentation(themeName) tell application "Keynote" activate -- FIXME: Make this selectable? set targetWidth to 1024 -- 1440 <-- higher resolution set targetHeight to 768 -- 1080 <-- higher resolution set props to {document theme:theme (themeName as string), width:targetWidth, height:targetHeight} s...
Return index when creating slide
Return index when creating slide
AppleScript
mit
persquare/md2keynote
2581b69b5b177d8aa8c44357b4a7e58aa5bb8f80
autoload/tube/applescript/iterm.applescript
autoload/tube/applescript/iterm.applescript
on run argv set command to (item 1 of argv) tell application iTerm2 set _window to (current window) if _window is equal to missing value then create window with default profile end if tell current window tell current session write text command end tel...
on run argv set command to (item 1 of argv) tell application "iTerm2" set _window to (current window) if _window is equal to missing value then create window with default profile end if tell current window tell current session write text command end t...
Update script again
Update script again
AppleScript
mit
alisnic/tube.vim
510d03a61c46bb54ea1025438d081157bf00faf1
applescript/halt_vagrant.applescript
applescript/halt_vagrant.applescript
set close_vagrant to "z puppet; vagrant halt -f;" -- close vagrant tell application "iTerm" activate set myterm to (make new terminal) tell myterm launch session "Default" set mysession to current session end tell tell mysession write text close_vagrant end tell delay 5 end tell -- quit iTerm ignoring ...
set close_vagrant to "z puppet; vagrant halt -f;" -- close vagrant tell application "iTerm" activate set myterm to (make new terminal) tell myterm launch session "Default" set mysession to current session end tell tell mysession write text close_vagrant end tell end tell
Remove closing iTerm2
Remove closing iTerm2
AppleScript
apache-2.0
uberVU/toolbox
dcabab4b698dc4009406443113aa06ef22422811
scripts/pdfmatch_folder_action.applescript
scripts/pdfmatch_folder_action.applescript
# AppleScript folder action for the pdfmatch command # # Open with script editor, compile and save to # ~/Library/Workflows/Applications/Folder\ Actions/ # # Then open the "Folder Actions Setup" application and add the work folder # where your pdfmatch.json config lives and attach this script. # on adding folder items ...
# AppleScript folder action for the pdfmatch command # # Open with script editor, compile and save to # ~/Library/Workflows/Applications/Folder\ Actions/ # # Then open the "Folder Actions Setup" application and add the work folder # where your pdfmatch.json config lives and attach this script. # on adding folder items ...
Fix AppleScript extension matching
Fix AppleScript extension matching
AppleScript
mit
mantoni/pdfmatch.js
0d4f11430d41c734eca1db4342623c0b40aec89a
scripts/thinkCERCA-iterm.scpt
scripts/thinkCERCA-iterm.scpt
tell application "iTerm2" activate set cercaWindow to (current window) tell cercaWindow tell current session split vertically with default profile write text "tcd" end tell tell last session of current tab write text "tcs" end tell set secondTab to (create tab with defau...
tell application "iTerm2" activate set cercaWindow to (current window) tell cercaWindow tell current session split vertically with default profile write text "tcd" end tell tell last session of current tab write text "tcs" end tell set secondTab to (create tab with defau...
update cerca script
update cerca script
AppleScript
mit
MelizzaP/dotfiles,MelizzaP/dotfiles,MelizzaP/dotfiles
a79e8801a5c5d569d6946d8620ada322a6c73d8b
hammerspoon/connect_sony.applescript
hammerspoon/connect_sony.applescript
activate application "SystemUIServer" tell application "System Events" tell process "SystemUIServer" set btMenu to (menu bar item 1 of menu bar 1 whose description contains "bluetooth") tell btMenu click try tell (menu item "Rosco's Headphones" of menu 1) ...
-- Source: https://www.reddit.com/r/MacOS/comments/i4czgu/big_sur_airpods_script/gck3gz3 -- Works on macOS 11 Big Sur use framework "IOBluetooth" use scripting additions set DeviceName to "Rosco's Headphones" on getFirstMatchingDevice(deviceName) repeat with device in (current application's IOBluetoothDevice's p...
Update headphone connect script for Big Sur
Update headphone connect script for Big Sur
AppleScript
mit
rkalis/dotfiles,rkalis/dotfiles
3755272e03311275a8845f1848cbb8a96b62c915
uninstall.applescript
uninstall.applescript
property stdout : "" on run set newline to ASCII character 10 set stdout to stdout & " shutdown TotalTerminalCrashWatcher ..." & newline try do shell script "killall -SIGINT TotalTerminalCrashWatcher" with administrator privileges on error set stdout to stdout & " TotalTerminalCrashWatcher.com not running...
property stdout : "" on run set newline to ASCII character 10 set stdout to stdout & " shutdown TotalTerminalCrashWatcher ..." & newline try do shell script "killall -SIGINT TotalTerminalCrashWatcher" with administrator privileges on error set stdout to stdout & " TotalTerminalCrashWatcher was not running...
improve uninstaller script
improve uninstaller script
AppleScript
bsd-3-clause
binaryage/totalterminal-installer
4aafec64d1586ce1ef7f7fae4b66b0025e3eeabf
support/iphone/itunes_sync.scpt
support/iphone/itunes_sync.scpt
FasdUAS 1.101.10 lL OL YK ZF = l n 1  pKnd 4  cSrc o 0n m  eSrckPod QB I"' .hookUpdtnullcSrc o"# 0n ...
FasdUAS 1.101.10 k lK OK XJ ZE l = n 1  pKnd o 0 itunessource iTunesSource m  eSrckPod QA I!& .hookUpdtnullcSrc o...
Refactor script to use proper AppleScript types and iTunes idioms.
TIMOB-12740: Refactor script to use proper AppleScript types and iTunes idioms.
AppleScript
apache-2.0
smit1625/titanium_mobile,KangaCoders/titanium_mobile,kopiro/titanium_mobile,pinnamur/titanium_mobile,bhatfield/titanium_mobile,jvkops/titanium_mobile,jhaynie/titanium_mobile,KoketsoMabuela92/titanium_mobile,prop/titanium_mobile,benbahrenburg/titanium_mobile,pinnamur/titanium_mobile,indera/titanium_mobile,openbaoz/titan...
a5d990cebb620ca071306a74178f32db58abcdd1
play_song.scpt
play_song.scpt
on run argv set song_title to item 1 in argv try tell application "iTunes" to play track song_title of current playlist on error error_message tell application "iTunes" to play playlist song_title end try end run
on run argv set song_title to item 1 in argv tell application "iTunes" to set playlist_list to the name of every user playlist if playlist_list does not contain song_title then tell application "iTunes" to play track song_title of current playlist else tell application "iTunes" to play playlist song_title en...
improve readability of play_song.scpt
improve readability of play_song.scpt
AppleScript
bsd-3-clause
kasoki/Maestro
29911ebaa647ac12946ddadca8acb682837535dc
kalabox/utils/task-runner/sudo-pass.scpt
kalabox/utils/task-runner/sudo-pass.scpt
set kalaicon to 2 tell application "System Events" to set itExists to ¬ exists of alias ((path to me as text) & ":app.icns") if itExists set kalaicon to alias ((path to me as text) & ":app.icns") end if tell application "SystemUIServer" activate set my_password to display dialog ¬ "Please enter your adminis...
set kalaicon to 2 tell application "System Events" to set itExists to ¬ exists of alias ((path to me as text) & ":app.icns") if itExists set kalaicon to alias ((path to me as text) & ":app.icns") end if tell application "SystemUIServer" activate set my_password to display dialog ¬ "Please enter your Mac use...
Fix #73
Fix #73
AppleScript
mit
kalamuna/kalaboxv1,kalamuna/kalaboxv1,kalamuna/kalaboxv1
244fae96404c15c168d5d79768dc1bbe854b6828
applescripts/halt_vagrant.applescript
applescripts/halt_vagrant.applescript
set close_ubervu_vagrant to "cd ~/uberVU/puppet; vagrant halt -f;" set close_hs_vagrant to "cd ~/hootsuite/dash-board; vagrant halt -f;" -- close vagrant tell application "iTerm" activate set myterm to (make new terminal) tell myterm launch session "Default" set mysession to current session end tell tell mys...
set close_ubervu_vagrant to "cd ~/uberVU/puppet/hs_analytics_vagrant; vagrant halt -f;" -- close vagrant tell application "iTerm" activate set myterm to (make new terminal) tell myterm launch session "Default" set mysession to current session end tell tell mysession write text close_ubervu_vagrant end tel...
Update halt_vagrant.applescript
Update halt_vagrant.applescript
AppleScript
mit
smathson/dotfiles
aeb09d5d41b5f39a01eaae5c836f4c3f1da3e6f4
etc/pdf.scpt
etc/pdf.scpt
############################ # How to generate the PDFs # ############################ # 1. Update cover.html with the new version date # 2. Open cover.html in safari and generate Cover.pdf # 3. Place Cover.pdf in ~/Downloads folder # 4. Ensure "Downloads" folder is an option when "Export to PDF…" in Safari # 5. In ter...
############################ # How to generate the PDFs # ############################ # 1. Update cover.html with the new version date # 2. Open cover.html in safari and generate Cover.pdf # 3. Place Cover.pdf in ~/Downloads folder # 4. Ensure "Downloads" folder is an option when "Export to PDF…" in Safari # 5. In ter...
Update chapter list for PDF
Update chapter list for PDF
AppleScript
mit
AnomalyInnovations/serverless-stack-com,AnomalyInnovations/serverless-stack-com
a2ec45c0fa19bdde02fa206ac453c13f95e688aa
resources/config.applescript
resources/config.applescript
-- core configuration -- -- configurable options -- -- limit number of songs to improve efficiency property resultLimit : 15 -- whether or not to retrieve/display album artwork for each result property albumArtEnabled : true -- workflow parameters -- -- workflow folders property libraryFolder : (path to library fol...
-- core configuration -- -- configurable options -- -- limit number of songs to improve efficiency property resultLimit : 15 -- whether or not to retrieve/display album artwork for each result property albumArtEnabled : true -- workflow parameters -- -- workflow folders property libraryFolder : (path to library fol...
Make playartist filter faster and honor sort order
Make playartist filter faster and honor sort order
AppleScript
mit
caleb531/play-song,caleb531/play-song
5ec1c244b021710645dc22e0cc07404ab8e5861f
lib/scripts/get_track.applescript
lib/scripts/get_track.applescript
on escape_quotes(string_to_escape) set AppleScript's text item delimiters to the "\"" set the item_list to every text item of string_to_escape set AppleScript's text item delimiters to the "\\\"" set string_to_escape to the item_list as string set AppleScript's text item delimiters to "" return string_to_escape e...
on escape_quotes(string_to_escape) set AppleScript's text item delimiters to the "\"" set the item_list to every text item of string_to_escape set AppleScript's text item delimiters to the "\\\"" set string_to_escape to the item_list as string set AppleScript's text item delimiters to "" return string_to_es...
remove tab
remove tab
AppleScript
mit
andrehaveman/spotify-node-applescript
b97c601301bf27c73656787f4350103647b0c445
lib/scripts/get_artwork.applescript
lib/scripts/get_artwork.applescript
on replace_chars(this_text, search_string, replacement_string) set AppleScript's text item delimiters to the search_string set the item_list to every text item of this_text set AppleScript's text item delimiters to the replacement_string set this_text to the item_list as string set AppleScript's text item del...
on replace_chars(this_text, search_string, replacement_string) set AppleScript's text item delimiters to the search_string set the item_list to every text item of this_text set AppleScript's text item delimiters to the replacement_string set this_text to the item_list as string set AppleScript's text item del...
remove unnecessary usage of System Events
remove unnecessary usage of System Events
AppleScript
mit
andrehaveman/spotify-node-applescript
ab9e11ce88fb10bd5ed9915044fa88da99179725
library/fmGUI_ManageScripts/fmGUI_ManageScripts_FmScript_Select.applescript
library/fmGUI_ManageScripts/fmGUI_ManageScripts_FmScript_Select.applescript
-- fmGUI_ManageScripts_FmScript_Select({}) -- Daniel A. Shockley, NYHTC -- Select an existing script in the Script Workspace. (* HISTORY: 2020-03-03 ( dshockley, hdu ): Updated as standalone function for fm-scripts git repository. 1.3.1 - 2017-06-05 ( eshagdar ): the name of the script is the name of UI elemnt, not...
-- fmGUI_ManageScripts_FmScript_Select({}) -- Daniel A. Shockley, NYHTC -- Select an existing script in the Script Workspace. (* HISTORY: 2020-03-03 ( dshockley, hdu ): Updated as standalone function for fm-scripts git repository. 1.3.1 - 2017-06-05 ( eshagdar ): the name of the script is the name of UI elemnt, not...
update fmGUI_ManageScripts_FmScript_Select
update fmGUI_ManageScripts_FmScript_Select
AppleScript
mit
NYHTC/applescript-fm-helper
463d7d022de91452af3d57bc998646a891baca9f
lib/waddup/sources/apple_mail/sent_mail.applescript
lib/waddup/sources/apple_mail/sent_mail.applescript
on run argv set window_from to date (item 1 of argv) set window_to to date (item 2 of argv) tell application "Mail" set results to {} repeat with acct in every account set username to user name of acct try set mbox to mailbox "[Gmail]/All Mail" of acct on error set mb...
on run argv set window_from to date (item 1 of argv) set window_to to date (item 2 of argv) tell application "Mail" set results to {} set msgs to (messages of sent mailbox whose date sent >= window_from and date sent <= window_to) repeat with msg in msgs set the end of results to {subject:su...
Simplify sent mail script
Simplify sent mail script
AppleScript
mit
timkurvers/waddup
a78b011c7b4b1f132799f7568d2fb6f0a736efab
bundler/AlfredBundler.applescript
bundler/AlfredBundler.applescript
(* GLOBAL PROPERTIES && $? for bash status codes *) property BUNDLER_VERSION : "devel" --# Bundler paths property _home : POSIX path of (path to "cusr" as text) property BUNDLER_DIR : (_home) & "Library/Application Support/Alfred 2/Workflow Data/alfred.bundler-" & BUNDLER_VERSION property DATA_DIR : BUNDLER_DIR & "/...
(* GLOBAL PROPERTIES && $? for bash status codes *) property BUNDLER_VERSION : "devel" --# Bundler paths property _home : POSIX path of (path to "cusr" as text) property BUNDLER_DIR : (_home) & "Library/Application Support/Alfred 2/Workflow Data/alfred.bundler-" & BUNDLER_VERSION property DATA_DIR : BUNDLER_DIR & "/...
change `_read_file` to `read_file`
change `_read_file` to `read_file`
AppleScript
mit
shawnrice/alfred-bundler,shawnrice/alfred-bundler,shawnrice/alfred-bundler,shawnrice/alfred-bundler,shawnrice/alfred-bundler
48299cd8e44a71d039b0009e2fef1cf0f2d8a480
resources/config.applescript
resources/config.applescript
-- core configuration -- -- configurable options -- -- limit number of songs to improve efficiency property resultLimit : 25 -- whether or not to retrieve/display album artwork for each result property albumArtEnabled : true -- workflow parameters -- property homeFolder : (path to home folder as text) property libr...
-- core configuration -- -- configurable options -- -- limit number of songs to improve efficiency property resultLimit : 25 -- whether or not to retrieve/display album artwork for each result property albumArtEnabled : true -- workflow parameters -- property homeFolder : (path to home folder as text) property libr...
Move fileRef outside of try (where it can be accessed)
Move fileRef outside of try (where it can be accessed)
AppleScript
mit
caleb531/play-song,caleb531/play-song
c7bc373763eb24309ac63966ae3788ffba33b822
Extras/GrowlTunes/Scripts/jackItunesArtwork.scpt
Extras/GrowlTunes/Scripts/jackItunesArtwork.scpt
FasdUAS 1.101.10 k lH QH O= k<   r  m  fsck o 0 returnvalue returnValue r  n  1  pnam 1   pPla o 0alibrary...
FasdUAS 1.101.10 k lH QH O= k<   r  mfsck o 0 returnvalue returnValue r  n  1  pnam 1   pPla o 0alib...
Fix #114: GrowlTunes hanging if pictd has died.
Fix #114: GrowlTunes hanging if pictd has died. As noted in the ticket, the fix here is to ask for the raw data, not the PICT data, for the artwork.
AppleScript
bsd-3-clause
PersonifyInc/growl,PersonifyInc/growl,incbee/Growl,PersonifyInc/growl,incbee/Growl,incbee/Growl,PersonifyInc/growl,incbee/Growl,PersonifyInc/growl,incbee/Growl
5ee8b7a89839a63885d0ef25a1b40ee361cb4a71
osx/switch_personal.scpt
osx/switch_personal.scpt
property thePane : "com.apple.preferences.bluetooth" tell application "Terminal" activate my execCmd("ssh ${TARGET_2}", 1) my execCmd("${TARGET_2_P}", 5) my execCmd("osascript ~/.dotfiles/osx/bluetooth.scpt", 0) my toggleBluetooth() end tell on execCmd(cmd, pause) tell application "System Events" tell...
property thePane : "com.apple.preferences.bluetooth" tell application "Terminal" activate my execCmd("ssh ${TARGET_2}", 1) set pass to system attribute "TARGET_2_P" my execCmd(pass, 5) my execCmd("osascript ~/.dotfiles/osx/bluetooth.scpt", 0) my toggleBluetooth() end tell on execCmd(cmd, pause) tell app...
fix personal switch
fix personal switch
AppleScript
mit
lfender6445/dotfiles,lfender6445/dotfiles
38be35e0c9d3eb0ff048b271bf46a9b1c746a23f
XcodeWayExtensions/Script/XcodeWayScript.scpt
XcodeWayExtensions/Script/XcodeWayScript.scpt
use scripting additions use framework "Foundation" property NSString : a reference to current application's NSString -- Helper on myRemoveLastPath(myPath) set myString to NSString's stringWithString:myPath set removedLastPathString to myString's stringByDeletingLastPathComponent removedLastPathString as text end myRe...
use scripting additions use framework "Foundation" property NSString : a reference to current application's NSString -- Helper on myRemoveLastPath(myPath) set myString to NSString's stringWithString:myPath set removedLastPathString to myString's stringByDeletingLastPathComponent removedLastPathString as text end myRe...
Add myOpenGitHub
Add myOpenGitHub
AppleScript
mit
onmyway133/XcodeWay,onmyway133/XcodeWay
c1ca719baab48f368810b1bcab7022338f30a48a
Launcher/Mac/jLinuxInstaller.scpt
Launcher/Mac/jLinuxInstaller.scpt
--jLinuxInstaller.scpt DOES NOT work fully yet --Due to the fact that .app files are actually folders, getting them with cURL does not work --This will be fixed later but isn't a high priority right now -- -- (c) 2016 Brendan Manning -- MIT Liscense display dialog "jLinux Quick Installer..." with title "Install jLinux"...
--jLinuxInstaller.scpt DOES NOT work fully yet --Due to the fact that .app files are actually folders, getting them with cURL does not work --This will be fixed later but isn't a high priority right now -- -- (c) 2016 Brendan Manning -- MIT Liscense display dialog "jLinux Quick Installer..." with title "Install jLinux...
Update jLinuxInstaller.scpt
Update jLinuxInstaller.scpt BE WARNED, this file does not work yet.
AppleScript
mit
brendanmanning/jLinux
a22e8ee5fe8bd5ba6bdf63dbd2044ffcd40c2b25
applescript/resources/is-iterm2-active.applescript
applescript/resources/is-iterm2-active.applescript
#!/usr/bin/osascript on run ttyName try set ttyName to first item of ttyName on error set ttyName to "" end if ttyName is equal to "" then error "Usage: is-iterm2-active.applescript TTY" tell application "System Events" tell item 1 of (application processes whose bundle i...
#!/usr/bin/osascript on run ttyName try set ttyName to first item of ttyName on error set ttyName to "" end if ttyName is equal to "" then error "Usage: is-iterm2-active.applescript TTY" tell application id "com.googlecode.iterm2" tell current window set isHot...
Add check for active hotkey window in iTerm2 (#86)
Add check for active hotkey window in iTerm2 (#86) Old way of checking if terminal window is active didn't work for hotkey window with `Floating window` option active. Used iTerm scripting API to use different checks, if last used window is the hotkey window.
AppleScript
mit
marzocchi/zsh-notify,mehanoid/zsh-notify
215680372992a4ef82c4e7f2d098dac23601d7b6
lib/scripts/get_state.applescript
lib/scripts/get_state.applescript
tell application "Spotify" set cstate to "{" set cstate to cstate & "\"track_id\": \"" & current track's id & "\"" set cstate to cstate & ",\"volume\": " & sound volume set cstate to cstate & ",\"position\": " & (player position as integer) set cstate to cstate & ",\"state\": \"" & player state & "\"" set c...
tell application "Spotify" set cstate to "{" set cstate to cstate & "\"track_id\": \"" & current track's id & "\"" set cstate to cstate & ",\"volume\": " & sound volume set cstate to cstate & ",\"position\": " & (player position) set cstate to cstate & ",\"state\": \"" & player state & "\"" set cstate to cs...
Update get_state.applescript
Update get_state.applescript Remove cast to integer for position.
AppleScript
mit
andrehaveman/spotify-node-applescript
78b0c50fa62ddbda19b735b8ea96a59a383b3853
src/scripts/clean-tabs.scpt
src/scripts/clean-tabs.scpt
tell application "Safari" repeat with t in tabs of windows tell t -- If you open lots of windows in Safari, some of this book- -- keeping goes wrong. It will try to look up tab N, except -- tab N was already closed -- error! -- -- For safety, we j...
tell application "Safari" repeat with t in tabs of windows tell t -- If you open lots of windows in Safari, some of this book- -- keeping goes wrong. It will try to look up tab N, except -- tab N was already closed -- error! -- -- For safety, we j...
Allow fuzzy matching on URLs for clean-tabs
Allow fuzzy matching on URLs for clean-tabs
AppleScript
mit
alexwlchan/safari.rs,alexwlchan/safari.rs
7f375e6b72e5b1097205cbd615fbb9a9802f52ec
lib/scripts/get_state.applescript
lib/scripts/get_state.applescript
tell application "Spotify" set cstate to "{" set cstate to cstate & "\"track_id\": \"" & current track's id & "\"" set cstate to cstate & ",\"volume\": " & sound volume set cstate to cstate & ",\"position\": " & (player position) set cstate to cstate & ",\"state\": \"" & player state & "\"" set cstate to cs...
tell application "Spotify" set cstate to "{" set cstate to cstate & "\"track_id\": \"" & current track's id & "\"" set cstate to cstate & ",\"volume\": " & sound volume set cstate to cstate & ",\"position\": " & (player position as integer) set cstate to cstate & ",\"state\": \"" & player state & "\"" set c...
Revert "Update get_state.applescript"
Revert "Update get_state.applescript"
AppleScript
mit
andrehaveman/spotify-node-applescript
30454a6a84fb9e634718a2f158bfea3784c85246
resources/config.applescript
resources/config.applescript
-- core configuration -- -- configurable options -- -- limit number of songs to improve efficiency property resultLimit : 15 -- whether or not to retrieve/display album artwork for each result property albumArtEnabled : true -- workflow parameters -- -- workflow folders property libraryFolder : (path to library fol...
-- core configuration -- -- configurable options -- -- limit number of songs to improve efficiency property resultLimit : 15 -- whether or not to retrieve/display album artwork for each result property albumArtEnabled : true -- workflow parameters -- -- workflow folders property libraryFolder : (path to library fol...
Fix playgenre filter including songs from disparate genres
Fix playgenre filter including songs from disparate genres This is because the original implementation of playgenre assumed that a given album contained songs from the same genre. However, there are real-world cases where an album can contain songs from multiple genres. Fixing this also improved the performance of pla...
AppleScript
mit
caleb531/play-song,caleb531/play-song
ef7694444938ab899fb5fad6c99fc7e4c5b0148a
resources/config.applescript
resources/config.applescript
-- core configuration -- -- configurable options -- -- limit number of songs to improve efficiency property resultLimit : 25 -- whether or not to retrieve/display album artwork for each result property albumArtEnabled : true -- workflow parameters -- property homeFolder : (path to home folder as text) property libr...
-- core configuration -- -- configurable options -- -- limit number of songs to improve efficiency property resultLimit : 25 -- whether or not to retrieve/display album artwork for each result property albumArtEnabled : true -- workflow parameters -- property homeFolder : (path to home folder as text) property libr...
Reduce usage of ambiguous variable name theSongs
Reduce usage of ambiguous variable name theSongs
AppleScript
mit
caleb531/play-song,caleb531/play-song
3e9fae2fc86014b80eedc757c3ddc6ad77a54fc4
actions/play-direct.applescript
actions/play-direct.applescript
-- plays selected song or playlist directly (the Play Song v1 behavior) -- for songs, this behavior continues playing music after the song finishes on loadConfig() return (load script POSIX file (do shell script "./resources/compile-config.sh")) end loadConfig on run query set config to loadConfig() set typeAndId...
-- plays selected song or playlist directly (the Play Song v1 behavior) -- for songs, this behavior continues playing music after the song finishes on loadConfig() return (load script POSIX file (do shell script "./resources/compile-config.sh")) end loadConfig on run query set config to loadConfig() set typeAndId...
Fix bug where Apple Music playlists could not be played
Fix bug where Apple Music playlists could not be played The bug in question was a regression introduced in c309730.
AppleScript
mit
caleb531/play-song,caleb531/play-song
4035e6259c5f0ac5ee56122621bd5f60199f2d07
XcodeWayExtensions/Script/XcodeWayScript.scpt
XcodeWayExtensions/Script/XcodeWayScript.scpt
use scripting additions use framework "Foundation" property NSString : a reference to current application's NSString -- Helper on myRemoveLastPath(myPath) set myString to NSString's stringWithString:myPath set removedLastPathString to myString's stringByDeletingLastPathComponent removedLastPathString as text end myRe...
use scripting additions use framework "Foundation" property NSString : a reference to current application's NSString -- Helper on myRemoveLastPath(myPath) set myString to NSString's stringWithString:myPath set removedLastPathString to myString's stringByDeletingLastPathComponent removedLastPathString as text end myRe...
Update script to open DerivedData folder
Update script to open DerivedData folder
AppleScript
mit
onmyway133/XcodeWay,onmyway133/XcodeWay
bbf9ead2c4cfa563f9bd9e08d90c27e16b7ba226
applescripts/open_vagrant.applescript
applescripts/open_vagrant.applescript
set open_vagrant to "cd ~/uberVU/puppet && vagrant up" tell application "iTerm" activate try set mysession to current session of current terminal on error set myterm to (make new terminal) tell myterm launch session "Default" set mysession to current session end tell end try tell mysession write ...
set open_vagrant to "cd ~/uberVU/puppet/hs_analytics_vagrant && git pull && vagrant up" tell application "iTerm" activate try set mysession to current session of current terminal on error set myterm to (make new terminal) tell myterm launch session "Default" set mysession to current session end tell ...
Update Vagrant path
Update Vagrant path
AppleScript
mit
smathson/dotfiles
5c88445e366b15d4a4700b7f9a10a6915ff6b20b
Xmod/Xmod.applescript
Xmod/Xmod.applescript
tell application "Xcode" if not (exists active project document) then error "No active project. Please open an Xcode project and re-run the script." try my updateProjectXmod(project of active project document) on error errMsg my logger("Xmod.scpt exception: " & errMsg) end try end tell on updateProjectXmod(...
tell application "Xcode" if not (exists active project document) then error "No active project. Please open an Xcode project and re-run the script." try my updateProjectXmod(project of active project document) on error errMsg my logger("Xmod.scpt exception: " & errMsg) end try end tell on updateProjectXmod(...
add .h human+machine header files to project (in addition to current .m + .mm files). Closes #1.
[CHANGE] Xmo'd: add .h human+machine header files to project (in addition to current .m + .mm files). Closes #1.
AppleScript
mit
hardikdevios/mogenerator,adozenlines/mogenerator,skywinder/mogenerator,rentzsch/mogenerator,iv-mexx/mogenerator,anton-matosov/mogenerator,rentzsch/mogenerator,iv-mexx/mogenerator,skywinder/mogenerator,fizker/mogenerator,anton-matosov/mogenerator,pronebird/mogenerator,kostiakoval/mogenerator,adozenlines/mogenerator,Erin...
ba14cdb482c61dfae762aab976f25299fb11e640
scripts/clear-notifications.scpt
scripts/clear-notifications.scpt
FasdUAS 1.101.10 k l I .miscactvnullnull m  @alisp Macintosh HDBDNotificationCenter.app...
FasdUAS 1.101.10 k i I (0clearnotificationsclearNotifications k   I .miscactvnullnull m  @alisp Macint...
Fix up clear notifs to put all into a handler
Fix up clear notifs to put all into a handler
AppleScript
mit
nicksergeant/dotfiles,nicksergeant/dotfiles
d7b86bcbf56242a99c6a17959ef573d69de637b8
etc/pdf.scpt
etc/pdf.scpt
############################ # How to generate the PDFs # ############################ # 1. Generate Cover.pdf with latest version date # a. Create "ebook" folder in ~/Downloads # b. update date in cover.html # c. open in safari file:///Users/frank/Sites/ServerlessStackCom/etc/cover.html # d. "Export to PDF...
############################ # How to generate the PDFs # ############################ # 1. Generate Cover.pdf with latest version date # a. Create "ebook" folder in ~/Downloads # b. update date in cover.html # c. open in safari file:///Users/frank/Sites/ServerlessStackCom/etc/cover.html # d. "Export to PDF...
Remove extra line breaker in pdf script
Remove extra line breaker in pdf script
AppleScript
mit
AnomalyInnovations/serverless-stack-com,AnomalyInnovations/serverless-stack-com
9ed54eed707ab732491b75be4fe330dc5435cbb2
macosx/scripts/wake-up.applescript
macosx/scripts/wake-up.applescript
-- Original script from Murphy Mac at http://murphymac.com/itunes-alarm-clock/ -- Start iTunes from cron and slowly bring volume up tell application "iTunes" set volume 1 set sound volume to 1 play playlist "Wake-Up" set x to 0 repeat until x >= 100 set x to x + 10 if x <= 10...
-- Original script from Murphy Mac at http://murphymac.com/itunes-alarm-clock/ -- Start iTunes from cron and slowly bring volume up tell application "System Events" tell process "iTunes" -- Switch to the speakers in my bedroom set frontmost to true click button 15 of window 1 -- Remote Speakers Menu ...
Update wake-up script to switch to my remote speakers
Update wake-up script to switch to my remote speakers
AppleScript
bsd-3-clause
pjones/emacsrc
3a0ef8efa35c3f916927b5e97a4e551587bd4262
resources/config.applescript
resources/config.applescript
-- core configuration -- -- configurable options -- -- limit number of songs to improve efficiency property resultLimit : 15 -- whether or not to retrieve/display album artwork for each result property albumArtEnabled : true -- workflow parameters -- -- workflow folders property libraryFolder : (path to library fol...
-- core configuration -- -- configurable options -- -- limit number of songs to improve efficiency property resultLimit : 15 -- whether or not to retrieve/display album artwork for each result property albumArtEnabled : true -- workflow parameters -- -- workflow folders property libraryFolder : (path to library fol...
Add support for cmd-c and cmd-l on results
Add support for cmd-c and cmd-l on results
AppleScript
mit
caleb531/play-song,caleb531/play-song
f8ccb8bb6389ad4c0a0958efd57c3c890b7d6dba
script/start_install.scpt
script/start_install.scpt
#!/usr/bin/env osascript -- Fist: Click Install Button set timeoutSeconds to 1.0 my doWithTimeout("click UI Element \"Install\" of window 1 of application process \"Install Command Line Developer Tools\"", timeoutSeconds) my doWithTimeout("click UI Element \"Agree\" of window 1 of application process \"Install Comman...
#!/usr/bin/env osascript -- Fist: Click Install Button set timeoutSeconds to 1.0 my doWithTimeout("click UI Element \"Install\" of window 1 of application process \"Install Command Line Developer Tools\"", timeoutSeconds) my doWithTimeout("click UI Element \"Agree\" of window 1 of application process \"Install Comman...
Fix error message
Fix error message
AppleScript
mit
k0kubun/rebuild,k0kubun/rebuild
6021fc10019fccf0a8496bd8ad32a40d2c07f78f
tests/applescript/alfred.bundler.applescript
tests/applescript/alfred.bundler.applescript
global B set B to my _load_bundler() property the_bundler : missing value (* /// MAIN API FUNCTIONS /// *) on load_utility(_name, _version, _json) if the_bundler is not equal to true then my _bootstrap() end if try set utility to B's load_utility(_name, _version, _json) return utility on error set B to...
global B set B to my _load_bundler() property the_bundler : missing value (* /// MAIN API FUNCTIONS /// *) on load_utility(_name, _version, _json) if the_bundler is not equal to true then my _bootstrap() end if try set utility to B's load_utility(_name, _version, _json) return utility on error set B to ...
set AB_BRANCH for testing `_bootstrap()`
set AB_BRANCH for testing `_bootstrap()`
AppleScript
mit
shawnrice/alfred-bundler,shawnrice/alfred-bundler,shawnrice/alfred-bundler,shawnrice/alfred-bundler,shawnrice/alfred-bundler
d1ca4b118c185b7dd44bc36c616775e2f7d043d4
Scripts/Ctags/Update.applescript
Scripts/Ctags/Update.applescript
-- Update ctags file for currently active project if it already exists -- Determine the project root directory on getProjectRoot() tell application "BBEdit" set activeWindow to front window if (class of activeWindow is not project window) then return missing value end if set projectDocument to projec...
-- Update ctags file for currently active project if it already exists -- Determine the project root directory on getProjectRoot() tell application "BBEdit" set activeWindow to front window if (class of activeWindow is not project window) then return missing value end if set projectDocument to projec...
Fix ctags update script
Fix ctags update script Path to create script was wrong
AppleScript
mit
ascarter/BBEditSupport,ascarter/BBEditSupport,ascarter/BBEditSupport,ascarter/BBEditSupport
2843f7d2cdde7208a4fbaf66e0d5aa1ae2cc95ea
QuickStats/QuickStats.applescript
QuickStats/QuickStats.applescript
property pTitle : "OmniFocus: Quick Stats" property pVersion : "2.07.brett" property pstrDBPath : "$HOME/Library/Caches/com.omnigroup.OmniFocus/OmniFocusDatabase2" property pstrMinOSX : "10.6" property pTimeOut : 20 -- Original version: https://github.com/RobTrew/tree-tools/blob/master/OmniFocus%20scripts/Statistics...
property pTitle : "OmniFocus: Quick Stats" property pVersion : "2.07.brett" property pstrDBPath : "$HOME/Library/Caches/com.omnigroup.OmniFocus/OmniFocusDatabase2" property pstrMinOSX : "10.6" property pTimeOut : 20 -- Original version: https://github.com/RobTrew/tree-tools/blob/master/OmniFocus%20scripts/Statistics...
simplify quoting
simplify quoting
AppleScript
apache-2.0
brettporter/omnifocus-tools
7804f37a9fa67af97b46237f364c20213cdec2d2
tube/autoload/tube/applescript/iterm.applescript
tube/autoload/tube/applescript/iterm.applescript
-- iterm.applescript --- -- this script requires an argument that represent the command to execute on run argv set command to (item 1 of argv) tell application iTerm2 tell current session of first window write text command end tell end tell end run
on run argv set command to (item 1 of argv) tell application iTerm2 set _window to (current window) if _window is equal to missing value then create window with default profile end if tell current window tell current session write text command end tel...
Update script
Update script
AppleScript
mit
alisnic/tube.vim
38f480b4a9f54539a143327979c6573c5c8cadb7
script/start_install.scpt
script/start_install.scpt
#!/usr/bin/env osascript -- Fist: Click Install Button set timeoutSeconds to 8.0 my doWithTimeout("click UI Element \"Install\" of window 1 of application process \"Install Command Line Developer Tools\"", timeoutSeconds) my doWithTimeout("click UI Element \"Agree\" of window 1 of application process \"Install Comman...
#!/usr/bin/env osascript -- Fist: Click Install Button set timeoutSeconds to 1.0 my doWithTimeout("click UI Element \"Install\" of window 1 of application process \"Install Command Line Developer Tools\"", timeoutSeconds) my doWithTimeout("click UI Element \"Agree\" of window 1 of application process \"Install Comman...
Change delay
Change delay
AppleScript
mit
k0kubun/rebuild,k0kubun/rebuild
ddc30fc9a498c78c2b58d63ef42ca17876e5ef1d
BatchManager/BatchManagerScripts/ForceRunCompuCell.scpt
BatchManager/BatchManagerScripts/ForceRunCompuCell.scpt
FasdUAS 1.101.10 k l  O  r m  boovtrue n 1  pisf 4   prcs mcc3d_python m...
FasdUAS 1.101.10 k l I .sysodelanullnmbr m l O r  m  boovtrue n 1  pisf 4   prcs m cc3d_python m...
Fix minor error on mac where autorun CompuCell would send the run simulation command to CompuCell before it was open
Fix minor error on mac where autorun CompuCell would send the run simulation command to CompuCell before it was open
AppleScript
mit
ram8647/tcseg,ram8647/tcseg,ram8647/tcseg
fea9048e53742f63f867f60937203cf17597828e
indra/newview/installers/darwin/set-labels.applescript
indra/newview/installers/darwin/set-labels.applescript
-- This Applescript changes all of the icon labels on the disk image to -- a different color. -- Usage: osascript set-labels.applescript <volume-name> -- where <volume-name> is the volume name of the disk image. on run argv tell application "Finder" set diskname to item 1 of argv set file_list to every file in d...
-- This Applescript changes all of the icon labels on the disk image to -- a different color. -- Usage: osascript set-labels.applescript <volume-name> -- where <volume-name> is the volume name of the disk image. on run argv tell application "Finder" set diskname to item 1 of argv tell disk diskname set file_l...
Make Mac disk image packager set application icon location more reliably.
Make Mac disk image packager set application icon location more reliably.
AppleScript
lgpl-2.1
gabeharms/firestorm,gabeharms/firestorm,gabeharms/firestorm,gabeharms/firestorm,gabeharms/firestorm,gabeharms/firestorm,gabeharms/firestorm,gabeharms/firestorm,gabeharms/firestorm
d91fd503747390df446cad1fa1cacb5666e9d4ee
script/open_shortcuts.scpt
script/open_shortcuts.scpt
-- vim-anywhere - use Vim whenever, wherever -- Author: Chris Knadler -- Homepage: https://www.github.com/cknadler/vim-anywhere -- -- Open the keyboard shortcuts tab of keyboard system preferences tell application "System Preferences" activate reveal anchor "shortcutsTab" of pane id "com.apple.preference.keyboard"...
-- vim-anywhere - use Vim whenever, wherever -- Author: Chris Knadler -- Homepage: https://www.github.com/cknadler/vim-anywhere -- -- Open the "Services" keyboard shortcuts tab of keyboard system preferences tell application "System Preferences" activate reveal anchor "shortcutsTab" of pane id "com.apple.preferenc...
Fix open_shortcuts
Fix open_shortcuts
AppleScript
mit
cknadler/vim-anywhere
11c21504a38704811093ded02dc7dd6e930fed6a
scripts/track/finder.tmpl.scpt
scripts/track/finder.tmpl.scpt
tell application "iTunes" set specified_tracks to (every track whose #{conditions}) set json to "[" repeat with specified_track in specified_tracks set props to {} set end of props to "{" set end of props to ("\"persistent_id\":\"" & persistent ID of specified_track & "\",") set end of props to ...
tell application "iTunes" set specified_tracks to (every track whose #{conditions}) set json to "[" repeat with specified_track in specified_tracks set props to {} set end of props to "{" set end of props to ("\"persistent_id\":\"" & persistent ID of specified_track & "\",") set end of props to ...
Delete trailing whitespace
Delete trailing whitespace
AppleScript
mit
katsuma/itunes-client
b582b23092cd681c0cc416a3605737b8646c13be
keynote.applescript
keynote.applescript
on newPresentation(themeName) tell application "Keynote" activate -- FIXME: Make this selectable? set targetWidth to 1024 -- 1440 <-- higher resolution set targetHeight to 768 -- 1080 <-- higher resolution set props to {document theme:theme (themeName as string), width:targetWidth, height:targetHeight} s...
on newPresentation(themeName) tell application "Keynote" activate -- FIXME: Make this selectable? set targetWidth to 1024 -- 1440 <-- higher resolution set targetHeight to 768 -- 1080 <-- higher resolution set props to {document theme:theme (themeName as string), width:targetWidth, height:targetHeight} s...
Add openPresentation
Add openPresentation
AppleScript
mit
persquare/md2keynote
e1dd0bf0abf0f2c687018ceaf9c23707f430847c
library/standalone/BBEdit_upgrade_SQL_Query_to_newer_format.applescript
library/standalone/BBEdit_upgrade_SQL_Query_to_newer_format.applescript
-- BBEdit_upgrade_SQL_Query_to_newer_format({}) -- Dan Shockley, NYHTC -- BBEdit - upgrade SQL Query to newer format (* HISTORY: 1.1 - 2017-12-11 ( dshockley ): disable the usually no-longer-needed SQL_EscapeString, but WARN and comment, since it might sitll be needed when using with something OTHER THAN SQL_Where cr...
-- BBEdit_upgrade_SQL_Query_to_newer_format({}) -- Dan Shockley, NYHTC -- BBEdit - upgrade SQL Query to newer format (* HISTORY: 1.2 - 2018-05-22 ( dshockley ): modified to also convert the query to use List to separate the components of the query. 1.1 - 2017-12-11 ( dshockley ): disable the usually no-longer-neede...
use List to format query
use List to format query
AppleScript
mit
NYHTC/applescript-fm-helper
fabf4bba5f4026095b77924df42d29785775d1ac
macosx/scripts/iChat/growl.scpt
macosx/scripts/iChat/growl.scpt
using terms from application "iChat" on message received message from theBuddy for textChat set whoDidIt to full name of theBuddy set buddyIcon to image of theBuddy set window_name to "Not iChat" tell application "System Events" set frontApp to name of first application process whose frontm...
using terms from application "iChat" on message received message from theBuddy for textChat set whoDidIt to full name of theBuddy set buddyIcon to image of theBuddy tell application "System Events" set frontApp to name of first application process whose frontmost is true end tell if fr...
Fix some bugs in iChat growl
Fix some bugs in iChat growl
AppleScript
bsd-3-clause
pjones/emacsrc
83a998ecff08e3022894f03af002f0048c60410c
dictlook-ui.scpt
dictlook-ui.scpt
on run {input} try do shell script "$HOME/Dropbox\\ \\(Personal\\)/projects/plover-tools/plover-dictionary-lookup/dictlook -x " & "\"" & input & "\"" display dialog result buttons {"OK"} default button 1 on error display dialog "No such luck." buttons {"OK"} default button 1 beep end try end run
on run {input} try do shell script "$HOME/Dropbox\\ \\(Personal\\)/projects/plover-tools/plover-dictionary-lookup/dictlook -x " & "\"" & input & "\"" display dialog result default answer "" buttons {"OK"} default button 1 on error display dialog "No such luck." buttons {"OK"} default button 1 beep ...
Add practice text area to lookup dialog
Add practice text area to lookup dialog
AppleScript
unlicense
dimonster/plover-dictionary-lookup
56a74929a15468f49479927c8cfe676cd03e1e1a
QuickStats/QuickStats.applescript
QuickStats/QuickStats.applescript
property pTitle : "OmniFocus: Quick Stats" property pVersion : "2.07.brett" property pstrDBPath : "$HOME/Library/Containers/com.omnigroup.OmniFocus2/Data/Library/Caches/com.omnigroup.OmniFocus/OmniFocusDatabase2" property pstrMinOSX : "10.9" property pTimeOut : 30 -- Original version: https://github.com/RobTrew/tree...
property pTitle : "OmniFocus: Quick Stats" property pVersion : "2.07.brett" property pstrDBPath : "$HOME/Library/Containers/com.omnigroup.OmniFocus2/Data/Library/Caches/com.omnigroup.OmniFocus/OmniFocusDatabase2" property pstrMinOSX : "10.9" property pTimeOut : 30 -- Original version: https://github.com/RobTrew/tree...
bring summary and actions to top, trim list in brief mode
bring summary and actions to top, trim list in brief mode
AppleScript
apache-2.0
brettporter/omnifocus-tools
207414b281cd3df97d5fe1329168339522838344
library/fmGUI_ManageDatabase/fmGUI_ManageDb_Open.applescript
library/fmGUI_ManageDatabase/fmGUI_ManageDb_Open.applescript
-- fmGUI_ManageDb_Open(prefs) -- Daniel A. Shockley, NYHTC -- Open Manage Database (* HISTORY: 1.4 - 2020-05-20 ( dshockley ): added multiple missing sub-handlers. Removed referfence to old sub-handler. 1.3 - 2018-04-30 ( eshagdar ): get window name via handler. 1.2 - added xDBC connection error trapping 1.1 - ...
-- fmGUI_ManageDb_Open(prefs) -- Daniel A. Shockley, NYHTC -- Open Manage Database (* HISTORY: 1.4 - 2020-05-20 ( dshockley ): added multiple missing sub-handlers. Removed referfence to old sub-handler. 1.3 - 2018-04-30 ( eshagdar ): get window name via handler. 1.2 - added xDBC connection error trapping 1.1 - ...
fix sub-handler params
fix sub-handler params
AppleScript
mit
NYHTC/applescript-fm-helper
c9b66cf239a9aa19a6e64c67da9566b2bcb7a68a
status.applescript
status.applescript
on is_running(appName) tell application "System Events" to (name of processes) contains appName end is_running set nl to " " if is_running("Hermes") then tell application "Hermes" return "__RUNNING__" & nl & current song's title & nl & current song's artist & nl & current song's album & nl & curre...
on is_running(appName) tell application "System Events" to (name of processes) contains appName end is_running set nl to " " if is_running("Hermes") then tell application "Hermes" return "__RUNNING__" & nl & ¬ current song's title & nl & ¬ current song's artist & nl & ¬ current song's album & nl & ¬ c...
Convert status.applescript to UTF-8
Convert status.applescript to UTF-8
AppleScript
mit
winny-/HermesRemote,winny-/HermesRemote
ee73f671ddba5b8b2f2bec6b17bae26e3a259cb5
thumbscrew.scpt
thumbscrew.scpt
property thumbSize : 480 on getImages(f) tell application "Finder" to return (files of folder f) as alias list end getImages on run argv set keynotePresentation to item 1 of argv set tmpKeynotePresentation to item 2 of argv set keynotePresentation to (POSIX file keynotePresentation) as alias set tmpkeynote...
-- thumbscrew.scpt -- usage: thumbscript.scpt <path_to_root_dir> <path_to_keynotePresentation> <presentation_name> -- -- Will create scaled thumbnails of length `thumbSize` in the directory -- <path_to_root_dir>/.keynote/<presentation> property thumbSize : 480 property thumbnailDir: "keynotes" on getImages(f) tell a...
update applescript to work with a filter
update applescript to work with a filter
AppleScript
mit
helaili/thumbscrew,azizshamim/thumbscrew
110e250505efabd75064a8b8fd0d8cc2f430cbf1
applescript/notifyme.applescript
applescript/notifyme.applescript
#!/usr/bin/env osascript -- see http://frantic.im/notify-on-completion on run argv tell application "System Events" set frontApp to name of first application process whose frontmost is true if frontApp is not "HyperTerm" then set notifTitle to item 1 of argv set notifBody to "succeded" set ...
#!/usr/bin/env osascript -- see http://frantic.im/notify-on-completion on run argv tell application "System Events" set frontApp to name of first application process whose frontmost is true if frontApp is not "iTerm2" then set notifTitle to item 1 of argv set notifBody to "succeded" set err...
Revert ":wrench: notifyme script: use HyperTerm instead of iTerm"
Revert ":wrench: notifyme script: use HyperTerm instead of iTerm" This reverts commit 17cba7446fc7fffc5bb5d09646fc11f3a5a68bdc.
AppleScript
unlicense
mistadikay/dotfiles
80fdbab816472343c251e43134305732b58152cc
itunes-concatenator/itunes-concatenator/DASAppDelegate.applescript
itunes-concatenator/itunes-concatenator/DASAppDelegate.applescript
-- -- DASAppDelegate.applescript -- itunes-concatenator -- -- Created by David Schlachter on 2014-08-26. -- Copyright (c) 2014 Red Eft Software. All rights reserved. -- -- via http://macscripter.net/viewtopic.php?pid=173787 ; apparently needed for using arrays script DASAppDelegate property parent : class "NSObj...
-- -- DASAppDelegate.applescript -- itunes-concatenator -- -- Created by David Schlachter on 2014-08-26. -- Copyright (c) 2014 Red Eft Software. All rights reserved. -- -- via http://macscripter.net/viewtopic.php?pid=173787 ; apparently needed for using arrays script DASAppDelegate property parent : class "NSObj...
Reset the name and track w/new batches
Reset the name and track w/new batches
AppleScript
bsd-2-clause
davidschlachter/itunes-concatenator,davidschlachter/itunes-concatenator
0793e09795672dbda0c754865b617dadc46cdd41
resources/config.applescript
resources/config.applescript
-- core configuration -- -- configurable options -- -- limit number of songs to improve efficiency property resultLimit : 25 -- whether or not to retrieve/display album artwork for each result property albumArtEnabled : true -- workflow parameters -- property homeFolder : (path to home folder as text) property libr...
-- core configuration -- -- configurable options -- -- limit number of songs to improve efficiency property resultLimit : 25 -- whether or not to retrieve/display album artwork for each result property albumArtEnabled : true -- workflow parameters -- property homeFolder : (path to home folder as text) property libr...
Fix performance degredation introduced by 67b1c92
Fix performance degredation introduced by 67b1c92 This change effectively reverts 67b1c92 while also making a small tweak to prevent the reappearance of duplicate results.
AppleScript
mit
caleb531/play-song,caleb531/play-song
d7f825bf51f42726f85b82ad495f83206a039690
applescripts/halt_vagrant.applescript
applescripts/halt_vagrant.applescript
set close_vagrant to "z puppet; git pull; vagrant halt -f;" -- close vagrant tell application "iTerm" activate set myterm to (make new terminal) tell myterm launch session "Default" set mysession to current session end tell tell mysession write text close_vagrant end tell delay 5 end tell -- quit iTerm...
set close_vagrant to "z puppet; vagrant halt -f;" -- close vagrant tell application "iTerm" activate set myterm to (make new terminal) tell myterm launch session "Default" set mysession to current session end tell tell mysession write text close_vagrant end tell delay 5 end tell -- quit iTerm ignoring ...
Remove git pull from closing Vagrant
Remove git pull from closing Vagrant
AppleScript
mit
smathson/dotfiles
f86f9827824ce3a105e55d6c3d713e1fce934058
applescripts/open_chrome_tabs.applescript
applescripts/open_chrome_tabs.applescript
set myTabs to {"http://app.getsentry.com/", "http://app.ubervu.com/", "http://github.com/uberVU/thehole/issues/assigned/palcu?direction=desc&labels=&milestone=&page=1&sort=updated&state=open/", "https://mail.google.com/mail/u/1/?shva=1#inbox", "https://drive.google.com/a/ubervu.com/#folders/0BzycGIkC5P50TXBlcTZoRXZ5VUE...
set myTabs to {"http://app.getsentry.com/", "http://github.com/uberVU/thehole/issues/assigned/palcu?direction=desc&labels=&milestone=&page=1&sort=updated&state=open/", "https://mail.google.com/mail/u/1/?shva=1#inbox", "https://drive.google.com/a/hootsuite.com/#folders/0BwuFsHJDxJWPYmxXQ1VQVlN6T2M"} tell application "Go...
Change tabs to open at work
Change tabs to open at work
AppleScript
mit
smathson/dotfiles
6152fd762bfa11bbcea3880ddb957594933e714b
scripts/track/finder.tmpl.scpt
scripts/track/finder.tmpl.scpt
tell application "iTunes" set specified_tracks to (every track whose #{conditions}) set json to "[" repeat with specified_track in specified_tracks set props to {} set prop_name to name of specified_track set end of props to "{" set end of props to ("\"persistent_id\":\"" & persistent ID of spe...
tell application "iTunes" set specified_tracks to (every track whose #{conditions}) set json to "[" repeat with specified_track in specified_tracks set props to {} set end of props to "{" set end of props to ("\"persistent_id\":\"" & persistent ID of specified_track & "\",") set end of props to ...
Remove debug code.
Remove debug code.
AppleScript
mit
katsuma/itunes-client
503881ae6b5f4b236bc0b559302b23615f44516c
dated_deleter.scpt
dated_deleter.scpt
-- stolen from: https://discussions.apple.com/thread/3172966 property keyPhrase : "Trashed on: " property securityLevel : 2 -- overwrites: 1=1-pass, 2=7-pass, 3=35-pass, see man srm property daysToWait : 7 tell application "Finder" -- get files in trash that are not new, and check dates set oldFiles to (...
-- stolen from: https://discussions.apple.com/thread/3172966 property keyPhrase : "Trashed on: " property securityLevel : 2 -- overwrites: 1=1-pass, 2=7-pass, 3=35-pass, see man srm property daysToWait : 7 tell application "Finder" -- get files in trash that are not new, and check dates set oldFiles to (...
allow for unusual short date strings
allow for unusual short date strings
AppleScript
mit
Mausy5043/OSX-EmptyTrash
85dee6d965065091fca60395e17a2dec7256671b
resources/config.applescript
resources/config.applescript
-- core configuration -- -- configurable options -- -- limit number of songs to improve efficiency property resultLimit : 15 -- whether or not to retrieve/display album artwork for each result property albumArtEnabled : true -- workflow parameters -- property homeFolder : (path to home folder as text) property libr...
-- core configuration -- -- configurable options -- -- limit number of songs to improve efficiency property resultLimit : 15 -- whether or not to retrieve/display album artwork for each result property albumArtEnabled : true -- workflow parameters -- property homeFolder : (path to home folder as text) property libr...
Use "No Artwork" icon for shared tracks
Use "No Artwork" icon for shared tracks
AppleScript
mit
caleb531/play-song,caleb531/play-song
1031074d0d92af86e032d1d05b06f4bf057b1dcc
resources/config.applescript
resources/config.applescript
-- core configuration -- -- configurable options -- -- limit number of songs to improve efficiency property resultLimit : 15 -- whether or not to retrieve/display album artwork for each result property albumArtEnabled : true -- workflow parameters -- -- workflow folders property libraryFolder : (path to library fol...
-- core configuration -- -- configurable options -- -- limit number of songs to improve efficiency property resultLimit : 15 -- whether or not to retrieve/display album artwork for each result property albumArtEnabled : true -- workflow parameters -- -- workflow folders property libraryFolder : (path to library fol...
Return in getGenreSongs like other functions
Return in getGenreSongs like other functions
AppleScript
mit
caleb531/play-song,caleb531/play-song
b03d8ba9fda01e24264d73b4d94b93c108bee6aa
scripts/reset_simulator.applescript
scripts/reset_simulator.applescript
(* commented out printer section for now tell application "iPhone Simulator" to activate tell application "System Events" tell process "iPhone Simulator" tell menu bar 1 tell menu bar item "File" tell menu "File" click menu item "Open Printer Simulator" ...
(* commented out printer section for now tell application "iPhone Simulator" to activate tell application "System Events" tell process "iPhone Simulator" tell menu bar 1 tell menu bar item "File" tell menu "File" click menu item "Open Printer Simulator" ...
fix reset simulator script for new apple software versions
fix reset simulator script for new apple software versions
AppleScript
apache-2.0
paypal/Illuminator,ifreecarve/Illuminator,ifreecarve/Illuminator,ifreecarve/Illuminator,drptbl/Illuminator,ifreecarve/Illuminator,drptbl/Illuminator,drptbl/Illuminator,drptbl/Illuminator,paypal/Illuminator
63d331cdba9cf2a0321cc593ce85cca8ea6f03d2
svgodrop.applescript
svgodrop.applescript
(* SVGOdrop 1.0.1 (c) 2016 Superpixel, Nico Rohrbach *) property extension_list : {"svg"} property pretty_code : true property remove_title : true property remove_desc : true on run set these_items to choose file with multiple selections allowed check_files(these_items) end run on open these_items check_files(...
(* SVGOdrop 1.0.2 (c) 2016 Superpixel, Nico Rohrbach *) property extension_list : {"svg"} property pretty_code : true property remove_title : true property remove_desc : true on run if isSVGOInstalled() is false then beep display alert "SVGO seem not to be installed!" message "Install the tool via \"npm i...
check for the presence of SVGO on launch
check for the presence of SVGO on launch
AppleScript
mit
superpixel/SVGOdrop
95d823a466dc795a65a7b53b185c626579494c08
Uninstall.applescript
Uninstall.applescript
property stdout : "" on run set newline to ASCII character 10 set stdout to stdout & " shutdown TotalFinderCrashWatcher ..." & newline try do shell script "killall -SIGINT TotalFinderCrashWatcher" with administrator privileges on error set stdout to stdout & " TotalFinderCrashWatcher not running" & newlin...
property stdout : "" on run set newline to ASCII character 10 set stdout to stdout & " shutdown TotalFinderCrashWatcher ..." & newline try do shell script "killall -SIGINT TotalFinderCrashWatcher" with administrator privileges on error set stdout to stdout & " TotalFinderCrashWatcher was not running" & ne...
add final message to the uninstaller
add final message to the uninstaller
AppleScript
bsd-3-clause
binaryage/totalfinder-installer
bf2785dd256e04fa1ca204a6d5eeabcbb27971cc
src/Resources/package.applescript
src/Resources/package.applescript
-- Go AppleScript library property package : "Go" property packageRoot : missing value -- Get working directory for a given document on getWorkingDirectory(doc) tell application "Finder" return POSIX path of ((container of ((file of doc) as alias) as string)) end tell end getWorkingDirectory -- Find Go.bbpackage...
-- Go AppleScript library property package : "Go" property packageRoot : missing value -- Get working directory for a given document on getWorkingDirectory(doc) tell application "Finder" return POSIX path of ((container of ((file of doc) as alias) as string)) end tell end getWorkingDirectory -- Find Go.bbpackage...
Change comments to be proper AppleScript style
Change comments to be proper AppleScript style
AppleScript
mit
ascarter/Go.bbpackage,grmartin/Go-bbpackage,ascarter/Go-bbpackage,ascarter/Go.bbpackage,grmartin/Go-bbpackage,grmartin/Go-bbpackage,ascarter/Go-bbpackage,ascarter/Go-bbpackage,ascarter/Go.bbpackage
6e11027e160c9fea709e1266c9f8d5be978e23ba
log_page.applescript
log_page.applescript
(* Log Page - Log categorized web page bookmarks to a text file Version: @@VERSION@@ Date: 2011-02-09 Author: Steve Wheeler Get the title, URL, current date and time, and a user-definable category for the frontmost Safari window and log the info to a text file. This program is free software available und...
(* Log Page - Log categorized web page bookmarks to a text file Version: @@VERSION@@ Date: 2011-02-09 Author: Steve Wheeler Get the title, URL, current date and time, and a user-definable category for the frontmost Safari window and log the info to a text file. This program is free software available und...
Add "Edit Log" action
Add "Edit Log" action
AppleScript
bsd-3-clause
jazzhead/log-page,jazzhead/log-page
c2d816b43172bd2b342d8e3e54fe494dc5ad0197
etc/pdf.scpt
etc/pdf.scpt
############################ # How to generate the PDFs # ############################ # 1. Generate Cover.pdf with latest version date # a. Create "ebook" folder in ~/Downloads # b. update date in cover.html # c. open in safari file:///Users/frank/Sites/ServerlessStackCom/etc/cover.html # d. "Export to PDF...
############################ # How to generate the PDFs # ############################ # 1. Generate Cover.pdf with latest version date # a. Create "ebook" folder in ~/Downloads # b. update date in cover.html # c. open in safari file:///Users/frank/Sites/ServerlessStackCom/etc/cover.html # d. "Export to PDF...
Update chapter list in pdf generation script
Update chapter list in pdf generation script
AppleScript
mit
AnomalyInnovations/serverless-stack-com,AnomalyInnovations/serverless-stack-com
b3abb2b37c912ac262165f5c162976b76113b4e0
hammerspoon/connect_sony.applescript
hammerspoon/connect_sony.applescript
activate application "SystemUIServer" tell application "System Events" tell process "SystemUIServer" set btMenu to (menu bar item 1 of menu bar 1 whose description contains "bluetooth") tell btMenu click try tell (menu item "WH-1000XM3" of menu 1) ...
activate application "SystemUIServer" tell application "System Events" tell process "SystemUIServer" set btMenu to (menu bar item 1 of menu bar 1 whose description contains "bluetooth") tell btMenu click try tell (menu item "Rosco's Headphones" of menu 1) ...
Rename headphones
Rename headphones
AppleScript
mit
rkalis/dotfiles,rkalis/dotfiles
7d08a4e2c7766a1d0f04c4020128e3edb1c47ca7
contrib/mac/watch-workers.applescript
contrib/mac/watch-workers.applescript
set broker to "h8.opera.com" set workers to {"h6.opera.com", "h8.opera.com", "h9.opera.com", "h10.opera.com"} tell application "iTerm" activate set myterm to (make new terminal) tell myterm set number of columns to 80 set number of rows to 50 repeat with workerhost in workers ...
set broker to "h8.opera.com" set workers to {"h6.opera.com", "h8.opera.com", "h9.opera.com", "h10.opera.com"} set clock to "h6.opera.com" tell application "iTerm" activate set myterm to (make new terminal) tell myterm set number of columns to 80 set number of rows to 50 repeat with w...
Update the watch workers applescript to watch the celerybeat log file.
Update the watch workers applescript to watch the celerybeat log file.
AppleScript
bsd-3-clause
frac/celery,mitsuhiko/celery,ask/celery,frac/celery,WoLpH/celery,cbrepo/celery,mitsuhiko/celery,WoLpH/celery,ask/celery,cbrepo/celery
3dc01c3693fcf24756484ec6c9597e576c470a9a
keynote.applescript
keynote.applescript
on newPresentation(themeName) tell application "Keynote" activate -- FIXME: Make this selectable? set targetWidth to 1024 -- 1440 <-- higher resolution set targetHeight to 768 -- 1080 <-- higher resolution set props to {document theme:theme (themeName as string), width:targetWidth, height:targetHeight} s...
on newPresentation(themeName) tell application "Keynote" activate -- FIXME: Make this selectable? set targetWidth to 1024 -- 1440 <-- higher resolution set targetHeight to 768 -- 1080 <-- higher resolution set props to {document theme:theme (themeName as string), width:targetWidth, height:targetHeight} s...
Add deleteAllSlides
Add deleteAllSlides
AppleScript
mit
persquare/md2keynote
a081db731a3f568812e719200162fc6ed3f87c26
files/extra/uninstaller.applescript
files/extra/uninstaller.applescript
try display dialog "Are you sure you want to remove NoEjectDelay?" buttons {"Cancel", "OK"} if the button returned of the result is "OK" then try do shell script "test -f '/Library/Application Support/org.pqrs/NoEjectDelay/uninstall.sh'" try do shell script "sh '/...
try display dialog "Are you sure you want to remove NoEjectDelay?" buttons {"Cancel", "OK"} if the button returned of the result is "OK" then try do shell script "test -f '/Library/Application Support/org.pqrs/NoEjectDelay/uninstall.sh'" try do shell script "sh '/...
add killall at uninstaller.applescript
add killall at uninstaller.applescript
AppleScript
unlicense
tekezo/NoEjectDelay,tekezo/NoEjectDelay,tekezo/NoEjectDelay
624760deb2429e8880fa4b3ffbee4789c066c2a5
Opener/AppDelegate.applescript
Opener/AppDelegate.applescript
-- -- AppDelegate.applescript -- PerianOpener -- -- Created by C.W. Betts on 9/25/13. -- Copyright (c) 2013 Perian Team. All rights reserved. -- script AppDelegate property parent : class "NSObject" on isMavericksOrLater() -- TODO: Implement return yes end isMavericksOrLater on applicationWillFinishLau...
-- -- AppDelegate.applescript -- PerianOpener -- -- Created by C.W. Betts on 9/25/13. -- Copyright (c) 2013 Perian Team. All rights reserved. -- script AppDelegate property parent : class "NSObject" on isMavericksOrLater() set osver to system version of (system info) (* skip the first three characters: We ...
Implement isMavericksOrLater on the updater.
Implement isMavericksOrLater on the updater.
AppleScript
lgpl-2.1
MaddTheSane/perian,MaddTheSane/perian,MaddTheSane/perian,MaddTheSane/perian,MaddTheSane/perian,MaddTheSane/perian
6d11fe3774ad16f29b5f099cdb2dc82ff33db66e
macosx/scripts/iTunes/mobile-speakers.applescript
macosx/scripts/iTunes/mobile-speakers.applescript
(* Script object to make calling a defined function easier while in the iTunes and System Events name space. *) script remoteSpeakerFinder -- Given a list of buttons, find the remote speakers button -- by finding the first button with a name that isn't in a -- rejection list. on findCorrectButton (in_butto...
(* Script object to make calling a defined function easier while in the iTunes and System Events name space. *) script remoteSpeakerFinder -- Given a list of buttons, find the remote speakers button -- by finding the first button with a name that isn't in a -- rejection list. on findCorrectButton (in_butto...
Work around an issue with iTunes 9 that causes it to delay a connection to remote speakers
Work around an issue with iTunes 9 that causes it to delay a connection to remote speakers
AppleScript
bsd-3-clause
pjones/emacsrc
4fa706df5e87b9dd4df0ea572cd7c6914b0b546d
javascript/safari-driver/reinstall.scpt
javascript/safari-driver/reinstall.scpt
#!/usr/bin/osascript (* Copyright 2012 Software Freedom Conservancy. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless re...
#!/usr/bin/osascript (* Copyright 2012 Software Freedom Conservancy. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless re...
Make reinstall.scpt system language independent.
JasonLeyba: Make reinstall.scpt system language independent. r16964
AppleScript
apache-2.0
gurayinan/selenium,kalyanjvn1/selenium,amar-sharma/selenium,jerome-jacob/selenium,knorrium/selenium,BlackSmith/selenium,isaksky/selenium,BlackSmith/selenium,compstak/selenium,lrowe/selenium,Herst/selenium,dibagga/selenium,lilredindy/selenium,Tom-Trumper/selenium,clavery/selenium,meksh/selenium,DrMarcII/selenium,oddui/s...
70ef4fe62b06ca79438400ea702b324ba94c1b71
XcodeWayExtensions/Script/XcodeWayScript.scpt
XcodeWayExtensions/Script/XcodeWayScript.scpt
use scripting additions use framework "Foundation" property NSString : a reference to current application's NSString -- Helper on myRemoveLastPath(myPath) set myString to NSString's stringWithString:myPath set removedLastPathString to myString's stringByDeletingLastPathComponent removedLastPathString as text end myRe...
use scripting additions use framework "Foundation" property NSString : a reference to current application's NSString -- Helper on myRemoveLastPath(myPath) set myString to NSString's stringWithString:myPath set removedLastPathString to myString's stringByDeletingLastPathComponent removedLastPathString as text end myRe...
Update script for open current document
Update script for open current document
AppleScript
mit
onmyway133/XcodeWay,onmyway133/XcodeWay
d47dca835ccb7345b9af35a2e38a5242d910f663
src/scripts/clean-tabs.scpt
src/scripts/clean-tabs.scpt
tell application "Safari" repeat with t in tabs of windows tell t -- If you open lots of windows in Safari, some of this book- -- keeping goes wrong. It will try to look up tab N, except -- tab N was already closed -- error! -- -- For safety, we just catch and discard all errors. ...
tell application "Safari" repeat with t in tabs of windows tell t -- If you open lots of windows in Safari, some of this book- -- keeping goes wrong. It will try to look up tab N, except -- tab N was already closed -- error! -- -- For safety, we just catch and discard all errors. ...
Fix typo in script
Fix typo in script
AppleScript
mit
alexwlchan/safari.rs,alexwlchan/safari.rs
566f1b7b22da3a015ae12141c76d42c2424442d3
recall.applescript
recall.applescript
#!/usr/bin/env osascript set journal to "~/ia/Journal/Journal.txt" tell application "Terminal" set lineCount to (do shell script "wc -l < " & journal) as integer set randomLine to (random number from 1 to lineCount) as integer activate do script "vim -c ':Goyo' -c ':set bg=light' " & journal & ":" & randomLine se...
#!/usr/bin/env osascript set journal to "~/ia/Journal/Journal.txt" tell application "Terminal" set lineCount to (do shell script "wc -l < " & journal) as integer set randomLine to (random number from 1 to lineCount) as integer activate do script "vim -c ':Goyo | set bg=light | " & randomLine & "' " & journal set ...
Update recall script so it works with nvim
Update recall script so it works with nvim
AppleScript
mit
mk12/scripts,mk12/scripts,mk12/scripts,mk12/scripts
74d289ffc4a449e3d4d24d8dd925eff3d56f08bb
keynote.applescript
keynote.applescript
on newPresentation(themeName) tell application "Keynote" activate -- FIXME: Make this selectable? set targetWidth to 1024 -- 1440 <-- higher resolution set targetHeight to 768 -- 1080 <-- higher resolution set props to {document theme:theme (themeName as string), width:targetWidth, height:targetHeight} s...
on newPresentation(themeName) tell application "Keynote" activate -- FIXME: Make this selectable? set targetWidth to 1024 -- 1440 <-- higher resolution set targetHeight to 768 -- 1080 <-- higher resolution set props to {document theme:theme (themeName as string), width:targetWidth, height:targetHeight} s...
Select placeholder for images
Select placeholder for images
AppleScript
mit
persquare/md2keynote
7b92e27d1f01f22ded69d30d1f5438fd033005da
connector-osx-ppt.scpt
connector-osx-ppt.scpt
-- -- slideshow -- Observe and Control Slideshow Applications -- Copyright (c) 2014 Ralf S. Engelschall <http://engelschall.com> -- -- This Source Code Form is subject to the terms of the Mozilla Public -- License (MPL), version 2.0. If a copy of the MPL was not distributed -- with this file, You can obtain one at...
-- -- slideshow -- Observe and Control Slideshow Applications -- Copyright (c) 2014 Ralf S. Engelschall <http://engelschall.com> -- -- This Source Code Form is subject to the terms of the Mozilla Public -- License (MPL), version 2.0. If a copy of the MPL was not distributed -- with this file, You can obtain one at...
simplify the process check
simplify the process check
AppleScript
mpl-2.0
rse/slideshow,rse/slideshow