Jump to content

jwrc

Member
  • Posts

    3
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

jwrc's Achievements

Helping Hand

Helping Hand (3/5)

2

Reputation

  1. @zeitlings - Loving this workflow, thank you for sharing! Is it possible to add AlfredExtraPane.app support to get a window preview? Would love to drop my window switcher app. Thanks again!
  2. @paulw you can go ahead and integrate the script filter into the workflow, no credit needed. I had an issue with my first script using basepath for frontmost finder window so just skipped it when I cobbled this together. Didn’t test it too much further to be honest.
  3. Using this script filter: tell application "Finder" set windowList to windows set resultList to {} repeat with i from 1 to count of windowList set windowItem to item i of windowList set windowName to name of target of windowItem set windowPath to POSIX path of (target of windowItem as alias) set end of resultList to {windowName, windowPath} end repeat end tell set output to "" repeat with i from 1 to count of resultList set windowItem to item i of resultList set windowName to item 1 of windowItem set windowPath to item 2 of windowItem set output to output & "{ \"uid\": \"" & i & "\", \"title\": \"" & windowName & "\", \"arg\": \"" & windowPath & "\" }," end repeat if output is not "" then set output to text 1 thru -2 of output end if set alfredJSON to "{ \"items\": [" & output & "] }" return alfredJSON Running to bash script echo "$1" Connected to "save current clipboard" in paul's script to select from open finder windows. Really liking the functionality of this, thanks for bringing it back Paul.
×
×
  • Create New...