Page 1 of 1 1
Topic Options
#183604 - 2007-12-13 05:05 PM SENDKEYS using ALT and SPACEBAR
SeaDub Offline
Fresh Scripter

Registered: 2007-11-15
Posts: 8
Any Bright ideas here?

I'm trying to make the middle of my script maximize the internet explorer window that its doing work in. Currently when i do a:
setFocus(<<Internet Explorer Window Name>>)
it opens the window in a small window format, not full screen, like I want it.
The only way to make it full screen, using the keybaord, that my little brain knows how, its to do an:
ALT - SPACEBAR - X
Sure. That sounds easy to do using sendkeys, except now I can't figure out how to get sendkeys to just send an ALT key, by itself, OR a SPACEBAR key... (which I don't believe is the same as a Sendkeys(" ").

Any thoughts?

Thanks in advance for your words of wisdom.

Top
#183605 - 2007-12-13 05:09 PM Re: SENDKEYS using ALT and SPACEBAR [Re: SeaDub]
Jochen Administrator Offline
KiX Supporter
*****

Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
Wasn't Fullscreen F11 ?
_________________________



Top
#183606 - 2007-12-13 05:17 PM Re: SENDKEYS using ALT and SPACEBAR [Re: Jochen]
SeaDub Offline
Fresh Scripter

Registered: 2007-11-15
Posts: 8
F11 is Fullscreen, your right.. I guess what I'm looking for is just a maximized window... not F11 Internet explorer FullScreen..
Top
#183609 - 2007-12-13 05:42 PM Re: SENDKEYS using ALT and SPACEBAR [Re: SeaDub]
Richard H. Administrator Offline
Administrator
*****

Registered: 2000-01-24
Posts: 4946
Loc: Leatherhead, Surrey, UK
How are you starting IE?
Top
#183610 - 2007-12-13 05:46 PM Re: SENDKEYS using ALT and SPACEBAR [Re: Richard H.]
Richard H. Administrator Offline
Administrator
*****

Registered: 2000-01-24
Posts: 4946
Loc: Leatherhead, Surrey, UK
This works for me:
 Code:
$=SendKeys("~ x")

Top
#183614 - 2007-12-13 06:49 PM Re: SENDKEYS using ALT and SPACEBAR [Re: Richard H.]
SeaDub Offline
Fresh Scripter

Registered: 2007-11-15
Posts: 8
Wow... that works for me too... Why is it that the most obvious answers escape me? I was overthinking it... trying to press alt, then stop, then press space, then stop... etc... didn't think it would let me do it all at once.. Thanks for your help.
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
0 registered and 248 anonymous users online.
Newest Members
gespanntleuchten, DaveatAdvanced, Paulo_Alves, UsTaaa, xxJJxx
17864 Registered Users

Generated in 0.052 seconds in which 0.021 seconds were spent on a total of 13 queries. Zlib compression enabled.

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