FAQFAQ   SearchSearch   UsergroupsUsergroups   RegisterRegister   ProfileProfile    Log inLog in   RSS Feed

Help

 
Post new topic   Reply to topic    Salling Software Forums Forum Index -> Scripting Salling Clicker for Windows
View previous topic :: View next topic  
Author Message
chaldean1
Newbie


Joined: 09 Mar 2008
Posts: 1

PostPosted: Sun Mar 09, 2008 2:34 am    Post subject: Help Reply with quote

love clicker , been locking for a program like this since 2 years ago

yesterday i started designing scripts and got the hang of it, how ever i want to creat a script that allows me to view the 3d switching in vista this is what i ave so far:[code:1]var helper = new ActiveXObject("SCHelper.SECHelper");

var oldVolume = helper.systemVolume;

var widget = CreateSliderDialog( "widget_");
widget.title = "3D Swither";
widget.maxValue = 100;
widget.value = helper.systemVolume / 100;
theTerminal.Push(widget);

SendVirtualKeyDown( 0x5B );
SendVirtualKeystroke( 0x09);

function widget_OK(slider)
{
SendVirtualKeystroke( 0x27);
}

function widget_Cancel(slider)
{
SendVirtualKeystroke( 0x1B);
}


function widget_Updated(slider)
{
SendVirtualKeyUp( 0x5B );
}[/code:1]

So far it hits the win key down and presses the tab key once, now when i press Cancel it presses ESC, when i press ok it Releases the win key

Now what i want is to be able to press right on the keypad and it simmulates right on the computer, and same with left.

Tnks in advanced

PS - i copied the script from the system volume, so how can i remove all traces of system volume and make this its own script.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Salling Software Forums Forum Index -> Scripting Salling Clicker for Windows All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group