Jump to content

Recommended Posts

Posted

i am trying to run ie in the backround and fill some forms on pages i knwo i have to use control but how should i use it with minimize or hide and what control command to send TAB and letters? thanks

Posted

This should get you started:

AutoItSetOption("WinTitleMatchMode",2)
$IEPATH= "c:\program files\internet explorer\iexplore.exe" & " www.google.com"
Run($IEPATH,"",@SW_MINIMIZE)
Sleep(3000)
;ControlSend("Microsoft Internet Explorer","","Edit1","www.google.com" & "{ENTER}")
ControlSend("Google - Microsoft Internet Explorer","","Internet Explorer_Server1","AutoIt3" & "{ENTER}")
Sleep(2000)
WinSetState("Google", "",@SW_MAXIMIZE)
Posted

i got it to work but i cant use it to send an @symbol ive tried to use + and {SHIFT} but i always get a 2 not an @ . alnd when i try to use 2 controlsends in thr same script the second one doesn''t work?

  • Developers
Posted (edited)

I guess what i wanted to ask is: What did you use in the controlsend command, because you talk about + and {SHIFT} where i think the @ can be used just as is...

Controlsend("title...","text...","Control....", "text@site.com")

Edited by JdeB

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Posted (edited)

sleep(1000)

controlsend('name',"",'Internet Explorer_Server1','

andromedarising blank@wit.edu')

always put a 2 for @weird

Edited by DamnYouAll
  • Developers
Posted

just tried it out and worked fine for me..... :D

controlsend('Google - Microsoft Internet Explorer',"",'Internet Explorer_Server1','andromedarising blank@wit.edu',)

What OS&anguage are you running ??

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Posted (edited)

well i got it to send when it is open but when i minimize it it doesn't do anything. is there any way in a control send to send tabs cuz i am using {TAB 12} should this work?

also wiht controlclick can u put in xy cordanites to click at a pos while it is minimized?

Edited by DamnYouAll

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...