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

Add to context menu's #19

Open
peteruithoven opened this issue Feb 9, 2019 · 0 comments
Open

Add to context menu's #19

peteruithoven opened this issue Feb 9, 2019 · 0 comments

Comments

@peteruithoven
Copy link

In some cases it would be great to access some of the functionality of PDF Tricks directly in applications like Files through the context menu. For example right clicking pdf files and selecting options like "Split PDF" or "Merge PDF".

In elementary OS this can be somewhat easily done by using contract files:
https://github.com/elementary/contractor#writing-contract-files
Of course you'd also need to support command line options to handle this.

I use contract files in my Resizer app:
https://github.com/peteruithoven/resizer/blob/master/data/com.github.peteruithoven.resizer.contract
https://github.com/peteruithoven/resizer/blob/master/data/meson.build#L26-L29

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant