Page 2 of 2 FirstFirst 12
Results 26 to 33 of 33

Thread: [Smart/Scar] Silent Mouse : How ?

  1. #26
    Join Date
    May 2006
    Location
    Amsterdam
    Posts
    3,620
    Mentioned
    5 Post(s)
    Quoted
    0 Post(s)

    Default

    You'd probably need to go down to the hardware\driver level. That should in theory allow you to make a fake mouse.. But I don't think you want to go into it that deep ^_^.

    EDIT: I think that the old Silent mouse used to sent mouse events trough the Win API Message queue.
    Verrekte Koekwous

  2. #27
    Join Date
    Oct 2007
    Location
    California
    Posts
    153
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    In visual basic, you can add a web browser component, and input the HTML, and it loads RuneScape, but I don't know how S.M.A.R.T. starts it out on a certain world...probably something in java.
    I have little understanding of S.M.A.R.T.

  3. #28
    Join Date
    Dec 2006
    Location
    Copy pastin to my C#
    Posts
    3,788
    Mentioned
    8 Post(s)
    Quoted
    29 Post(s)

    Default

    There is as tutorial about Loaders floating around at Mopar, but it's for RS when the URLs were the old way...

  4. #29
    Join Date
    Feb 2007
    Location
    Toronto, Ontario, Canada
    Posts
    586
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    The windows API (which includes sending mouse clicks, key presses, etc) can be accessed from a number of platforms, including C(#/++).
    In C++, it's basically:
    Code:
    #include "windows.h"
    #include <iostream>
    
    using namespace std;
    int APIENTRY WinMain(HINSTANCE hInstance,
                        HINSTANCE hPrevInstance,
                        LPSTR     lpCmdLine,
                        int       nCmdShow) 
    {
    	HWND wind = FindWindow(NULL, "Untitled - Notepad");
    	cout << wind << endl;
    	SendMessage(wind, WM_RBUTTONDOWN, MK_RBUTTON, (20*0x010000)|20);
    	SendMessage(wind, WM_LBUTTONDOWN, MK_LBUTTON, (20*0x010000)|20);
        return 0;
    }
    Will post links to tuts after dinner

  5. #30
    Join Date
    Oct 2006
    Location
    Belguim!
    Posts
    27
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by A G E N T 83 View Post
    The windows API (which includes sending mouse clicks, key presses, etc) can be accessed from a number of platforms, including C(#/++).
    In C++, it's basically:
    Code:
    #include "windows.h"
    #include <iostream>
    
    using namespace std;
    int APIENTRY WinMain(HINSTANCE hInstance,
                        HINSTANCE hPrevInstance,
                        LPSTR     lpCmdLine,
                        int       nCmdShow) 
    {
    	HWND wind = FindWindow(NULL, "Untitled - Notepad");
    	cout << wind << endl;
    	SendMessage(wind, WM_RBUTTONDOWN, MK_RBUTTON, (20*0x010000)|20);
    	SendMessage(wind, WM_LBUTTONDOWN, MK_LBUTTON, (20*0x010000)|20);
        return 0;
    }
    Will post links to tuts after dinner
    But wouldn't that move the Real mouse ?

  6. #31
    Join Date
    May 2006
    Location
    Amsterdam
    Posts
    3,620
    Mentioned
    5 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by A G E N T 83 View Post
    The windows API (which includes sending mouse clicks, key presses, etc) can be accessed from a number of platforms, including C(#/++).
    In C++, it's basically:
    Code:
    #include "windows.h"
    #include <iostream>
    
    using namespace std;
    int APIENTRY WinMain(HINSTANCE hInstance,
                        HINSTANCE hPrevInstance,
                        LPSTR     lpCmdLine,
                        int       nCmdShow) 
    {
    	HWND wind = FindWindow(NULL, "Untitled - Notepad");
    	cout << wind << endl;
    	SendMessage(wind, WM_RBUTTONDOWN, MK_RBUTTON, (20*0x010000)|20);
    	SendMessage(wind, WM_LBUTTONDOWN, MK_LBUTTON, (20*0x010000)|20);
        return 0;
    }
    Will post links to tuts after dinner
    But that doesn't really work on RS.. Atleast not the last time I tried.
    Verrekte Koekwous

  7. #32
    Join Date
    Feb 2007
    Location
    Toronto, Ontario, Canada
    Posts
    586
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by mastaraymond View Post
    But that doesn't really work on RS.. Atleast not the last time I tried.
    It tends to work better if it's on a window that the program makes itself - so putting the RS applet in there might work.

  8. #33
    Join Date
    Oct 2006
    Location
    Belguim!
    Posts
    27
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by A G E N T 83 View Post
    It tends to work better if it's on a window that the program makes itself - so putting the RS applet in there might work.
    But it moves the real cursor ..

Page 2 of 2 FirstFirst 12

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Silent Mouse
    By xia1295 in forum News and General
    Replies: 16
    Last Post: 01-07-2008, 11:36 PM
  2. Silent mouse for SCAR maby able to use it?
    By booya in forum RuneScape News and General
    Replies: 15
    Last Post: 05-08-2007, 03:05 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •