Jump to content

Can someone tell mw what is wrong with this code?


lolp1
 Share

Recommended Posts

I can;t figure it out to be honest, well, here it is:

#include <GuiConstants.au3>
#include <Misc.au3>


Opt ("MustDeclareVars", 1)

$GUI = D2Loader v1.11b - Build On Nov 11 2005

While 1
    $coords = WinGetPos($GUI)
    _MouseTrap ($coords[0], $coords[1], $coords[0] + $coords[2], $coords[1] + $coords[3])
 WEnd

I am just getting "Error parsing funcition call" Please and thank you in and advance.

Link to comment
Share on other sites

He he, sorry, over looked that.

I am not use to that type of hotkey style, cab you explain how it works?

HotKeySet("!x", "ee")

Can you explain to me how I could toggle it?

Cause I tried pressing EE and it did not exit, and !x does nothing.

Link to comment
Share on other sites

Check the help files for HotKeySet for an explanation how it works.

Edit: You can change the hot keys to anyting you want them to be....well as long as they arnt already used by windows.

Ex: Ctrl+alt+del, alt+tab

Edited by Gondus

-----------Current Programming Language Status:Beginner: J#, Ruby Intermediate: Autoit, Java, C#, C++Advanced: Basic, Visual Basic, Fortran

Link to comment
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
 Share

  • Recently Browsing   0 members

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