Click here to Skip to main content
15,881,938 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
I want a ".inf" file content to add to .inf file, the code should open "Mouse Properties Window"




This code adds mouse pointers to Mouse Properties window, i want a line to add in the end, that opens: "Mouse Properties", so the user can change the mouse set to this new one.




; Mario Gant by Behelit (http://behelit.deviantart.com)
; Right click on the "Install.inf" file and click on "Install". Then in the control panel apply TransOutLine cursors.

[Version]
signature="$CHICAGO$"

[DefaultInstall]
CopyFiles = Scheme.Cur, Scheme.Txt
AddReg = Scheme.Reg

[DestinationDirs]
Scheme.Cur = 10,"%CUR_DIR%"
Scheme.Txt = 10,"%CUR_DIR%"

[Scheme.Reg]
HKCU,"Control Panel\Cursors\Schemes","%SCHEME_NAME%",,"%10%\%CUR_DIR%\%pointer%,%10%\%CUR_DIR%\%help%,%10%\%CUR_DIR%\%work%,%10%\%CUR_DIR%\%busy%,%10%\%CUR_DIR%\%cross%,%10%\%CUR_DIR%\%Text%,%10%\%CUR_DIR%\%Hand%,%10%\%CUR_DIR%\%unavailiable%,%10%\%CUR_DIR%\%Vert%,%10%\%CUR_DIR%\%Horz%,%10%\%CUR_DIR%\%Dgn1%,%10%\%CUR_DIR%\%Dgn2%,%10%\%CUR_DIR%\%move%,%10%\%CUR_DIR%\%alternate%,%10%\%CUR_DIR%\%link%"

; -- Common Information

[Scheme.Cur]
Normal Select.cur
Help Select.cur
Working In Background.ani
Busy.ani
Text Select.cur
Unavailable.cur
Vertical Resize.cur
Horizontal Resize.cur
Diagonal Resize 1.cur
Diagonal Resize 2.cur
Move.cur
Link Select.cur
Precision Select.cur
Handwriting.cur
Alternate Select.cur

[Scheme.Txt]
Readme.txt

[Strings]
CUR_DIR = "Cursors\Mario Gant"
SCHEME_NAME = "Mario Gant"
pointer = "Normal Select.cur"
help = "Help Select.cur"
work = "Working In Background.ani"
busy = "Busy.ani"
text = "Text Select.cur"
unavailiable = "Unavailable.cur"
vert = "Vertical Resize.cur"
horz = "Horizontal Resize.cur"
dgn1 = "Diagonal Resize 1.cur"
dgn2 = "Diagonal Resize 2.cur"
move = "Move.cur"
link = "Link Select.cur"
cross = "Precision Select.cur"
hand = "Handwriting.cur"
alternate = "Alternate Select.cur"
Posted
Updated 26-Feb-15 5:15am
v3
Comments
ZurdoDev 26-Feb-15 9:52am    
Where are you stuck?
john1990_1 26-Feb-15 9:55am    
all i want is a line of code to be in ".inf" file, this line of code opens "Mouse Properties" windows in Windows.
john1990_1 26-Feb-15 10:54am    
i improved the question
Leo Chapiro 26-Feb-15 10:00am    
Unclear what you want, dude :( Show your code, where are you stuck?
john1990_1 26-Feb-15 10:54am    
i improved the question

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900