Dr.Peril
-
Posts
7 -
Joined
-
Last visited
Content Type
Blogs
Gallery
Downloads
Events
Profiles
Forums
Articles
Media Demo
Posts posted by Dr.Peril
-
-
So just by chance this was just posted on SIx Colors: https://sixcolors.com/post/2021/12/run-shortcuts-from-the-mac-command-line/
Basically, you can call shortcuts in the command line. So Alfred isn't really needed, one can run the shortcut directly via ssh.
-
Hey, thanks for idea, I'll see if it's possible.
Yeah, I have an apple script the shortcut runs if it's being run on my Mac, I guess I was just hoping there was a CLI option that would make life a bit easier. Sounds like it might actually be more doing.
-
Hey all,
I'm wondering if it's possible to trigger Alfred via SSH?
I would like to trigger the Ejectall feature from shortcuts on my iPhone with the "Run script over SSH" function.
I've found some terminal commands to eject all disks like:
find /Volumes -maxdepth 1 -not -user root -print0 | xargs -0 diskutil eject
but it chokes if /Volumes has a network share attached... :S
Thanks for the help!
-
I'm happy to have another option beyond TE. Smile just doesn't seem to be trying very hard these days but... [shrug]
I do have a lot of snippets in TE that I'd like to transfer to Alfred... but doing it manually is gonna blow. I'll do it, but ugh.
Is there a simple solution to this problem or?
Thanks!
-
Hi Andrew,
Indeed it does. First off, I tracked one of the problems I was having to the Blur background workflow in the themes section. It breaks custom workflow/theme syncing.
I wound up finding the Prefs file in Dropbox, moving it to the desktop (thereby deleting it from other Macs), loading that prefs in Alfred, setting things as I liked, then exporting my prefs to Dropbox. Once all my Mac were pointed to the new Dropbox file (sans blur workflow) everything starting syncing as one would expect.
I think the take away here is to be careful testing workflows and themes, it seems that it only takes one to muddy up your prefs....
Is there a way to make Alfred create regularly scheduled preference file exports? A system of irritative backups essentially. If there's a scheduled output to folder function the number of files could be easily maintained by Hazel... perhaps having Hazel copy the current prefs file on a schedule is simplest way to go?
Thanks for the quick reply!
-
I have exactly this problem, my prefs file is also in a sub folder called "Backups" (where I dump all the files that don't create their own folder under Apps).
It's super irritating... Okayjeffrey, did you ever get this sorted out?
Trigger actions remotely with SSH?
in Discussion & Help
Posted · Edited by Dr.Peril
Oh, apologies, yeah there are a ton of Eject Disk shortcuts, I grabbed some Apple Script as mentioned and put it into a shortcut. Just wanted to 'post a solution' ¯\_(ツ)_/¯
I guess that makes this entire thread kinda moot since I didn't land on using Alfred but... maybe someone else will find this useful: