Hi.

First of all - thank you for your amazing code editor, simply amazing. 

Second - regarding this opening files, I did some research now on my comp and
this is what I found:

1. It's not about registered file types. Not everything of it is, I mean. It is
more about being admin or not, and the damn security model of Windows 7.

2. I tried editing the registry (for %1), installed 4.5.7 - nothing helped.

3. What I found, was the following: I usually run PsPad from a shortcut on my
taskbar, and I marked it there to always run with admin rights. Yes, when then I
run it, it always gives me that notification if I agree that this program will
make changes to this computer, and I say yes.

The reason for that is that I did some my customizations for PsPad, adding
scripts, and without admin rights the scripts wouldn't work, wouldn't be allowed
to write.

But then I pay attention, that when I try to open a file from Windows Explorer
into PsPad by double-clicking on it, it would do nothing.

Same happens, when I drag the file from Windows Explorer to PsPad - it doesn't
open it. Choosing in the context menu PsPad doesn't work, either, even for
simple txt files.

I registered the file type several times: in highlighters, in registered types
in Program settings, in Windows file type association, in Windows context menu
"choose default program" - the results are the same.

When I copy the full file path to the clipboard and then open the file in PsPad
File > Open, it opens it. And when I choose the file inside the File Explorer in
PsPad, it opens it, too, and knows how to highlight the contents.

And now I just double-clicked in Windows Explorer, when PsPad was closed - and
it opened together with the file! I dragged another file from Windows Explorer -
and it opened it, too! Then I thought, that it got something to do with the
admin rights and I checked it: indeed, the scripts didn't work, couldn't write.
When I reopened PsPad with that same taskbar shortcut, it got back to allowing
scripts and not opening the files.

So what I guess is happening is: when PsPad is open with admin rights, it
doesn't open the files "from the outside". But what can I do if I do need my
scripts to run?

Could you please resolve it?

Thank you very much!
Olga.

-- 
<http://forum.pspad.com/read.php?2,57643,58657>
PSPad freeware editor http://www.pspad.com

Odpovedet emailem