Lexyz
-
Posts
5 -
Joined
-
Last visited
Reputation Activity
-
-
-
Lexyz reacted to Andrew in How to Deal with Arguments in Bash Workflow
@Lexyz Use an environment variable for the keyword:
https://www.alfredapp.com/help/workflows/advanced/variables/
Then it'll be available as an environment variable in the script you run too.
-
Lexyz reacted to vitor in How to Deal with Arguments in Bash Workflow
@Lexyz echo -n "Whatever text you want to pass along"
-
Lexyz reacted to GuiB in Using Marta (or an alternative Finder app) with Alfred
@bivalvegruff, the output you wrote means that the preference is not set on you computer, you should see an output that only mention: org.yanex.marta
Did you sent the second command as well? ( defaults delete -g NSFileViewer ) This one is meant to be use if you want to revert back to Finder and should then give the output that you have now when writing defaults read -g NSFileViewer . You can try again with the first command only ( defaults write -g NSFileViewer -string org.yanex.marta; )
Here is what I get on my side in the Terminal:
$ defaults write -g NSFileViewer -string org.yanex.marta; $ defaults read -g NSFileViewer org.yanex.marta
-
Lexyz reacted to GuiB in Using Marta (or an alternative Finder app) with Alfred
@bivalvegruff, did you restart your computer or session?
If you write in terminal defaults read -g NSFileViewer you get org.yanex.marta as output?
Myself, I'm always opening the files using the Reveal in Finder action (CMD+Enter on a standard search or with the Reveal in Finder file action) and it works great on my side. However, if you open your file using only Enter while doing the file search then it seems that you need to also set another preference to Marta like:
defaults write com.apple.LaunchServices/com.apple.launchservices.secure LSHandlers -array-add '{LSHandlerContentType="public.folder";LSHandlerRoleAll="org.yanex.marta";}' This is all the same as what is explained at the Forklift website, so you can have a look here to have some more info: https://binarynights.com/manual#fileviewer
Hope this helps!