hdsoftware / evoluspencil

Automatically exported from code.google.com/p/evoluspencil
0 stars 0 forks source link

Automatically open epfiles on doubleclick #438

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
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

Original issue reported on code.google.com by robby.i...@gmail.com on 27 Apr 2012 at 7:44

GoogleCodeExporter commented 9 years ago
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.

Original comment by vladma...@gmail.com on 28 Jul 2012 at 1:26

GoogleCodeExporter commented 9 years ago
Implementing this feature would make work with pencil easier and faster!

Original comment by quan....@googlemail.com on 5 Nov 2012 at 9:53

GoogleCodeExporter commented 9 years ago
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"

Original comment by petsu...@gmail.com on 19 May 2013 at 3:07

GoogleCodeExporter commented 9 years ago
@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!

Original comment by quan....@googlemail.com on 6 Jun 2013 at 7:23

GoogleCodeExporter commented 9 years ago
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.

Original comment by petsu...@gmail.com on 6 Jun 2013 at 7:29

GoogleCodeExporter commented 9 years ago
@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

Original comment by avrelian...@gmail.com on 14 Jul 2013 at 3:05