It's possible to send ESC key and hold it down for a moment? How to obtain that?

Re: SendKeys by Fosco

Fosco
Sat Apr 09 21:26:00 CDT 2005

"-=RapidHail=-"
> It's possible to send ESC key and hold it down for a moment?
> How to obtain that?

AutoitX.dll and if not >>> Autoit3
http://www.autoitscript.com/autoit3/files/unstable/autoitx/
http://www.hiddensoft.com/autoit3/

PS:
if I remember it is not possible to hold down the ESC key
a workaround : (Autoit3)

; Single keys can also be repeated, e.g.
Send("{ESC 40}") ;Presses the DEL key 40 times

or at least try esc down >> esc up
;To hold a key down (generally only useful for games)
Send("{a down}") ;Holds the A key down
sleep(500)
Send("{a up}") ;Releases the A key

--
Fosco



Re: SendKeys by -=RapidHail=-

-=RapidHail=-
Sun Apr 10 14:18:43 CDT 2005

U¿ytkownik "Fosco" <fake@fake.invalid> napisa³ w wiadomo¶ci
news:ib06e.541$TR5.410@news.edisontel.com...
> "-=RapidHail=-"
> > It's possible to send ESC key and hold it down for a moment?
> > How to obtain that?
>
> AutoitX.dll and if not >>> Autoit3
> http://www.autoitscript.com/autoit3/files/unstable/autoitx/
> http://www.hiddensoft.com/autoit3/

Thx a lot, it's working but now I have another question.
How to use @CRLF from autoitx in msgbox or ToolTip via VBScript?

Thanks in advance



Re: SendKeys by Fosco

Fosco
Sun Apr 10 21:51:30 CDT 2005

"-=RapidHail=-"
> Thx a lot, it's working but now I have another question.
> How to use @CRLF from autoitx in msgbox or ToolTip via VBScript?

;Autoit3 for autoitX or vbs use the help.chm

MsgBox(64, "title", "This is a line" & @CRLF & "This is the next line")

;I would use @CRLF if you get in the habit, you will save yourself some
; headaches later on when you use the data in other places.

;;/n was newline.
;@LF is LineFeed
;@CR is CarrigeReturn
;@CRLF is dos/windows for a newline.

;Mac uses @CR without the @LF, but doesn't mind @CRLF
;Unix uses @LF without the @CR, but doesn't mind @CRLF
;Dos/Win mess up if no @CRLF in some programs.

Help download :
http://www.microsoft.com/downloads/details.aspx?FamilyId=01592C48-207D-4BE1-8A76-1C4099D7BBB9&displaylang=en
http://download.microsoft.com/download/winscript56/Install/5.6/W982KMeXP/EN-US/scrdoc56en.exe
--
Fosco






Re: SendKeys by Fosco

Fosco
Mon Apr 11 00:50:40 CDT 2005

"-=RapidHail=-"

' vbs >> autoX

MsgBox """Version 1.0""" & vbNewLine & """VB6"""

--
Fosco