This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2011-12-31 19:11:06

nickbrickmaster
Scratcher
Registered: 2010-02-02
Posts: 500+

Step by step tutorial on how to define a new file type?

^Title.


Ask me what I'm doing, wait an hour than roll a die, if it's 4-6, I'm playing Skyrim, if it's 1, I'm eating, if it's 2-3 I'm programming.
Steam: nickbrickmaster | RotMG: PwnThemAll | Minecraft: nickbrickmaster | League Of Legends: BaneOfTitans

Offline

 

#2 2011-12-31 19:27:15

ZeroLuck
Scratcher
Registered: 2010-02-23
Posts: 500+

Re: Step by step tutorial on how to define a new file type?

What do you want to do?
How to make a new file and give it a name extension like "test.nickbrickmaster"?
If you don't say exactly what you want nobody can help you  sad

Last edited by ZeroLuck (2011-12-31 19:27:27)


http://3.bp.blogspot.com/-oL2Atzp0Byw/T465vIQ36dI/AAAAAAAAADo/1vqL4PvhkM0/s1600/scratchdachwiki.png

Offline

 

#3 2011-12-31 20:02:30

bobbybee
Scratcher
Registered: 2009-10-18
Posts: 1000+

Re: Step by step tutorial on how to define a new file type?

For what purpose?


I support the Free Software Foundation. Protect our digital rights!

Offline

 

#4 2012-01-01 03:24:46

nickbrickmaster
Scratcher
Registered: 2010-02-02
Posts: 500+

Re: Step by step tutorial on how to define a new file type?

ZeroLuck wrote:

What do you want to do?
How to make a new file and give it a name extension like "test.nickbrickmaster"?
If you don't say exactly what you want nobody can help you  sad

Say, to make the file test.kn for my mod, and have it say "Konnected file" when I roll over it. BTW, pn Windows.


Ask me what I'm doing, wait an hour than roll a die, if it's 4-6, I'm playing Skyrim, if it's 1, I'm eating, if it's 2-3 I'm programming.
Steam: nickbrickmaster | RotMG: PwnThemAll | Minecraft: nickbrickmaster | League Of Legends: BaneOfTitans

Offline

 

#5 2012-01-01 11:15:03

LS97
Scratcher
Registered: 2009-06-14
Posts: 1000+

Re: Step by step tutorial on how to define a new file type?

Try googling register new file type in windows registry...
smile

Offline

 

#6 2012-01-01 11:47:11

DigiTechs
Scratcher
Registered: 2011-04-30
Posts: 500+

Re: Step by step tutorial on how to define a new file type?

LS97 wrote:

Try googling register new file type in windows registry...
smile

But then EVERYONE would have to do it for the file type to be seen, so if you make the file type, just ask microsoft if they can add it to next updates to Windows, But it seems unlikley that they will do it, though.


I'm back.
Maybe.

Offline

 

#7 2012-01-01 11:52:52

LS97
Scratcher
Registered: 2009-06-14
Posts: 1000+

Re: Step by step tutorial on how to define a new file type?

DigiTechs wrote:

LS97 wrote:

Try googling register new file type in windows registry...
smile

But then EVERYONE would have to do it for the file type to be seen, so if you make the file type, just ask microsoft if they can add it to next updates to Windows, But it seems unlikley that they will do it, though.

lol no, how do you think programs get their file types to open with their programs?

Generally the registry keys are distributed to the end-users through an installer program that edits the registry. However, since that has some limitations (e.g. Admin privileges), it's better to then export the relative keys as a .reg file and tell the users to run it if they want to open KT files.

Offline

 

#8 2012-01-01 11:57:13

DigiTechs
Scratcher
Registered: 2011-04-30
Posts: 500+

Re: Step by step tutorial on how to define a new file type?

LS97 wrote:

DigiTechs wrote:

LS97 wrote:

Try googling register new file type in windows registry...
smile

But then EVERYONE would have to do it for the file type to be seen, so if you make the file type, just ask microsoft if they can add it to next updates to Windows, But it seems unlikley that they will do it, though.

lol no, how do you think programs get their file types to open with their programs?

Generally the registry keys are distributed to the end-users through an installer program that edits the registry. However, since that has some limitations (e.g. Admin privileges), it's better to then export the relative keys as a .reg file and tell the users to run it if they want to open KT files.

I mean, everyone would have to edit their registry manually, if the admin privileges also deny use of .reg files, or mabye they wouldn't be allowed to do it at all! Thats why my post of asking microsoft would work best, since you wouldn't need to change the registry manually or use .reg files - sorry if you mis-understood me  tongue


I'm back.
Maybe.

Offline

 

#9 2012-01-01 12:01:51

LS97
Scratcher
Registered: 2009-06-14
Posts: 1000+

Re: Step by step tutorial on how to define a new file type?

DigiTechs wrote:

LS97 wrote:

DigiTechs wrote:


But then EVERYONE would have to do it for the file type to be seen, so if you make the file type, just ask microsoft if they can add it to next updates to Windows, But it seems unlikley that they will do it, though.

lol no, how do you think programs get their file types to open with their programs?

Generally the registry keys are distributed to the end-users through an installer program that edits the registry. However, since that has some limitations (e.g. Admin privileges), it's better to then export the relative keys as a .reg file and tell the users to run it if they want to open KT files.

I mean, everyone would have to edit their registry manually, if the admin privileges also deny use of .reg files, or mabye they wouldn't be allowed to do it at all! Thats why my post of asking microsoft would work best, since you wouldn't need to change the registry manually or use .reg files - sorry if you mis-understood me  tongue

Well, honestly, there's a 0.00001% chance of them accepting it (just because nothing is impossible)  tongue

So of course unless you have admin privileges you won't be able to register KT files -- regardless of how you do it. That's normal, and probably a good thing Microsoft did  smile

Offline

 

Board footer