Opengist

Explore

  • All gists
  • Topics
  • Users
Give feedback on the new UI Powered by Opengist ⋅ 21ms

user:thomas gists created by user

title:mygist gists with given title

description:sync gists with given description

filename:myfile.txt gists having files with given name

extension:yml gists having files with given extension

language:go gists having files with given language

topic:homelab gists with given topic

all:systemctl search all fields

Login
a

applescript

Recently created Least recently created Recently updated Least recently updated
Rich

Rich / active-finder

Last active 1 hour ago applescript automation

Get selected items in active Finder window

0 0 1
1 #!/usr/bin/osascript
2 on convertListToString(theList, theDelimiter)
3 set AppleScript's text item delimiters to theDelimiter
4 set theString to theList as string
5 set AppleScript's text item delimiters to ""
6 return theString
7 end convertListToString
8
9 on run argv
10 set output to {}
Rich

Rich / Active QSpace Pro

Last active 1 hour ago applescript automation

Get the currently-selected files in the active pane of QSpace Pro.

0 0 1
1 #!/usr/bin/osascript
2 on convertListToString(theList, theDelimiter)
3 set AppleScript's text item delimiters to theDelimiter
4 set theString to theList as string
5 set AppleScript's text item delimiters to ""
6 return theString
7 end convertListToString
8
9 on isDirectory(someItem)
10 set filePosixPath to quoted form of (POSIX path of someItem)