Jump to content

grendel2000

Member
  • Posts

    8
  • Joined

  • Last visited

grendel2000's Achievements

Helping Hand

Helping Hand (3/5)

0

Reputation

  1. Actually, strangely, the version using quotes would have been my preferred "fix" but isn't working. The version using the slashes works perfectly however. Are there any other "gotchas" about characters you can or cannot use? I tend to use colons and dashes in many of mu folder and file names - is there anything I should be aware of when using these?
  2. New update: It has something to do with using spaced in the folder names. I rebuilt new folders and paths that used dashes, colons and other characters and they all work fine. However, when a folder is added that has multiple words in the name separated by a blank space the workflow stops functioning! The same is true for spaces in file names. Any ideas?
  3. Added note: I reinstalled then ran the workflow using the "as written" script, location and filename by making files/folders to match and it worked fine. When I change it back to where my actual folders and files are it stops working. Seems like it's something to do with the folder/file names. Another thought - some of my folders within Dropbox are Symbolic links (but not the folder containing my nvAlt notes) - could this be part of the problem?
  4. I really appreciate your help - another question if you don't mind since it still is not working. I did reset the locations specified in the script to my actual folders and actual filenames. Is it possible that characters and/or spaces used in my file and folder names are throwing things off? I use dashes ( - ) in some of my names as well as spaces between words. I have also used colons in a few. Could that be throwing things off, because these workflows/scripts are still not working for me? Here's an example of one I'm trying to get working in the "Notes" workflow by Mark Sternfels: echo -e "--- "`date +'%Y.%m.%d %H:%M:%S'`" ---\n" {query} "\n"> /tmp/notetmp cat ~/Dropbox/Scott Dropbox/1-Working Folder/Notes/Grocery List.txt >> /tmp/notetmp cp /tmp/notetmp ~/Dropbox/Scott Dropbox/1-Working Folder/Notes/Grocery List.txt rm /tmp/notetmp The file and folder specified both exist and are names as shown in the script. Any ideas? Thanks so much for taking the time to lend me a hand!
  5. Screengrab of result is here: https://www.dropbox.com/s/jfiou1yxi4w12yy/Alfred%20Script%20Result%201.jpg Contents of Workflow script are shown here: https://www.dropbox.com/s/pjnzj6rs44ni9lr/Alfred%20Script.jpg Thanks for your help!
  6. I followed your directions and received a notification through ML saying " "Date" " in my system notifications. Thanks for your help!
  7. I'm new to Alfred and scripting and I'm having a problem. I have Alfred 2 w/ Powerpack and I'm trying to run several workflows that aren't working. A small number are working. What seems to be a common thread in the workflows that will not work correctly is they use "/bin/bash/" as the language option (shell script - correct?) within the workflow. I have at least one that uses a script written in ruby that works fine (Append to Journal workflow). I am trying to get a workflow up and running that will allow me to prepend notes to a scratchpad/journal file (.txt) in nvAlt. There are numerous workflows available to do this but none functions correctly for me (although the workflow provided by Agile Tortoise to APPEND to a file works fine - it is the one I mention above that uses a script written in ruby). I have tried to troubleshoot as best as I can but I'm basically stumbling around in the dark. I have checked my Python configuration (was v 2.7.2, now upgraded to 2.7.4) since I have seen references to that being a potential issue. I have uninstalled Alfred 2 and reinstalled since updating Python. I have checked and repaired my permissions (using Onyx). I'm not sure what to do next and I'm hoping someone might help... I have tried the following workflows without success (and several others as well): - nvAlt Tag Search for Alfred 2 ( http://brettterpstra.com/2013/03/17/nvalt-tag-search-for-alfred-2/ ) - Quick Jot Workflow - ( http://www.alfredforum.com/topic/2175-quick-jot-workflow-collect-timestamped-stacking-jots-in-a-single-text-file/ ) The one I would prefer to get running is "Notes" by Mark Sternfels ( http://asmodified.net/alfredworkflows/ ) since it allows saving to several different running textiles. I've been searching these forums for the last two days trying out various options that seem like possibilities but nothing has solved the problem. Anyone have the time to lend a hand? I'm running: - Mountain Lion 10.8.3 - Alfred 2.0.3 - Python 2.7.4 - nvAlt 2.2b Thanks!
×
×
  • Create New...