Dataset Viewer
Auto-converted to Parquet Duplicate
conversations
listlengths
3
3
source
stringclasses
1 value
stack
stringclasses
1 value
[ { "from": "system", "value": "Add explanation of arguments in AppleScript scripts\n" }, { "from": "human", "value": "on run argv\n\ttell application \"iTunes\"\n\t\tset p to first item of argv\n\t\tset a to (p as POSIX file)\n\t\tadd a to playlist (second item of argv)\n\tend tell\nend run\n" ...
applescript
chosen
[ { "from": "system", "value": "Change session name to 'rspec'" }, { "from": "human", "value": "-- execute_iterm.scpt\n-- last change: 19 Jan 2013\n---\n-- this script require an argument that represent the command to execute\n\non run argv\n\n set command to (item 1 of argv)\n \n tell ap...
applescript
chosen
[ { "from": "system", "value": "Fix get state for locales that have commas as decimal delimiters\n\nWhen your current set locale uses \",\" as decimal delimiter, AppleScript\nwill automatically use this when you convert the number to a string. This\nwill break the JSON parsing for the callback, as \",\" is in...
applescript
chosen
[ { "from": "system", "value": "Simplify filterer code so it actually works.\n" }, { "from": "human", "value": "on run\n\ttell application \"BibDesk\"\n\t\ttry\n\t\t\tset alertResult to display alert (\"Really remove all linked files and private notes from \" & name of first document as string) & ...
applescript
chosen
[ { "from": "system", "value": "Change script for rspec command only\n" }, { "from": "human", "value": "-- execute_iterm.scpt\n-- last change: 19 Jan 2013\n---\n-- this script require an argument that represent the command to execute\n\non run argv\n\n set command to (item 1 of argv)\n\n tel...
applescript
chosen
[ { "from": "system", "value": "Remove my $PATH setting from default apple script\n" }, { "from": "human", "value": "# AppleScript folder action for the pdfmatch command\n#\n# Open with script editor, compile and save to\n# ~/Library/Workflows/Applications/Folder\\ Actions/\n#\n# Then open the \"F...
applescript
chosen
[ { "from": "system", "value": "Delete Alfred Play Song playlist when clearing cache\n\nThis is becoming a helpful step when troubleshooting any issues.\n" }, { "from": "human", "value": "-- clears workflow cache, including album artwork and compiled scripts --\n\non loadConfig()\n\treturn (load s...
applescript
chosen
[ { "from": "system", "value": "Set current song to empty string if nothing is playing\n" }, { "from": "human", "value": "set theFolder to POSIX path of ((the path to me as text) & \"::\")\nset Controller to run script (\"script s\" & return & (read alias (POSIX file (theFolder & \"/lib/controller...
applescript
chosen
[ { "from": "system", "value": "Update headphone connect script for Big Sur\n" }, { "from": "human", "value": "activate application \"SystemUIServer\"\ntell application \"System Events\"\n tell process \"SystemUIServer\"\n set btMenu to (menu bar item 1 of menu bar 1 whose description co...
applescript
chosen
[ { "from": "system", "value": "Fix bug where Apple Music playlists could not be played\n\nThe bug in question was a regression introduced in c309730.\n" }, { "from": "human", "value": "-- plays selected song or playlist directly (the Play Song v1 behavior)\n-- for songs, this behavior continues p...
applescript
chosen
[ { "from": "system", "value": "Make Mac disk image packager set application icon location more reliably.\n" }, { "from": "human", "value": "-- This Applescript changes all of the icon labels on the disk image to\n-- a different color.\n-- Usage: osascript set-labels.applescript <volume-name>\n--...
applescript
chosen
[ { "from": "system", "value": "Add practice text area to lookup dialog\n" }, { "from": "human", "value": "on run {input}\r try\r do shell script \"$HOME/Dropbox\\\\ \\\\(Personal\\\\)/projects/plover-tools/plover-dictionary-lookup/dictlook -x \" & \"\\\"\" & input & \"\\\"\"\r display dial...
applescript
chosen
[ { "from": "system", "value": "Remove git pull from closing Vagrant\n" }, { "from": "human", "value": "set close_vagrant to \"z puppet; git pull; vagrant halt -f;\"\n\n-- close vagrant\ntell application \"iTerm\"\n\tactivate\n\tset myterm to (make new terminal)\n\ttell myterm\n\t\tlaunch session ...
applescript
chosen
[ { "from": "system", "value": "Change tabs to open at work\n" }, { "from": "human", "value": "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/\", \"h...
applescript
chosen
[ { "from": "system", "value": "Update the watch workers applescript to watch the celerybeat log file.\n" }, { "from": "human", "value": "set broker to \"h8.opera.com\"\nset workers to {\"h6.opera.com\", \"h8.opera.com\", \"h9.opera.com\", \"h10.opera.com\"}\ntell application \"iTerm\"\n activa...
applescript
chosen
[ { "from": "system", "value": "Work around an issue with iTunes 9 that causes it to delay a\nconnection to remote speakers\n" }, { "from": "human", "value": "(*\n Script object to make calling a defined function easier while in the\n iTunes and System Events name space.\n*)\nscript remoteSpeake...
applescript
chosen
[ { "from": "system", "value": "Update URLs that open at the office\n" }, { "from": "human", "value": "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.c...
applescript
chosen
[ { "from": "system", "value": "Update script to get ALL macros instead of just hotkeyed macros.\n" }, { "from": "human", "value": "try\n\tget application id \"com.stairways.keyboardmaestro.engine\"\non error err_msg number err_num\n\treturn \"Keyboard Maestro not found. First install it and then ...
applescript
chosen
[ { "from": "system", "value": "Add update script to open vagrant applescript\n" }, { "from": "human", "value": "set open_vagrant to \"z puppet; vagrant up;\"\n\ntell application \"iTerm\"\n\tactivate\n\ttry\n\t\tset mysession to current session of current terminal\n\ton error\n\t\tset myterm to (...
applescript
chosen
README.md exists but content is empty.
Downloads last month
7