Free Myspace Layouts - HDTV - Credit Reports - Debt Consolidation - US Business Directory

PDA

View Full Version : PHP and windows API(KeyStroke)


mehdiali
May 9th 2008, 6:05 am
Hi everyone
there are a lot of windows in front of me whit this title :
untitled-Notepad,
about:Blank-Microsoft,
Digital Point Forums-Post New Thread-Opera
Windows Media Player
and ... .
Now i want to creat a program that
first : select "Digital Point Forums-Post New Thread-Opera" and
Ctrl+a(select all) then Ctrl+c(copy)
second : select untitled-Notepad and at last Ctrl+v(past).

the name of Ctrl+v , Enter , F1 , and like these are keystroke and in some
language program there are some API that use for these program.
they simulate Keyboard.

you can see a good one in :
http://www.codeproject.com/KB/dialog/keystroke.aspx
however in C++ .

Now, what about PHP ?

thank you in advance

Altari
May 9th 2008, 6:43 am
I'm going to go out on a limb here and say this can't be accomplished. PHP is all parsed server side so the user can't really "interact" with it.

mehdiali
May 9th 2008, 8:24 am
how about javascript ?

Altari
May 9th 2008, 8:53 am
Yeah AJAX could probably get you what you're looking for.

mehdiali
May 9th 2008, 11:58 am
would you please get more information.
some keywords.
thanks