Tilted Forum Project Discussion Community

Tilted Forum Project Discussion Community (https://thetfp.com/tfp/)
-   Tilted Technology (https://thetfp.com/tfp/tilted-technology/)
-   -   Creating a custom file type and having it open in the same window by default? (https://thetfp.com/tfp/tilted-technology/65469-creating-custom-file-type-having-open-same-window-default.html)

oldtimer 08-10-2004 07:01 PM

Creating a custom file type and having it open in the same window by default?
 
I’m trying to design a file type [XPI] used by Firefox and other Mozilla products to auto-open when clicked on opening in any current browser window you have. I was successful in making the file type but getting it to open in the same window was a whole different story. Can anyone tell me how to correctly write the commands in Edit [Under Folder Options > File Types > then choosing the file type > Edit] so that they do in fact open in a current window than trying to open in a completely new one?

Thanks.

oldtimer 08-11-2004 06:27 PM

Okay... I've gone ahead and pulled the entries IE uses in the registry to open html files in the same window via the context menu:
Code:

[HKEY_CLASSES_ROOT\htmlfile\shell\open]
@="Open in S&ame Window"

[HKEY_CLASSES_ROOT\htmlfile\shell\open\ddeexec]
@="\"file://%1\",,-1,,,,,"
"NoActivateHandler"=""

[HKEY_CLASSES_ROOT\htmlfile\shell\open\ddeexec\Application]
@="IExplore"

[HKEY_CLASSES_ROOT\htmlfile\shell\open\ddeexec\Topic]
@="WWW_OpenURL"

[HKEY_CLASSES_ROOT\htmlfile\shell\open\command]
@="\"C:\\PROGRA~1\\INTERN~1\\iexplore.exe\" -nohome"

Somehow I'm getting the hint I need to use DDexec commands [I have no idea what those are]?

Anyone?

oldtimer 09-06-2004 02:48 PM

Surely someone must know... :(

glytch 09-06-2004 02:56 PM

You might have better luck over in Tilted Programming

oldtimer 09-08-2004 10:36 AM

Quote:

Originally Posted by glytch
You might have better luck over in Tilted Programming

I'm not too sure about that...

glytch 09-08-2004 01:01 PM

I realize that this isn't really programming at all. However, since you didn't seem to be having much luck here, I thought I'd bring that up as a possible alternative. Since our programming forums won't work, have you tried <a href="http://www.neowin.net/forum">Neowin</a>? There are alot of knowlegable people there as well. If that doesn't yield a result, I'm afraid I'm out of ideas. Sorry I coudln't be of more help.


All times are GMT -8. The time now is 06:15 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Search Engine Optimization by vBSEO 3.6.0 PL2
© 2002-2012 Tilted Forum Project


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76