1.    2 Weeks Ago #1
    Join Date : Oct 2015
    Posts : 71
    Windows 10

    Can one define a Google Chrome App as default app for a filetype?


    I would like to define a Google Chrome app (aka. Google Chrome extension) called "Readium" as default handler for .epub files (an ebook format), because I consider it better than Edge (which handles these files by default) for this purpose.

    Now, I was able to define Chrome as default app for epub-files using the option "Search an other app on this PC" and pointing it to
    Code:
    "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe"
    but that only starts Chrome which then has no clue how to handle that filetype.

    I would need to be able to enter a whole commandline here (one can start Chrome's Readium extension directly using a commandline with some options, i.e.:
    Code:
    "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe"  --profile-directory=Default --app-id=fepbnnnkkadjhjahcafoaglimekefifl
    ... but the dialog did not accept that line as a valid application.

    I then tried to add the above command-line to the .epub filetype's OpenWithList in the Registry, i.e. under
    "Computer\HKEY_CLASSES_ROOT\.epub\OpenWithList" but that didn't work, either.

    Any idea or suggestion how to convince Windows 10 to accept Readium as a default application for .epub files?
      My ComputerSystem Spec
  2.    2 Weeks Ago #2
    Join Date : Jan 2015
    UK, Midlands
    Posts : 11,002
    Win 10 Pro (1703)

    Hi, nothing here
    eBookPartnership Open an ePUB file on a PC or laptop using Readium - eBookPartnership.com
    Google Groups
    EPub reader - how to choose Google Readium by default - Oxygen XML Forum


    suggests it can be done that way.

    You could consider using Sumatra pdf viewer (which can..
    Sumatra PDF is a free and open-source document viewer, it supports many document formats including: Portable Document Format (PDF), Microsoft Compiled HTML Help (CHM), DjVu, EPUB, FictionBook (FB2), MOBI, PRC, Open XML Paper Specification (OpenXPS, OXPS, XPS), Comic Book Archive file (CB7, CBR, CBT, CBZ).[2 )
      My ComputerSystem Spec
  3.    2 Weeks Ago #3
    Join Date : Oct 2015
    Posts : 71
    Windows 10
    Thread Starter

    Solved


    Trying again with the "Search an other app on this PC" option this time the dialog accepted my entered command line, i.e. I entered:

    Code:
    "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe"  --profile-directory=Default --app-id=fepbnnnkkadjhjahcafoaglime "%1"
    into the dialog and this time this was accepted as "application".

    Now, double-clicking a .epub file firectly opens Chrome's extension Readium with the double-clicked document loaded.
    Happy camper now...

    PS: Note the added trailing "%1" in order to pass the document's path as argument to the application
    PPS: The funny app-id one can find out by choosing "create a shortcut" on the desktop on the chrome-extension and copying that line from the properties of the created shortcut..
      My ComputerSystem Spec
  4.    2 Weeks Ago #4
    Join Date : Jan 2015
    UK, Midlands
    Posts : 11,002
    Win 10 Pro (1703)

    Well done.. seems Chrome may be more 'friendly' in such respects than Firefox. c.f. different problem- Chrome plus gmail as default email client vs FF + gmail.
      My ComputerSystem Spec

 


Similar Threads
Thread Forum
Windows 10 not allowing to change default browser to google chrome
I recently re-installed windows 10. Have tried every way to change default browser from Edge to Chrome, to no avail. Even changed the default by file type, HTML, Htm, to open with google chrome. Under Apps & Features, google is listed as my browser,...
Browsers and Email
Google Chrome Roll-out plan for HTML5 by Default
Source: Chromium Blog: Roll-out plan for HTML5 by Default
Windows 10 News
HTML5 by default: Google’s plan to make Chrome’s Flash click-to-play
HTML5 by default: Google’s plan to make Chrome’s Flash click-to-play Read more: http://arstechnica.com/information-technology/2016/05/html5-by-default-googles-plan-to-make-chromes-flash-click-to-play/
Windows 10 News
Google Chrome is not your default browser problem
I'm having a persistent problem with Google Chrome. Although Windows 10 says Chrome is the default browser, Google Chrome itself does not "believe" it, and I keep getting the "Google Chrome is not your default browser" notification when I bring up...
Browsers and Email
Use chrome/google as default for search results
How can I -Use chrome/google for search results Currently when we type anything into the taskbar search, it launches Edge + Bing to give the results. I would like it to use google and my chrome browser cos I find it gives better results.
General Support
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 09:07.
Find Us
Twitter Facebook Google+ Ten Forums iOS App Ten Forums Android App



Windows 10 Forums