Jump to content


  • Content Count

  • Joined

  • Last visited

About Dattwood

  • Rank

Recent Profile Visitors

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

  1. List of valid parameters when calling clickDockMenu: ["Hubstaff", "Start Working", "Add Note", "Hide Timer", "Projects", "Sign Out", "Open Dashboard", "Add/Edit Time", "Report an Error", "Help Center", "About Hubstaff", "Preferences…", "Check for Updates...", "Options", "Show All Windows", "Hide", "Hide Others", "Quit "Force Quit"] Example calls: clickDockMenu("Preferences…") clickDockMenu("Start Working") clickDockMenu("Add Note") Notes: This list can be seen by right-clicking Hubstaff's icon in the Dock. Hubstaff should be running before the call
  2. on clickDockMenu(theMenuItem) tell application "System Events" tell process "Dock" tell UI element "Hubstaff" of list 1 perform action "AXShowMenu" tell menu "Hubstaff" tell menu item theMenuItem perform action "AXPress" end tell end tell end tell end tell end tell end clickDockMenu clickDockMenu("Start Working") This clicks "Start Working" in Hubstaff's menu from the Dock. Under the right circumstances, it should give you what you want. @Obed
  3. Just tested this, and double quoting the second argument should fix the problem. Change your script object as follows (changing "[folder name]" to the target folder's name): mv "$HOME/Desktop/[folder name]" "$HOME/Desktop/{query}" Equivalently, if for whatever reason you change the script object's input tab to "with input as argv": query=$1 mv "$HOME/Desktop/[folder name]" "$HOME/Desktop/$query" Here's some information regarding quoting in bash: Last note: "$HOME" is a special bash variable that automatically inserts your home folder into a double-quo
  4. Version: Alfred 4.1 [1167] I would like to be able to toggle file visibility from Alfred's file explorer, or from the "File Search" tab in Alfred-Preferences. As far as I can tell, Alfred cannot see invisible files at all*. Is this a safety precaution or a feature I somehow missed? Even in Finder, it's just a matter of pressing "shift+cmd+."... * Edit: While Alfred can see files marked hidden by `chflags hidden {filename}`, it can't see filenames prefixed with a "." (as in `~/.bashrc`) -- at least, not in any straightforward way that I'm aware of.
  5. I like this idea, if I understand it correctly (see the attached image... am I close?). aText, the text expander app, has an identical feature to this. In the meantime, perhaps you could create an "advanced snippet"? i.e., in a workflow, do Trigger -> Snippet, attach a Run Script action, insert something like echo -n $MY_VARIABLE ...and then attach a Copy to Clipboard ("expand immediately") as its output.
  6. Version: Alfred 4.1 (Build 1167) I often wish I could write myself a note and place it wherever I want inside a workflow. This could be as simple as a plain, colorless text box, or something more configureable. The issue with what we have currently (the "Edit Note..." action) is that the text is fixed beneath whatever object houses it. As a result, the user is forced to write a note about a specific object, not the workflow at large.
  7. I often wish I could trigger a workflow input object by one of several keywords, rather than just the one. I have a lot of workflows and often find myself forgetting which keyword to use. Having a couple different options might make it a little easier. Thanks.
  • Create New...