AlfredWorkflowDirectory
AlfredWorkflowDirectory copied to clipboard
Added many modifier actions to the workflow
Here is the .alfredworkflow you can try.
I really love this workflow, thank you for making it. I just wanted to extend it so that you can do many other things with the directory aside from opening it in Finder. You can open it in iTerm in current tab or you can open it in an editor you like or you can even export the workflow to the Desktop.
See if you like it and want to merge it in. ๐
Sounds awesome. Iโll check it out soon
Sent from my iPhone
On Dec 4, 2017, at 12:18 PM, Nikita Voloboev [email protected] wrote:
Here is the .alfredworkflow you can try.
I really love this workflow, thank you for making it. I just wanted to extend it so that you can do many other things with the directory aside from opening it in Finder. You can open it in iTerm in current tab or you can open it in an editor you like or you can even export the workflow to the Desktop.
See if you like it and want to merge it in. ๐
You can view, comment on, or merge this pull request online at:
https://github.com/jeeftor/AlfredWorkflowDirectory/pull/1
Commit Summary
Added many modifier actions to the workflow File Changes
M info.plist (314) Patch Links:
https://github.com/jeeftor/AlfredWorkflowDirectory/pull/1.patch https://github.com/jeeftor/AlfredWorkflowDirectory/pull/1.diff โ You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.
Do you have you alfred auto-configured to have the terminal open item?
I use this setup so that any "open in terminal" will open in iTerm2 - I'll have to look over your stuff - i really like the export action.
-- This is v0.6 of the custom script for AlfredApp for iTerm 2.9+
-- Please see https://github.com/stuartcryan/custom-iterm-applescripts-for-alfred/
-- for the latest changes.
-- Please note, if you store the iTerm binary in any other location than the Applications Folder
-- please ensure you update the two locations below (in the format of : rather than / for folder dividers)
-- this gets around issues with AppleScript not handling things well if you have two iTerm binaries on your system... which can happen :D
on alfred_script(q)
if application "iTerm2" is running or application "iTerm" is running then
run script "
on run {q}
tell application \":Applications:iTerm.app\"
activate
try
select first window
set onlywindow to false
on error
create window with default profile
select first window
set onlywindow to true
end try
tell the first window
if onlywindow is false then
create tab with default profile
end if
tell current session to write text q
end tell
end tell
end run
" with parameters {q}
else
run script "
on run {q}
tell application \":Applications:iTerm.app\"
activate
try
select first window
on error
create window with default profile
select first window
end try
tell the first window
tell current session to write text q
end tell
end tell
end run
" with parameters {q}
end if
end alfred_script
I use the exact same thing too:

It should work for you too I believe. But you can remove it if you want.
Perhaps you want to update this workflow to this.
I use it a lot and really love it. What I added was few modifiers to open things in workflow dirs in editors. But the big change is the export of workflow to Desktop. It exports the workflow to Desktop but also copies the version number of workflow to clipboard so you can quickly make a release of it.
I think it's really useful. Hope you consider updating the workflow. I attached the workflow in the link above.
Hey @jeeftor
I still think that updating the workflow with my actions would be awesome. Here is the download in case you want to do it. ๐
Thanks. Itโs on my ever larger todo list. Thing is some of your modifiers are already in wft/ wfd and havenโt figured out best way to integrate everything. Your are welcome to fork the repo also in the meantime!
Sent from my iPhone
On Feb 26, 2018, at 3:48 PM, Nikita Voloboev [email protected] wrote:
Hey @jeeftor
I still think that updating the workflow with my actions would be awesome. Here is the download in case you want to do it. ๐
โ You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.