Jump to content

Recommended Posts

Posted (edited)

Okay. Well, try this. I am hoping this moves the cursor right over the link. If it doesn't, tweak the numbers in the MouseMove command until they do. This should work no matter where the window is. Also, your screenshots are from Firefox, but you're posting "Internet Explorer_Server1" from IE. This code is for IE:

$title = "d2jsp - Ladder Slasher"
Winactivate($title)

$size = WinGetPos($title)
$pos = ControlGetPos($title, "", "Internet Explorer_Server1")
$client = WinGetClientSize ( $title, "")

$startx = $size[0] + $pos[0]
$starty = $size[1] + $pos[1] + ($size[3] - $client[1])

MouseMove($startx+283,$starty+95)

Edited by lod3n

[font="Fixedsys"][list][*]All of my AutoIt Example Scripts[*]http://saneasylum.com[/list][/font]

Posted

look my script at Page1.

_IENAVIGATE :P!

this is for a bot, but normally i use Firefox :)

[quote name='AceLoc']I gots new sunglasses there cool.[/quote]

Posted

but he dont clicks on it, and does this work minimized? thats why i used DLLCALL *-)?

[quote name='AceLoc']I gots new sunglasses there cool.[/quote]

Posted

Hmm, looking back at your original code, I see a problem:

"Internet Explorer_Server1" is not the name you want to use. Try changing:

_MouseClickPlus("Internet Explorer_Server1", "left", 283, 225, 1)

to

_MouseClickPlus("d2jsp - Ladder Slasher", "left", 283, 225, 1)

[font="Fixedsys"][list][*]All of my AutoIt Example Scripts[*]http://saneasylum.com[/list][/font]

Posted

the problem is it wont even move not even maximized.

_IENavigate($oIE, "http://ladderslasher.d2jsp.org")
_IELoadWait($oIE)
MouseX(); starts func
_IELoadWait($oIE)oÝ÷ ÙÚ±«­¢+Ù5½ÕÍ` ¤
actually starts the Func? :)

[quote name='AceLoc']I gots new sunglasses there cool.[/quote]

  • Moderators
Posted

Anyone getting reminded of the ScareCrow in the wizard of Oz here?

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Posted

eh smokey you remind me to my old cat.. anyways this forum isnt meant for telling eachother story's about some magicans.

[quote name='AceLoc']I gots new sunglasses there cool.[/quote]

Posted

Hmm, As smoke told me before, MouseClickPlus() Doesnt work with anything, And doesnt seem to work with flash.

# MY LOVE FOR YOU... IS LIKE A TRUCK- #
Posted

Hmm, As smoke told me before, MouseClickPlus() Doesnt work with anything, And doesnt seem to work with flash.

i also used it on Diablo (minimized) and it dont even work maximized here?¿??

[quote name='AceLoc']I gots new sunglasses there cool.[/quote]

Posted

i also used it on Diablo (minimized) and it dont even work maximized here?¿??

Diablo 2 isnt a flash game :)
# MY LOVE FOR YOU... IS LIKE A TRUCK- #
  • Moderators
Posted

eh smokey you remind me to my old cat.. anyways this forum isnt meant for telling eachother story's about some magicans.

You're right, it's meant to ask for support... and when a question is answered, even though you don't like the answer... then you should move on.... case in point... Azkay just told you what I told him about that specific function, yet you still ask the same question you have stated in a few post in this one thread right below here.

i also used it on Diablo (minimized) and it dont even work maximized here?¿??

Here's a place to start:

What do you see different about those DllCalls then you would a normal "MouseClick" call? Maybe do some research on it's limitations (SendMessage) on what you are trying to do, or face the fact that you may need to go traditional.

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Posted

so you are telling, that what im trying to do

is IMPOSSIBLE hided//minimized -- thats the first time i ever heard the word "impossible" in this forum.

Thanks!

[quote name='AceLoc']I gots new sunglasses there cool.[/quote]

Posted

so you are telling, that what im trying to do

is IMPOSSIBLE hided//minimized -- thats the first time i ever heard the word "impossible" in this forum.

Thanks!

Impossible is nothing =O
# MY LOVE FOR YOU... IS LIKE A TRUCK- #
Posted (edited)

Interesting: http://www.permadi.com/tutorial/flashjscommand/

It looks like you CAN interact with flash using javascript, so it might be possible to mess with a flash object through IE.au3 with AutoIt. What's missing though is some way to enumerate the Flash Form elements and do something with them. Like click on them.

Edited by lod3n

[font="Fixedsys"][list][*]All of my AutoIt Example Scripts[*]http://saneasylum.com[/list][/font]

  • Moderators
Posted

so you are telling, that what im trying to do

is IMPOSSIBLE hided//minimized -- thats the first time i ever heard the word "impossible" in this forum.

Thanks!

I see you can type in caps, but I don't recall using the word "impossible". Matter of fact, I never use it in anything in life... However, if we based it on skill levels, I would rank it "IMPROBABLE".

lod3n has a nice idea however... but again, now your limiting your function to specifics, which seems to be your complaint (works with Diablo, not with IE).

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Posted

and you got no- idea, how to make it work?

just little hints? :)

-THanks!

[quote name='AceLoc']I gots new sunglasses there cool.[/quote]

  • 9 months later...
Posted (edited)

GG.

I made a ladderslasher bot in AutoIt with Opera, instead of all the others

maximized though... not what your looking for, but works effectively =D

Edited by Shonnie

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
×
×
  • Create New...