Page 1 of 1 1
Topic Options
#124476 - 2004-08-05 01:22 PM Send Keys - Windows key
AzzerShaw Offline
Seasoned Scripter
****

Registered: 2003-02-20
Posts: 510
Loc: Cheltenham, England
Dear all


This was discussed below :
=http://www.kixtart.org/ubbthreads/showflat.php?Cat=&Board=UBB1&Number=47309&Forum=All_Forums&Words=windows%20key&Match=Entire%20Phrase&Searchpage=0&Limit=25&Old=allposts&Main=47307&Search=true#Post47309]
Send Keys "Windows Key"



but no conclusion was made. Is it possible?
_________________________
If at first you don't succeed, try again. Then quit. There's no use being a damn fool about it. - W.C Fields

Top
#124477 - 2004-08-05 01:42 PM Re: Send Keys - Windows key
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
I haven't herd (read) any success stories.
_________________________
!

download KiXnet

Top
#124478 - 2004-08-05 03:21 PM Re: Send Keys - Windows key
Breaker Offline
Hey THIS is FUN
*****

Registered: 2001-06-15
Posts: 268
Loc: Yorkshire, England
Try

Code:
$x = SendKeys("^{ESC}") 



Pops up the Windows Start menu. Depends what you want to do after that - I'm not sure that this will work with E, M, etc to use Window key functions.

[trying...]

Nope doesn't seem to do it. Sorry.
_________________________
================================================
Breaker


Top
#124479 - 2004-08-05 04:10 PM Re: Send Keys - Windows key
AzzerShaw Offline
Seasoned Scripter
****

Registered: 2003-02-20
Posts: 510
Loc: Cheltenham, England
Thanks anyway. Seems on a no win situation here. Even used a key logger and that doesnt pick it up. Will find another way round my problems.

Aaron
_________________________
If at first you don't succeed, try again. Then quit. There's no use being a damn fool about it. - W.C Fields

Top
#124480 - 2004-08-05 04:17 PM Re: Send Keys - Windows key
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
Did you look to see if AutoIT would do it?

You don't really say why exactly you need to use SendKeys(). Maybe if you explained what you are trying to do, someone may have another approach.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#124481 - 2004-08-05 04:30 PM Re: Send Keys - Windows key
Chris S. Offline
MM club member
*****

Registered: 2002-03-18
Posts: 2368
Loc: Earth
AutoIt can do it. The send commands are...

{LWIN} - Left WinKey
{RWIN} - Right WinKey

Top
#124482 - 2004-08-05 05:59 PM Re: Send Keys - Windows key
AzzerShaw Offline
Seasoned Scripter
****

Registered: 2003-02-20
Posts: 510
Loc: Cheltenham, England
Sorry I was just leading off from the previous post. I need to clear the desktop for a script to run. I will look at your suggestions, ta all
_________________________
If at first you don't succeed, try again. Then quit. There's no use being a damn fool about it. - W.C Fields

Top
#124483 - 2004-08-05 08:02 PM Re: Send Keys - Windows key
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
what you mean clear the desktop?
is there windows-key+destroy that I didn't know?

if you talk about win+M, that's called minimize.
_________________________
!

download KiXnet

Top
#124484 - 2004-08-05 09:30 PM Re: Send Keys - Windows key
Chris S. Offline
MM club member
*****

Registered: 2002-03-18
Posts: 2368
Loc: Earth
For that matter, AutoIt even has a WinMinimizeAll( ) function.
Top
#124485 - 2004-08-05 11:28 PM Re: Send Keys - Windows key
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
so does kix (in form of UDF)
_________________________
!

download KiXnet

Top
#124486 - 2004-08-06 12:38 PM Re: Send Keys - Windows key
AzzerShaw Offline
Seasoned Scripter
****

Registered: 2003-02-20
Posts: 510
Loc: Cheltenham, England
Quote:


what you mean clear the desktop?
is there windows-key+destroy that I didn't know?





Yeah didnt yah know, its Windows Key+ The "ANY" key

Havent decided what im going to do yet. looking into the command for "Show desktop" at the mo
_________________________
If at first you don't succeed, try again. Then quit. There's no use being a damn fool about it. - W.C Fields

Top
#124487 - 2004-08-06 01:33 PM Re: Send Keys - Windows key
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
azzer, give a fast lookie at the minimizeall() in the udf lib:
http://www.kixtart.org/ubbthreads/showflat.php?Cat=&Number=83096&page=26&view=collapsed&sb=3&o=all&fpart=1

it does not work in all situations but see what happens, ok?
_________________________
!

download KiXnet

Top
#124488 - 2004-08-06 01:40 PM Re: Send Keys - Windows key
AzzerShaw Offline
Seasoned Scripter
****

Registered: 2003-02-20
Posts: 510
Loc: Cheltenham, England
Cheers dude, will test now
_________________________
If at first you don't succeed, try again. Then quit. There's no use being a damn fool about it. - W.C Fields

Top
#124489 - 2004-08-06 02:54 PM Re: Send Keys - Windows key
AzzerShaw Offline
Seasoned Scripter
****

Registered: 2003-02-20
Posts: 510
Loc: Cheltenham, England
Works like a gem, cheers Jooel
_________________________
If at first you don't succeed, try again. Then quit. There's no use being a damn fool about it. - W.C Fields

Top
#124490 - 2004-08-06 03:09 PM Re: Send Keys - Windows key
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
hehee...
if I was that kinda guy I would wait for the 5 stars

but thank from you did it for me.
got me smiling
_________________________
!

download KiXnet

Top
Page 1 of 1 1


Moderator:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart 
Hop to:
Shout Box

Who's Online
1 registered (Henriques) and 2516 anonymous users online.
Newest Members
fgarcia, Viginette, ManuvdWielNL, Sir_Barrington, batdk82
17889 Registered Users

Generated in 0.077 seconds in which 0.035 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org