-
Content Count
13 -
Joined
-
Last visited
About Dattwood
-
Rank
Newbie
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
-
Dattwood reacted to a post in a topic: [SOLVED] JSON Config - ??? so confused
-
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
-
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
-
Dattwood reacted to a post in a topic: Copying and Renaming a File with Clipboard Contents
-
deanishe reacted to a post in a topic: Copying and Renaming a File with Clipboard Contents
-
[HOW TO] Get frontmost tab’s url and title of various browsers
Dattwood replied to vitor's topic in Workflow Help & Questions
Man, I wish I saw this thread before I wrote my own... -
Copying and Renaming a File with Clipboard Contents
Dattwood replied to afordturtle's topic in Workflow Help & Questions
I do. Edited the post. -
Copying and Renaming a File with Clipboard Contents
Dattwood replied to afordturtle's topic in Workflow Help & Questions
But good general advice to live by, no? -
Copying and Renaming a File with Clipboard Contents
Dattwood replied to afordturtle's topic in Workflow Help & Questions
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 -
Dattwood started following keyword aliases, Copying and Renaming a File with Clipboard Contents, Feature Request: Show Hidden/Invisible Files in File Search and 2 others
-
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.
- 1 reply
-
- feature request
- suggestion
-
(and 1 more)
Tagged with:
-
Dattwood reacted to a post in a topic: Add well-known and environment variables to Snippets
-
Dattwood reacted to a post in a topic: Add well-known and environment variables to Snippets
-
Add well-known and environment variables to Snippets
Dattwood replied to Chris Messina's topic in Alfred Feature Suggestions
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. -
Dattwood reacted to a post in a topic: "Note" object
-
dfay reacted to a post in a topic: "Note" object
-
Dattwood changed their profile photo
-
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.
- 1 reply
-
- feature request
- feature
-
(and 2 more)
Tagged with:
-
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.