What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » Can anybody develop this simple thing?

Pages: (3): « First [ 1 ] 2 3 » Last »
Can anybody develop this simple thing?
Author: Message:
Jhrono
Veteran Member
*****


Posts: 1791
Reputation: 25
32 / Male / Flag
Joined: Jun 2004
O.P. Roll Eyes  Can anybody develop this simple thing?
Right...can anybody develop a simple program that would make the PC think that your pressing a key but you're not there and the program is doing it?like i need to press enter while i'm sleeping...i'd like to have this prog that would automatticly press it from 2,5 to 2,5 mins...another thing...how do i prevent windows (xp) to go to the logon screen when you don't move it for a while?(and it goes black too)...Thanks for your answers...

Found this code : http://www.swissdelphicenter.ch/en/showcode.php?id=220
But i dont know if it's good nor to compile it

This post was edited on 02-24-2005 at 01:14 PM by Jhrono.
02-24-2005 01:10 PM
Profile E-Mail PM Find Quote Report
Ash_
Senior Member
****

Avatar

Posts: 638
Reputation: 31
35 / Male / –
Joined: Aug 2004
RE: Can anybody develop this simple thing?
ok, your trying to cheat whatpulse. :P, i'd tell you but i should be in bed, and its a program, google it.
It requires some Basic Knowledge of API thats all i can say, and SendMessage API call pwnzorz.

and to disable the funky thing, just right click on your Desktop -> Screen Saver -> None ( on the drop-down list) and unclick the "On Resume, Password Protect" option (Y)

This post was edited on 02-24-2005 at 01:14 PM by Ash_.
[Image: jeansiger5.jpg]
02-24-2005 01:14 PM
Profile PM Find Quote Report
toddy
Veteran Member
*****

Avatar
kcus uoy

Posts: 2573
Reputation: 49
– / Male / Flag
Joined: Jun 2004
RE: Can anybody develop this simple thing?
turn off screensaver :rolleyes:

control panel > display > screen saver > none

This post was edited on 02-24-2005 at 01:17 PM by toddy.
02-24-2005 01:17 PM
Profile PM Find Quote Report
Jhrono
Veteran Member
*****


Posts: 1791
Reputation: 25
32 / Male / Flag
Joined: Jun 2004
O.P. RE: Can anybody develop this simple thing?
quote:
Originally posted by Ash_

ok, your trying to cheat whatpulse.


No i'm not trying to cheat Whatpulse my keys and clicks are enough! Look :
1,841,877 (keys)
531.606(clicks)
If you dont believe it got to whatpulse.com and look for Krak_johny username...:dodgy:....
quote:
Originally posted by Ash_

and its a program, google it.

I've googled all i get is crap:S...

This post was edited on 02-24-2005 at 01:25 PM by Jhrono.
02-24-2005 01:22 PM
Profile E-Mail PM Find Quote Report
Mike
Elite Member
*****

Avatar
Meet the Spam Family!

Posts: 2795
Reputation: 48
31 / Male / Flag
Joined: Mar 2003
Status: Online
RE: Can anybody develop this simple thing?
quote:
Originally posted by johny
Right...can anybody develop a simple program that would make the PC think that your pressing a key but you're not there and the program is doing it?like i need to press enter while i'm sleeping...i'd like to have this prog that would automatticly press it from 2,5 to 2,5 mins...
Very easy to do ;)
However, it will not be so realible that means that the key might not get pressed (I will use sendkeys vb's built in function because I'm lazy too use the keyb_event api :P)
quote:
Originally posted by johny
how do i prevent windows (xp) to go to the logon screen when you don't move it for a while?(and it goes black too)...Thanks for your answers...
Easy ;)

Right click on desktop -> Propeties -> Screensaver -> Uncheck "On resume, display Welcome screen."
YouTube closed-captions ripper (also allows you to download videos!)
02-24-2005 01:52 PM
Profile E-Mail PM Web Find Quote Report
Jhrono
Veteran Member
*****


Posts: 1791
Reputation: 25
32 / Male / Flag
Joined: Jun 2004
O.P. RE: Can anybody develop this simple thing?
Mike add me to msn plz;)...thanks for your help :

My msn : putoalmeida:cheesy:gmail.com
(:cheesy: = @)
02-24-2005 02:43 PM
Profile E-Mail PM Find Quote Report
TheBlasphemer
Senior Member
****

Avatar

Posts: 714
Reputation: 47
36 / – / –
Joined: Mar 2004
RE: Can anybody develop this simple thing?
Why don't you just make some mechanical thingie that keeps pressing your control key :P?
[Image: theblasp.png]
02-24-2005 03:07 PM
Profile PM Find Quote Report
Jhrono
Veteran Member
*****


Posts: 1791
Reputation: 25
32 / Male / Flag
Joined: Jun 2004
O.P. RE: Can anybody develop this simple thing?
Didnt get u TB...if it's for me...forget it i dont know crap about programming...
02-24-2005 03:10 PM
Profile E-Mail PM Find Quote Report
segosa
Community's Choice
*****


Posts: 1407
Reputation: 92
Joined: Feb 2003
RE: Can anybody develop this simple thing?
I couldn't figure out how often you wanted it done so I assumed from '2,5' you meant 2.5 minutes, and so I've set that as the default. It can't be changed because that'd require extra work which is kind of over the top for such a simple app you'll probably only need once. If you need it at another interval, just tell me and I'll recompile.

Download (1.19KB)

Since I'm a fan of open-source software, here's the source too, if anyone wants to learn from it/etc.

.zip File Attachment: enter_presser.zip (1.19 KB)
This file has been downloaded 134 time(s).

This post was edited on 02-24-2005 at 06:35 PM by segosa.
The previous sentence is false. The following sentence is true.
02-24-2005 06:33 PM
Profile PM Find Quote Report
spokes
Full Member
***

Avatar
I <3 Rollerblading

Posts: 423
Reputation: 10
33 / Male / Flag
Joined: May 2004
RE: Can anybody develop this simple thing?
segosa, as i don't have a c++ compiler, and im dumb at it, could you quickly edit one for me, so it presses enter (about 5 times), then f5? every 5 minutes?

(for surfjunky in the nights, lol)

is this right? if so all i need is someone to compile it

code:
#include <windows.h>
#include "resource.h"

#pragma comment(linker, "/NODEFAULTLIB")
#pragma comment(linker, "/ENTRY:NOCRT_ENTRY")
#pragma comment(linker, "/ALIGN:4096")

#define DEFAULT_TIMER_INTERVAL 300000
unsigned int nTimerId=0;
HWND hwndDlg;

VOID CALLBACK TimerProc(HWND hwnd, UINT uMsg, UINT_PTR idEvent, DWORD dwTime)
{
    if (uMsg==WM_TIMER)
    {
        if (GetActiveWindow() != hwndDlg)
            keybd_event(VK_RETURN,NULL,NULL,NULL);
            keybd_event(VK_RETURN,NULL,NULL,NULL);
            keybd_event(VK_RETURN,NULL,NULL,NULL);
            keybd_event(VK_RETURN,NULL,NULL,NULL);
            keybd_event(VK_RETURN,NULL,NULL,NULL);
            keybd_event(VK_F5,NULL,NULL,NULL);
    }
}

INT_PTR CALLBACK DialogProc(HWND hwndDlg,UINT uMsg,WPARAM wParam,LPARAM lParam)
{
    switch (uMsg)
    {
        case WM_CLOSE:
            ExitProcess(0);
            break;
        case WM_COMMAND:
        {
            switch LOWORD(wParam)
            {
                case CMD_ONOFF:
                {
                    char *szText=(char*)GlobalAlloc(GPTR,256+1);
                    GetDlgItemText(hwndDlg,CMD_ONOFF,szText,256);
                    if (lstrcmp(szText,"Enable")==0)
                    {
                        if (nTimerId)
                            break;
                        nTimerId=(int)SetTimer(NULL,NULL,DEFAULT_TIMER_INTERVAL,TimerProc);
                        if (nTimerId)
                            SetDlgItemText(hwndDlg,CMD_ONOFF,"Disable");
                    }
                    else    //disable the timer
                    {   
                        if (!nTimerId)
                            break;
                        if (KillTimer(NULL,nTimerId))
                        {
                            SetDlgItemText(hwndDlg,CMD_ONOFF,"Enable");
                            nTimerId=0;
                        }
                    }
                    GlobalFree(szText);
                    break;
                }       
            }
        }
    }
    return 0;
}



int __stdcall WinMain(HMODULE hInstance,HINSTANCE hPrevInstance,LPSTR lpCmdLine,int nCmdShow)
{
    hwndDlg=CreateDialog(hInstance,MAKEINTRESOURCE(DLG_MAIN),NULL,DialogProc);
    ShowWindow(hwndDlg,SW_SHOWDEFAULT);
    MSG msg;
    BOOL bRet;
    while ((bRet = GetMessage( &msg, NULL, 0, 0 )) != 0)
    {
        if (bRet == -1)
            ExitProcess(0);
        else
        {
            TranslateMessage(&msg);
            DispatchMessage(&msg);
        }
    }
    return (int)msg.wParam;

}

void NOCRT_ENTRY(void)
{
    WinMain((HINSTANCE)GetModuleHandle(NULL),NULL,GetCommandLine(),SW_SHOWDEFAULT);
}


This post was edited on 02-24-2005 at 06:51 PM by spokes.

[Image: sig15ws.png]
02-24-2005 06:43 PM
Profile E-Mail PM Web Find Quote Report
Pages: (3): « First [ 1 ] 2 3 » Last »
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On