|
-
January 20th, 2010, 10:41 PM
#1
[RESOLVED] Touch Enable / Disable Script.
Hello,
I'm new to this forum.
I don't have much experience writing programs for the computer, but I know how to do some fairly simple stuff. I do write code for microprocessors (PICs). I do not have a visual basic compiler on any computer.
I want to make a program that turns on/off the "Use your finger as an input device" checkbox in the control panel. Currently, I'm doing it by opening the .cpl file and sending some keystrokes to it with vbs, to change the settings. This works fine, but you see the dialogue box come up.
I've originally tried to do this by changing the following registry entries:
"HKEY_CURRENT_USER\Software\Microsoft\Wisp\Touch\TouchGate"
- DWORD, 1 = Touch Enabled, 0 =Touch Disabled
"HKEY_CURRENT_USER\Software\Microsoft\Wisp\MultiTouch"
- DWORD, 1 = Multi-Touch Gestures Enabled, 0 =Multi-Touch Gestures Disabled
And then refreshing explorer.exe by killing it and then starting it. The only problem is that the Notification Area Icons then have problems, and won't re-appear.
I've read some things on this forum, and it appears that people are using "WM_SETTINGCHANGE" message to update explorer.exe.
Will this work? Is there a better alternative? How do I implement it? Do I have to download a vb6.0 compiler? Or can I use vbs?
See this thread here:
http://www.gottabemobile.com/forum/d...le-script.html
Thanks in advance for any responses.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|