Jump to content

Floating.Point

Member
  • Posts

    17
  • Joined

  • Last visited

  • Days Won

    1

Floating.Point last won the day on October 27 2020

Floating.Point had the most liked content!

Recent Profile Visitors

374 profile views

Floating.Point's Achievements

Helping Hand

Helping Hand (3/5)

2

Reputation

  1. Hoping to add a bit of friendly pressure to this ancient feature request, would be really nice if Alfred knew how to drag multiple files from the buffer, please
  2. Hey guys, I tried using this today but there is a HUGE delay between evoking the command and returning any results. It sits there with "KpassLoader - Please loading database…" for about 10 seconds before showing anything, should I expect it to be faster?
  3. I work around this with the following method: (this is admittedly a bit advanced, and I have not upgraded to Big Sur as yet, so can't comment on compatibility) https://apple.stackexchange.com/a/388201 Stick with MacOS for a while… like anything new, it takes a while getting used to it. Once I got used to it and learned to "speak its language", we have been best friends! (Although Alfred is essential in that relationship.)
  4. 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
  5. 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.
  6. dfay, thank you so much! "AppleScript Dictionaries" the missing link
  7. 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… Basically, where can I find out what can be done to Alfred via AppleScript? All my search results are mostly about what Alfred does for AppleScript, rather than what AppleScript does for Alfred. If anyone could give me a little primer about how this works? or nudge me in the right direction?
  8. 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 forum, rather it can be used exclusively for the purposes of these Open Office sessions (It would be a "Vitor's Open Office for Alfred" server, not a "Alfred" server). In-between sessions, it could be put into a shutdown state. Here people could still join and be presented with some kind of welcome message (you could also send updates about when the next session will start). And only when office hours are open again would discussion commence. Discord's free service is really solid when it comes to chat, screen sharing, voice communications, attachments, links etc. Of course, regardless of the platform, I'd love to spend some time with you and your expertise. Cheers, Nathan
  9. 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 moment discovering how to do so. Or maybe this just isn't in there by default? in which case does anyone know how this might be achieved? Any help would be lovely Thanks
  10. 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
  11. 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?
  12. 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 change it to the contents of obsidian2.css
  13. 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 > obsidian.css" end try end alfred_script Unfortunately this throws an error. Here's the debug console: [14:47:51.984] Toggle Obsidian's .css[Hotkey] Processing complete [14:47:51.986] Toggle Obsidian's .css[Hotkey] Passing output '' to Run NSAppleScript [14:47:52.012] ERROR: Toggle Obsidian's .css[Run NSAppleScript] { NSAppleScriptErrorAppName = "Alfred 4"; NSAppleScriptErrorBriefMessage = "sh: obsidian2.css: command not found"; NSAppleScriptErrorMessage = "sh: obsidian2.css: command not found"; NSAppleScriptErrorNumber = 127; NSAppleScriptErrorRange = "NSRange: {124, 101}"; } Would you mind taking a look?
  14. 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!
  15. 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 amazing). It allows for theming through custom css. I like to switch on monospace editing sometimes and have been manually switching between obsidian.css files to achieve this. An Alfred workflow would save so much time here.
×
×
  • Create New...