Jump to content

Floating.Point

Member
  • Content Count

    14
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by Floating.Point

  1. This workflow includes browsing recent documents of frontmost app, which you can assign a hotkey: https://github.com/mpco/AlfredWorkflow-Recent-Documents Edit... oh it just occurred to me that you probably want this functionality from within your initial Alfred search for the app in question, rather than when the app is already open, in which case sorry my solution is not helpful, sorry
  2. Thanks @deanishe for the heads up with NSAppleScript. I went through my Workflows and replaced any existing NSAppleScript actions to Run Script. and @Andrew Oh dear... how silly I feel right now 🤦‍♂️. Of course there is a shortcut for this extremely handy function.
  3. dfay, thank you so much! "AppleScript Dictionaries" the missing link
  4. Novice disclaimer: I'm very new to this so apologies if I misunderstand concepts or use incorrect terms Hello Today I used some AppleScript to interface back into Alfred. I've built a hotkey workflow to quickly launch the "Browse Previous Path" feature: on alfred_script(q) tell application "Alfred" to search "Previous" end alfred_script I have a feeling the Key Combo output is not required, and that I could tell Alfred to action the search via the AppleScript. But I don't really understand how AppleScript interfaces with Alfred…
  5. Hi Vitor, I'd be interested in hanging out and discussing Alfred too. I'm a long term user who has recently committed to fully embracing Alfred's power, rather than my historically limited use of features. Like Peter17 I am in Australia, but don't mind having a late night / early morning if need be (with a large cup of green tea to help). I think trillionanswers is on to something with Discord. I understand it can be seem counterintuitive on first impression, but there is a lot of value there. It needn't be considered any kind of replacement / competition for this foru
  6. Hello, I've been using Alfred for many years, to launch apps and trigger a handful of useful workflows, it's so great! I've only recently embraced Alfred's true power and started using it to actually navigate and manage all my files – I imagine in some time Alfred could replace Finder (almost) completely. Anyway, one thing I can't seem to work out (and I'm hoping is possible) is to get Alfred to show me a recent list of files or folders that have been opened or otherwise actioned through Alfred. My intuition is that I've somehow missed this and it will be a facepalm mom
  7. Ok wow, thank you deanishe. It's no wonder you're carrying the badge "community hero"! This works perfectly. Thank you so much for taking the time to not only put this together, but to also make it so clear as to what needs to be edited to get it working. The inclusion of the warning after the settings is great I hope you have a great day
  8. Hi deanishe, Thanks for jumping in, I appreciate your help. I just tested and unfortunately Obsidian app doesn't work when the the obsidian.css file is symlinked Would you be willing to help work this out?
  9. Oh wait, I'm an idiot 🤦‍♂️ Seems I hacked away an important part of the script: cat So now I've got this: on alfred_script(q) try do shell script "cd '/Users/nathan/Dropbox/Maintenance/Notes/'; cat obsidian1.css > obsidian.css" on error do shell script "cd '/Users/nathan/Dropbox/Maintenance/Notes/'; cat obsidian2.css > obsidian.css" end try end alfred_script So this is doing something now. But it's not toggling between the 2 states. It will successfully copy the contents of obsidian1.css into obsidian.css, but once it's in that state, the workflow won't
  10. Hi dfay, Thanks for volunteering some time to help me out with this, I really appreciate it. The original workflow from the thread you linked is no longer available, so I wasn't 100% sure where to plug in your code. I've stripped out the unnecessary features from your code ( (hopefully correctly?) and plugged this into a Run NSAppleScript node like so: on alfred_script(q) try do shell script "cd '/Users/nathan/Dropbox/Maintenance/Notes/'; obsidian1.css > obsidian.css" on error do shell script "cd '/Users/nathan/Dropbox/Maintenance/Notes/'; obsidian2.css >
  11. Oh wow I just did this for a few of my shortcuts and hooley dooley do those precious saved milliseconds feel good! Thanks for the intel!
  12. What I need help building: Ok so I have a .css file on disk and I'd like to toggle the value of a specific class through an Alfred workflow. Basically I want Alfred to toggle between these 2 states: .markdown-source-view { font-family: 'Space Mono', monospace; } .markdown-source-view { font-family: 'Inter', Sans-Serif; } Hoping someone could help out, I have no idea how best to tackle such a thing? What I will use it for (if you're interested): I recently started using Obsidian for knowledge management (it's amazi
  13. This is a great workflow. Thanks for all the work, I will use this daily!
  14. Hi there, I'm Wondering if it would be possible to extend this workflow to paste the raw data of a selected gist into the frontmost application? Thanks, Nathan.
×
×
  • Create New...