link: zip with .gml file and all this info in a .txt file
http://www.geocities...stryScripts.zip
If you download please comment whether its a criticism, praise, question, or wanting me to add a function, if you want to add one too go ahead, ill package it with them and put your name in the help.txt file if you want
Scripts:
reg_set_assoc(extension,association)
reg_get_assoc(extension)
reg_check_assoc(extension) new! checks to see how far assoc exists 0-extension doesnt exist, 1-extension exists, association doesn't,2-both exist
reg_set_open(association,exe)
reg_get_open(association)
reg_set_def(association,verb)
reg_get_def(association)
reg_set_icon(association,icon)
reg_get_icon(association)
reg_set_verb_name(association,verb,display name)
reg_get_verb_name(association,verb)
reg_set_verb_extended(association,verb)
reg_get_verb_extended(association,verb)
reg_set_verb_command(association,verb,exe,paramete
rs)
reg_get_verb_command(association,verb)
reg_add_verb(association,verb)
reg_set_assoc_ext(extension,association,exe,icon)
reg_set_verb_ext(association,verb,display name,exe,parameters,default?,extended?)
each script is commented about the arguments
reg_set_assoc_ext is reg_set_assoc,reg_set_open,reg_set_icon all in 1
reg_set_assoc_ext is reg_set_verb_name,reg_set_verb_command,reg_set_def
,reg_set_extended and sometimes reg_add_verb all in 1
the separate functions are for changing them after creation
vocabulary:
[file] association- files extension, ie .bmp, is grouped to a name, more than one extension can be grouped to a name. In this name is where properties are set
Due to a pm of someone who didnt understand it i have more info to give
its like an identifier for example for microsoft word some examples it made are
Word.Application
Word.Document.6
Word.Document.8
see how the first part is an identifier followed by a "." to make it more specific
extended- means it will only be shown if the user holds shift and right clicks on icon
default-this item will be bold on the right click, also double clicking activates it
verbs- when you right click on an icon, you get a context menu, this is the term associated with the action when you click on ie open, the verb open is called and does the command
Some System Verbs:
open-Opens the file or folder.
opennew-Opens the file or folder in a new window.
print-Prints the file.
explore-Opens Windows Explorer with the folder selected.
find-Opens the Windows Search dialog box with the folder set as the default search location.
openas-Opens the Open With dialog box.
properties-Opens the object's property sheet.
Its up to you to find out how to use them
Note: Gamemaker cannot delete registry keys or values so once you add a verb its there until the user deletes it, once you make a verb extended it will say extended edit: set the icon to nothing "" as the argument, to have windows to use a mini-version of your programs icon, the normal, as if it was set with open with
Disclaimer: I will not be held responsible for the actions of anyone that uses these scripts. Unless you definately know what you are doing, do not change anything about commercial extensions, just your own
no need to give credit if used
Mod edit: Closed for broken link
Edited by FredFredrickson, 21 October 2010 - 06:42 PM.



This topic is locked







