Jump to content


  • Content Count

  • Joined

  • Last visited

  1. Any updates on support for this? To make osascript use javascript you have to invoke it with "-l JavaScript" (The capitalization is important!). Example: echo 'console.log("test");' | osascript -l JavaScript
  2. Could you try running this script in Terminal: bundleid="com.calebevans.playsong" container="" for f in ~/Library/Application\ Support/Alfred\ 2/Alfred.alfredpreferences/workflows/user.workflow.*/; do if plutil -extract bundleid xml1 "$f/info.plist" -o - | grep "$bundleid" &> /dev/null; then container="$f" break fi done if [[ "$container" = "" ]]; then echo 'Failed to find workflow container directory!' exit 1 fi for f in "$container"/*.scpt; do plaintext=$(osadecompile "$f") # | sponge | echo "$plaintext" | osacompile -o "$f" done echo
  3. Try running this bash script, it will recompile all .scpt files inside ~/Library/Application\ Support/Alfred\ 2/Alfred.alfredpreferences/workflows cd ~/Library/Application\ Support/Alfred\ 2/Alfred.alfredpreferences/workflows for f in user.workflow.*/*.scpt; do plaintext=$(osadecompile "$f") # | sponge | echo "$plaintext" | osacompile -o "$f" echo "Recompiled $f" done
  4. Why don't you respond to the posted issues on your GitHub repo?
  5. It exists and contains a directory called "caleb531.playsong" which contains some album artworks.
  6. How can I show the output of a script in the Alfred window instead of as a notification? The process management workflow can do this: http://www.alfredforum.com/topic/1409-process-management-with-top-and-kill/ I want to have a simple workflow called `hex` that accepts a decimal number and outputs the hexadecimal version of the number in the Alfred window. When pressing enter, I want the hexadecimal number to be copied. Script: printf "0x%x\n" {query}
  7. Cool workaround, however I would like it to appear directly, without pressing a key.
  8. It would be cool if you could choose the duration before Alfred forgets the last type query. For example I would like one that would never forgets the last typed query as in Alfred 1.
  • Create New...