Tilted Forum Project Discussion Community  

Go Back   Tilted Forum Project Discussion Community > Interests > Tilted Technology


 
 
LinkBack Thread Tools
Old 08-10-2004, 07:01 PM   #1 (permalink)
Addict
 
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.
__________________
Slowly but surely getting over the loss of TFP v. 3.0.
Where the hell am I?....
Showering once a month does not make you a better person.

"The ultimate measure of a man is not where he stands in moments of comfort, but where he stands at times of challenge and controversy."
Martin Luther King, Jr.

Last edited by oldtimer; 09-06-2004 at 02:55 PM..
oldtimer is offline  
Old 08-11-2004, 06:27 PM   #2 (permalink)
Addict
 
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?
__________________
Slowly but surely getting over the loss of TFP v. 3.0.
Where the hell am I?....
Showering once a month does not make you a better person.

"The ultimate measure of a man is not where he stands in moments of comfort, but where he stands at times of challenge and controversy."
Martin Luther King, Jr.
oldtimer is offline  
Old 09-06-2004, 02:48 PM   #3 (permalink)
Addict
 
Surely someone must know...
__________________
Slowly but surely getting over the loss of TFP v. 3.0.
Where the hell am I?....
Showering once a month does not make you a better person.

"The ultimate measure of a man is not where he stands in moments of comfort, but where he stands at times of challenge and controversy."
Martin Luther King, Jr.
oldtimer is offline  
Old 09-06-2004, 02:56 PM   #4 (permalink)
I am not permanent.
 
glytch's Avatar
 
Location: Tennessee
You might have better luck over in Tilted Programming
__________________
If you're flammable and have legs, you are never blocking a fire exit. - Mitch Hedberg
glytch is offline  
Old 09-08-2004, 10:36 AM   #5 (permalink)
Addict
 
Quote:
Originally Posted by glytch
You might have better luck over in Tilted Programming
I'm not too sure about that...
__________________
Slowly but surely getting over the loss of TFP v. 3.0.
Where the hell am I?....
Showering once a month does not make you a better person.

"The ultimate measure of a man is not where he stands in moments of comfort, but where he stands at times of challenge and controversy."
Martin Luther King, Jr.
oldtimer is offline  
Old 09-08-2004, 01:01 PM   #6 (permalink)
I am not permanent.
 
glytch's Avatar
 
Location: Tennessee
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.
__________________
If you're flammable and have legs, you are never blocking a fire exit. - Mitch Hedberg
glytch is offline  
 

Tags
creating, custom, default, file, open, type, window


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -8. The time now is 08:10 AM.

Tilted Forum Project

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, 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