Jump to content
Sign in to follow this  
rrrm99

Mouse move help

Recommended Posts

rrrm99

$Browser = MsgBox (4, "Browser", "What browser are you using? Click Yes for Internet Explorer. Click No for FireFox")
If $Browser = 6 Then Run ("C:\Program Files\Internet Explorer/IEXPLORE.exe")
If $Browser = 7 Then Run ("")
If $Browser = 6 Then $Url = WinGetText ("Microsoft Internet Explorer", "http")
MouseMove ($Url[0], $Url[1])

Do not click No!!!(it has no function right now)

what is wrong with it?

Share this post


Link to post
Share on other sites
November

$Browser = MsgBox (4, "Browser", "What browser are you using? Click Yes for Internet Explorer. Click No for FireFox")
If $Browser = 6 Then Run ("C:\Program Files\Internet Explorer/IEXPLORE.exe")
If $Browser = 7 Then Run ("")
If $Browser = 6 Then $Url = WinGetText ("Microsoft Internet Explorer", "http")
MouseMove ($Url[0], $Url[1])

Do not click No!!!(it has no function right now)

what is wrong with it?

Hi...

And what should it do?

Explain a little more please.

Cheers


Old Scriptology

Visual Ping 1.8 - Mass Ping Program with export to txt delimited.

Desktop 2 RGB and YMCK - Pick a color in the desktop and get the RGB and YMCK code.

Desktop 2 RGB - Pick a color in the desktop and get the RGB code.

ShootIT 1.0 - Screen Capture full and partial screen

[font="'Arial Black';"]Remember Remember The Fifth of November.[/font]

Share this post


Link to post
Share on other sites
GaryFrost

Might try something like

#include <IE.au3>

$opt = Opt("WinTitleMatchMode", 2)
$Browser = MsgBox (4, "Browser", "What browser are you using? Click Yes for Internet Explorer. Click No for FireFox")
If $Browser = 6 Then 
    $oIE = _IECreate ("")
    WinMove("Windows Internet Explorer", "", 10, 10)
ElseIf $Browser = 7 Then 
    Run ("")
EndIf
Opt("WinTitleMatchMode", $opt)

SciTE for AutoItDirections for Submitting Standard UDFs

 

Don't argue with an idiot; people watching may not be able to tell the difference.

 

Share this post


Link to post
Share on other sites
rrrm99

Might try something like

#include <IE.au3>

$opt = Opt("WinTitleMatchMode", 2)
$Browser = MsgBox (4, "Browser", "What browser are you using? Click Yes for Internet Explorer. Click No for FireFox")
If $Browser = 6 Then 
    $oIE = _IECreate ("")
    WinMove("Windows Internet Explorer", "", 10, 10)
ElseIf $Browser = 7 Then 
    Run ("")
EndIf
Opt("WinTitleMatchMode", $opt)
will it work for firefox?

and i think it wont work for my script :-(

what my script does is:

pop up a message asking for browser

GUI pops up

GUI has a box that needs something to type

Presses OK

opens Iexplorer/FireFox

Goes to a URL + the input put in the input box in the last GUI (something like

any idea how to make it type for Iexplorer and FireFox?

Edited by rrrm99

Share this post


Link to post
Share on other sites
Azazel

will it work for firefox?

and i think it wont work for my script :-(

what my script does is:

pop up a message asking for browser

GUI pops up

GUI has a box that needs something to type

Presses OK

opens Iexplorer/FireFox

Goes to a URL + the input put in the input box in the last GUI (something like

any idea how to make it type for Iexplorer and FireFox?

hi !

do you really need to move the mouse ?

if not you can do like this

(i use mozilla replace by firefox)

$url= result of your inputbox

run("C:\Program Files\mozilla.org\Mozilla\mozilla.exe"&chr(32)&$url)

or run("C:\Program Files\Internet Explorer\iexplore.exe"&chr(32)&$url)

????

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  

×