Jump to content

Floating.Point

Member
  • Content Count

    8
  • Joined

  • Last visited

  • Days Won

    1

Floating.Point last won the day on October 27

Floating.Point had the most liked content!

About Floating.Point

  • Rank
    Newbie
  1. 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
  2. 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?
  3. 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
  4. 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 >
  5. 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!
  6. 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
  7. This is a great workflow. Thanks for all the work, I will use this daily!
  8. 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...