Jump to content

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Find out more here. X
X


Photo

Help understanding a small script


  • Please log in to reply
2 replies to this topic

#1 Makaveli

Makaveli

    Seeker

  • New Members
  • 2 posts

Posted 11 June 2012 - 02:53 PM

#include <Misc.au3>
While 1
If _IsPressed('BB') Then
MouseClick("Left", 706, 311, 1, 1)
MouseClick("Left", 1873, 638, 1, 3)
MouseClick("Left", 810, 888, 1, 1)
While _IsPressed('BB')
Sleep(100)
WEnd
EndIf
WEnd

1920x1080
Windowed Fullscreen mode


So, ive got a few questions, i understand the X-Y cordinates, but what does this mean "While _IsPressed('BB')" / "If _IsPressed('BB')", While what is pressed ??!!?!
Oh, and i asume
1920x1080
Windowed Fullscreen mode
is not a part of the script

Edited by Makaveli, 11 June 2012 - 02:54 PM.








#2 JLogan3o13

JLogan3o13

    115 and holding

  • MVPs
  • 3,903 posts

Posted 11 June 2012 - 02:56 PM

Hi, Makaveli, welcome to the forum. Please read through the _IsPressed section in the Help file. It gives you all the hexkeys that are part of this function. BB is toward the bottom.

Programming is like sex...one mistake and you have to support it for a lifetime.

My Scripts:Include Source with Compiled Script, Disk Maintenance for Windows XP, "Deal-A-Day" Sites, Windows Firewall UDF


#3 Makaveli

Makaveli

    Seeker

  • New Members
  • 2 posts

Posted 11 June 2012 - 02:57 PM

thx, i will do, im sorry for asking such a simple question ;)




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users