Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'Compression' shortcut to compress files in Finder. #189

Closed
Ornataweaver opened this issue May 17, 2018 · 8 comments
Closed

'Compression' shortcut to compress files in Finder. #189

Ornataweaver opened this issue May 17, 2018 · 8 comments
Assignees
Milestone

Comments

@Ornataweaver
Copy link

@Ornataweaver Ornataweaver commented May 17, 2018

Right now I have to use Finders 'Compress' ability, and it opens a new window for the compressed file.
This bothers me and I didn't find any way to disable opening a new window in Finder.

@gingerbeardman
Copy link
Contributor

@gingerbeardman gingerbeardman commented May 17, 2018

Using Keka in Finder

There a few alternative methods:

	CFBundleDocumentTypes = (
		{	CFBundleTypeExtensions = ( );
			CFBundleTypeRole = "Viewer";
			LSItemContentTypes = ( "public.data", "public.executable", "public.text", "public.archive", "public.disk-image",
				"public.image", "public.audio", "public.movie", "com.adobe.pdf", "****"
			);
		},
	);

Finder Window

Keka then has this option to not open the Finder window after compression:
screen shot 2018-05-17 at 14 01 33

@aonez aonez added the question label May 17, 2018
@aonez
Copy link
Owner

@aonez aonez commented May 17, 2018

@Ornataweaver the default compress option in the Finder's contextual menu is no used with Keka. Use the alternatives @gingerbeardman pointed 👍

@aonez aonez added this to the Random bag milestone May 17, 2018
@aonez aonez self-assigned this May 17, 2018
@aonez
Copy link
Owner

@aonez aonez commented May 21, 2018

Keka should register its compatibility with more file types to make this easier @aonez - eg.

@gingerbeardman I think the services are the way to go with files that Keka can't extract. But not sure here. For example a file that has no other handler, double clicking it will compress it...

@gingerbeardman
Copy link
Contributor

@gingerbeardman gingerbeardman commented May 21, 2018

@aonez
Copy link
Owner

@aonez aonez commented May 21, 2018

The bundled Archive Utility is only registered on compressed files, as far as I can tell. Maybe I'm missing something on this topic.

I thought you meant to create a generic item so all type of files are registered with Keka. Is that right?

For example this is the current definition in Keka for Zip:

<dict>
	<key>CFBundleTypeExtensions</key>
	<array>
		<string>zip</string>
	</array>
	<key>LSTypeIsPackage</key>
	<false/>
	<key>NSPersistentStoreTypeKey</key>
	<string>XML</string>
	<key>OnTab</key>
	<true/>
	<key>CFBundleTypeName</key>
	<string>ZIP Archive</string>
	<key>CFBundleTypeIconFile</key>
	<string>zip</string>
	<key>IconVariant</key>
	<string>orange</string>
	<key>LSItemContentTypes</key>
	<array>
		<string>com.pkware.zip-archive</string>
		<string>public.zip-archive</string>
		<string>public.zip-archive.first-part</string>
	</array>
	<key>CFBundleTypeRole</key>
	<string>Viewer</string>
</dict>

@Ornataweaver
Copy link
Author

@Ornataweaver Ornataweaver commented May 26, 2018

Right now I use "ctrl + shift + C" to compress files. I think anything that takes more time than this wouldn't be interesting. "Open with... > Keka.app" would definitely take longer than "ctrl + shift + C" and then "cmd + W" for quitting the window that opens.
I'm just suggesting for better experience.

@aonez aonez removed this from the Random bag milestone May 28, 2018
@aonez aonez added this to the Future milestone May 28, 2018
@aonez
Copy link
Owner

@aonez aonez commented May 28, 2018

@Ornataweaver now I get it 👍🏼

@aonez aonez removed this from the Future milestone May 28, 2018
@aonez aonez added this to the 1.1.0 milestone May 28, 2018
@aonez
Copy link
Owner

@aonez aonez commented May 28, 2018

Coming in next release:

  • Send to Keka: Ctrl + Shift + K (^⇧K)
  • Compress with Keka: Ctrl + Shift + C (^⇧C)
  • Extract with Keka: Ctrl + Shift + X (^⇧X)

Obviously those can be changed in the Services list (System Preferences).

@aonez aonez closed this May 28, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants