Page 1 of 1

applescript and keyboard shortcut for using keka

Posted: Wed Feb 26, 2020 1:50 am
by zero7404
hello,

i would like to make an automator app or workflow that does the following:

get a specific folder
copy the folder somewhere else
invoke the keyboard shortcut to compress the copied folder using keka: command+control+shift+k

i have tried multiple ways to arrange a workflow or applescript like this:

Code: Select all

tell application "Finder"
   activate
end tell

tell application "System Events"
   keystroke "c" using {command down, control down, shift down}
end tell
the keyboard shortcut "command+control+shift+c" is something i assigned myself to the "Compress using Keka" item in System Preferences. This item is located in Keyboard-->Services section.

i'd greatly appreciate some help with getting keka to compress the folder i want using a script or a workflow, so that I can automate a bunch of folder archives.

applescript and keyboard shortcut for using keka

Posted: Sun Mar 01, 2020 8:58 am
by aone
Did you managed to make it work?

applescript and keyboard shortcut for using keka

Posted: Sun Mar 01, 2020 1:52 pm
by zero7404
yes

applescript and keyboard shortcut for using keka

Posted: Sun Mar 01, 2020 2:55 pm
by aone
Nice!