Jump to content

dterranova

Member
  • Posts

    25
  • Joined

  • Last visited

Recent Profile Visitors

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

dterranova's Achievements

Member

Member (4/5)

1

Reputation

  1. Same. I use it to set my macs to sleep or to lock them. Would be nice to have this as a shortcut as I would use it a lot more often. Having to open the remote as an app in itself means that i only use it when I have to as it takes too long and requires too many steps. Implementing some integration with Shortcuts would remove that extra step and then give the user more of an “immediate” remote functionality. I’d personally use it a lot more! cheers!
  2. Hi, sorry for bumping this up again, I have similar needs and couldn't find any other posts about it. I'm trying to get this to work, but getting similar results as the OP: [15:44:23.420] Disk Utilities[Script Filter] Queuing argument '(null)' [15:44:23.858] Disk Utilities[Script Filter] Script with argv '(null)' finished [15:44:23.861] STDERR: Disk Utilities[Script Filter] Could not find disk: /dev/disk6s3 [15:44:23.862] Disk Utilities[Script Filter] {"items":[{ "title": "", "subtitle": "Select to mount", "arg": "/dev/disk6" },]} I've installed jq and replaced the couple of lines from the 3 scripts that were in the original workflow. Is this a dead end or is there something that can be fixed to make this work? Thanks! p.s. this is what the 'mount' Script Filter looks like after the edits, in case I misunderstood any of the instructions @vitor shared: export PATH="/opt/homebrew/bin:/usr/local/bin:${PATH}" devices=($(diskutil list external physical | grep "/dev/" | cut -d' ' -f1)) for device in ${devices[@]}; do if [[ ${device} != *"disk2"* && ${device} != *"disk5"* ]];then mounted=$(mount | grep $device | wc -l) if [[ $mounted -eq 0 ]];then max_partition=$(($(diskutil list $device | wc -l)-3)) vol_name=$(diskutil info ${device}s${max_partition} | grep "Volume Name" | xargs echo -n | cut -d' ' -f3) JSON_STRING=$(jq -n \ --arg title "$vol_name" \ --arg subtitle "Select to mount" \ --arg arg "$device" \ '$ARGS.named') JSON+="$JSON_STRING," fi fi done echo "{\"items\":[$JSON]}"
  3. I just screengrabbed the contents of Chrome's headers. Redacted private data but made sure to keep all var definitions intact.... I wonder if this is due to Notion's Team functionality that others have mentioned, being that there's is no spaceId anymore? Excuse my ignorance, just spitballing. EDIT: I tried copying notion_user_id into Alfred, just in case. No change. EDIT 2: Found it! My bad. Didn't realize spaceID is under the Payload tab, not Headers. It's there and it just started working! Thanks so much. Just saved myself probably 15min per day with this workflow
  4. Ah gotcha, ok. Yeah I went through that readme a few times. Ok I'll grab the whole chunk. For spaceId, I can't actually find it anywhere in Chrome's headers. I copied the entire page (General, Response Headers, Request Headers), pasted into bbedit... "space" doesn't come up. That's why I assumed it was browserID, since it's the only variable that matches the format. Am I looking in the wrong place? I must be misreading something.
  5. Hi, excited to try this out! I'm getting the same behaviour as others: "No results, empty query, or error" I've gone through the last few pages in this thread but not 100% sure where my issue lies. I'll recap my steps: - installed the workflow. - pasted the cookie vars notion_browser_id into Cookie , token_v2 into Space ID. (I think this is what your instructions are pointing to, but sometimes the language used sounds like you're saying to copy the entire chunk of text that comes after "cookie: " which for me is several lines with multiple vars and ; delineators) - Alfred gave errors ("No results, empty query, or error") so I installed python via homebrew. - Alfred error still persisted - Back in Terminal, despite having just installed python, it tells me WARNING: You are using pip version 21.2.4; however, version 23.0.1 is available. You should consider upgrading via the '/Library/Developer/CommandLineTools/usr/bin/python3 -m pip install --upgrade pip' command. So I ran that command and it gives me this WARNING: The scripts pip, pip3 and pip3.9 are installed in '/Users/***/Library/Python/3.9/bin' which is not on PATH. Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location. I don't know if that's even the issue. I checked out the StackOverflow post you linked, but I'm not sure what to do because I don't have Python in my Apps folder. Maybe I wasn't supposed to install python via homebrew? Or is it a case of adding the Python scripts into PATH? (I don't know what that even is) Or something else altogether? Sorry, not super familiar with all this stuff but I'm a longtime tinkerer, so can only get so far. Thanks in advance DT
  6. yeah thanks, I tried that and it was certainly unreliable. It's so strange apple dropping the ball on this aspect of the OS. Even the tags themselves are pretty buggy in OS 12.4, they were a lot better in 10.12 which I still have running on a different machine. Such a shame but mostly very frustrating. Cheers anyways!
  7. I understand that macOS's indexing is inclusion-based only and not exclusionary, and that therefore Alfred's workaround is to use the alfred:ignore tag. However I've been using tags heavily in my finder navigation where I mostly Group By Tags to separate my folder contents, like this: Problem is that the alfred:ignore tag creates an additional section and duplicates content that is already tagged with something else. Might seem frivolous to most, but if you're relying on this tagging workflow like I do, I'd rather forgo the ignore tag and just deal with the unwanted results. I know this is a long shot, but is there ANY other way to do this without using tags?
  8. oh wow, yes! amazing. Thanks I just fed it a CSV which makes it even easier to manage. Works great! Does the workflow stay updated according to any new changes to the CSV, or is it just a one-time import thing? (sorry, slightly off topic) EDIT: Answered my own question by testing. Think I've found a solution to have a live CSV with this: fuzzylist by derickfay EDIT 2: ok no I don't think fuzzylist does what I thought but I'll keep digging!
  9. a-ha! That did it thank you. It's SO cool, but I think what I was hoping to achieve isn't possible due to the lack of "tag retrieval" ability like you said. Great for creating new colourless tags on the fly, but I have a bunch of predefined global tags that I use religiously, and having to type out the keyword in full isn't the solution. At the moment I either right-click on the file, click Tags..., type in the first couple letters and hit Enter, or I use the Tag button in the toolbar but it's a lot of mousing around
  10. [13:00:34.601] Logging Started... [13:00:47.305] LabelColor[File Action] Processing complete [13:00:47.313] LabelColor[File Action] Passing output '/Users/xxx/Downloads/Chrome/NFU_design_Anim_COMP_15_Sh006_v002.mov' to Arg and Vars [13:00:47.315] LabelColor[Arg and Vars] Processing complete [13:00:47.315] LabelColor[Arg and Vars] Passing output '' to Keyword [13:00:52.466] LabelColor[Keyword] Processing complete [13:00:52.469] LabelColor[Keyword] Passing output 'proje' to Split Arg [13:00:52.470] LabelColor[Split Arg] Processing complete [13:00:52.471] LabelColor[Split Arg] Passing output '( proje )' to Join Args [13:00:52.471] LabelColor[Join Args] Processing complete [13:00:52.472] LabelColor[Join Args] Passing output 'proje' to Arg and Vars [13:00:52.472] LabelColor[Arg and Vars] Processing complete [13:00:52.473] LabelColor[Arg and Vars] Passing output '/Users/xxx/Downloads/Chrome/NFU_design_Anim_COMP_15_Sh006_v002.mov' to Split Arg [13:00:52.474] LabelColor[Split Arg] Processing complete [13:00:52.475] LabelColor[Split Arg] Passing output '( "/Users/xxx/Downloads/Chrome/NFU_design_Anim_COMP_15_Sh006_v002.mov" )' to Automation Task [13:00:52.476] ERROR: LabelColor[Automation Task] Task not found 'com.alfredapp.automation.core/files-and-folders/path.tags.add' Oh is that last line the culprit?
  11. Yeah I did and tested it extensively, which the gif isn't showing. I already have a list of tags in the system, should they be coming up as suggestions when I start typing? As opposed to creating new tags I mean. Remove tag isn't doing anything too.
  12. Thanks for such a great workflow! I see you added support for tags and I just upgraded to Alfred 5 specifically to try it out, but something's not working at my end. Is there a permissions setting I need to activate? Labels are working fine.
  13. Hey thanks. Actually I wasn't even trying to do it with Universal Actions, just for regular Finder navigation. But this is good to know also! I'm embarrassed to say I only just discovered the "Extras" tickboxes in Default Results, which were all disabled. This whole time I've been creating individual workflows for special folders. oh my days 🤦‍♂️ I've just enabled Folders, and it's working great. Bit messier than my custom workflows, but I think this is the way. Not sure why I've been skipping the Default Results page in the prefs window this whole time.
  14. Is it possible to just have a list of Finder files/folders that get automatically added to the list of available commands? I'm imagining something where I can drag ~/Folder_A , ~/abc/Second Folder, ~/xyz/Three into a list, and then "Folder_A", "Second Folder" and "Three" come up as suggestions (once queried)... without me having to manually create a workflow for each folder. I'm struggling to find info on this since it clashes with the topic of 'open multiple files with one command', so apologies if this has been covered. Have been using alfred for years but accessing key parts of my finder has been a bit of a stumbling block that I never bothered exploring until now. Thanks in advance!
  15. My bad, I deleted the response. I had a typo. Works great. Exactly what I was looking for. Thanks again so much @vitor! This just made my day Is there a way to automate this process with a global variable that stores both paths, across all workflows? For example I have a lot of workflows calling various different folders within "/Dropbox/STUDIO/". If I ever change location of STUDIO, I'd have to manually change each workflow that refs STUDIO and any sub folders. Loaded question probably. Figured I'd ask.
×
×
  • Create New...