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

Support "open with" functionality from the desktop #345

Open
DennisClark opened this issue Feb 8, 2019 · 5 comments
Open

Support "open with" functionality from the desktop #345

DennisClark opened this issue Feb 8, 2019 · 5 comments
Assignees
Milestone

Comments

@DennisClark
Copy link
Member

DennisClark commented Feb 8, 2019

Working on a Mac, if I select a scan results JSON file in a Finder window, and then initiate the "Open With" option, I do not see ScanCode Workbench in the list of choices presented to me. if I then select the "Other..." option from that list, I get a dialog with all the available applications that I can try, but ScanCode-Workbench.app is greyed-out and I cannot choose it.

I think that it would be super-useful if I were able to open+import a JSON file directly from the desktop to ScanCode-Workbench, in this case using the Mac Finder. I am assuming (although I have not yet confirmed it) that I would have a similar experience using Windows or a LInux desktop and that support for those platforms would be great as well.

@mjherzog
Copy link
Member

mjherzog commented Feb 8, 2019

Same on Windows - assuming (without much actual knowledge) that you would need to add a program to the Windows Registry (or other Windows program list?) in order to make it accessible using Open with from File Explorer. It would be very useful to have that option, but not sure we want to "engage" with Windows internals because that would surely make the installation more complex.

@steven-esser
Copy link
Contributor

steven-esser commented Feb 8, 2019

I will investigate this issue; not entirely sure this is possible as SCWB doesn't operate on JSON files automatically. This might work for SQLite files, I will look into it.

@DennisClark Note that MacOS is liberal in "greying" out things. If you switch the dropdown box to all applications, it should un-grey everything.

@DennisClark
Copy link
Member Author

@MaJuRG Thanks for the tip about adjusting the dropdown box to all applications; that started up SCWB, although it simply presented the initial landing page.

Thanks also for pointing out "open" (sqlite) vs "import" (json); I hope there is a solution!

@steven-esser
Copy link
Contributor

@DennisClark I would assume there is some way to do this; its a pretty common application and utils like VS code and atom.io do this as well.

@steven-esser steven-esser added this to the Future milestone Apr 26, 2019
@steven-esser
Copy link
Contributor

https://www.electron.build/configuration/configuration under fileAssociations may be useful here.

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

No branches or pull requests

3 participants