Export to GitHub

evoluspencil - issue #438

Automatically open epfiles on doubleclick


Posted on Apr 27, 2012 by Swift Hippo

I have assigned .ep-files to be automatically be opened with pencil.exe. When I doubleclick on an ep-file, pencil starts, but with empty document. Pencil doesn't open the clicked document.

Pencil 1.3.4 Standalone Win7 x64 Professional

Comment #1

Posted on Jul 28, 2012 by Happy Wombat

This is a very annoying issue for me as well. File is associated with Pencil, but when Pencil launches, it ignores the file I am trying to open from Windows Explorer.

Comment #2

Posted on Nov 5, 2012 by Grumpy Horse

Implementing this feature would make work with pencil easier and faster!

Comment #3

Posted on May 19, 2013 by Quick Hippo

I had the same issue. Instead of assigning pencil.exe, I had to use: "C:\Program Files (x86)\Evolus\Pencil\xulrunner\xulrunner.exe" "C:\Program Files (x86)\Evolus\Pencil\app\application.ini" "%1"

Comment #4

Posted on Jun 6, 2013 by Grumpy Horse

@petsuter how did you exactly link .ep files to xulrunner? Trying to do the same I always get the error message "Error:App:Name nto specified in applications.ini" back. Maybe you can spend two minutes to describe your solution a little bit more detailed? Thank you!

Comment #5

Posted on Jun 6, 2013 by Quick Hippo

The problem is xulrunner needs application.ini as a parameter, but recent Windows versions (at least Win7 and Win8) really don't make that easy.

I used this rather convoluted way: (WARNING Don't do this if you are not sure what you are doing. Create backups / restore points. Be careful. Do this at your own risk. Etc.) 1. Run regedit. Find and delete all keys that map .ep to xulrunner.exe / pencil.exe. 2. Open a Command Prompt (cmd.exe) as an Administrator. Type the following commands: assoc .ep=epfile ftype epfile="C:\Program Files (x86)\Evolus\Pencil\xulrunner\xulrunner.exe" "C:\Program Files (x86)\Evolus\Pencil\app\application.ini" "%1" regsvr32 /i shell32.dll

Good luck. There may be some third party tool that makes this easier like "Default Programs Editor" or "Creative Element Power Tool File Type Doctor" but I had no luck with those.

Comment #6

Posted on Jul 14, 2013 by Massive Ox

@petsuter Maybe something has changed a little bit since your previous comment but I've solved the problem on Windows 8/64 simply by inserting string "C:\Program Files (x86)\Evolus\Pencil\xulrunner\xulrunner.exe" "C:\Program Files (x86)\Evolus\Pencil\app\application.ini" "%1" into "File name" field of the "Open with..." dialog window 1) Right click on .ep file 2) "Open with" -> "Choose default program..." 3) "More options" 4) "Look for another app on this PC"

Thank you for the workaround

Status: New

Labels:
Type-Defect Priority-Medium