Jump to content
Sign in to follow this  
Karpyshyn Roman

/ instead . in browser

Recommended Posts

Karpyshyn Roman

Hi , have script, but in browser displayed wikipedia/org , why? thanks

[autoit]

Run(@ProgramFilesDir&"\Google\Chrome\Application\chrome.exe", "", @SW_MAXIMIZE)
WinActivate("Chrome_WidgetWin_1")
sleep(1000)
Send("wikipedia.org")

[/autoit]

 

Share this post


Link to post
Share on other sites
JohnOne
Run(@ProgramFilesDir&"\Google\Chrome\Application\chrome.exe", "", @SW_MAXIMIZE)
WinActivate("Chrome_WidgetWin_1")
sleep(1000)
Send("wikipedia.org")
Send("{Enter}")

Or

Run(@ProgramFilesDir&"\Google\Chrome\Application\chrome.exe wikipedia.org", "", @SW_MAXIMIZE)

 


AutoIt Absolute Beginners    Require a serial    Pause Script    Video Tutorials by Morthawt   ipify 

Monkey's are, like, natures humans.

Share this post


Link to post
Share on other sites
Karpyshyn Roman
Run(@ProgramFilesDir&"\Google\Chrome\Application\chrome.exe", "", @SW_MAXIMIZE)
WinActivate("Chrome_WidgetWin_1")
sleep(1000)
Send("wikipedia.org")
Send("{Enter}")

Or

Run(@ProgramFilesDir&"\Google\Chrome\Application\chrome.exe wikipedia.org", "", @SW_MAXIMIZE)

 

second option is working, but 1st-not. problem isnt i dont have 

Send("{Enter}")

problem is - typing / instead dot.    

screen below

1.jpg

Share this post


Link to post
Share on other sites
Karpyshyn Roman

Have code

Run(@ProgramFilesDir&"\Google\Chrome\Application\chrome.exe youtube.com", "", @SW_MAXIMIZE)
sleep(3000)
send("жириновский")
Send("{Enter}")

typing text like in screen 

 

Безымянный.jpg

Share this post


Link to post
Share on other sites

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
Sign in to follow this  

×