Jump to content

oulipo

Member
  • Posts

    22
  • Joined

  • Last visited

Reputation Activity

  1. Like
    oulipo reacted to jdfwarrior in Weird behavior of youtube-dl   
    This is caused by Alfred not importing your profile. When creating workflows it's good to remember that the only thing in the $PATH variable is /bin;/sbin;/usr/sbin;/usr/bin. As mentioned in the other thread, for now, either appending paths to the $PATH variable or simply specifying full path to the additional components that you need access to is the most common solution to this issue. 
  2. Like
    oulipo reacted to Carlos-Sz in Request: a workflow to count the number of words in the current selection   
    You can save the current clipboard content to a string, copy the selection to the clipboard using System Events keystroke command, count the words then put the initial content back to the clipboard. In resume:
    try set sCurrentCB to get the clipboard end try tell application “System Events” keystroke "c" using command down end tell set sTextToCount to get the clipboard as text —count words here try set the clipboard to sCurrentCB end try
×
×
  • Create New...