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

need help with a command


  • Please log in to reply
23 replies to this topic

#1 supag

supag

    Seeker

  • Active Members
  • 39 posts

Posted 10 January 2004 - 08:06 PM

im making a bot and i need to press and hold the leftarrow for a certain amount of time, but i only know how to make it press the leftarrow for a certain amount of strokes. Does any one know how to make the bot press and hold leftarrow key for a certain amount of seconds?







#2 Jos

Jos

    oh joy ...

  • Developers
  • 22,516 posts

Posted 10 January 2004 - 08:14 PM

MouseDown("left")
Sleep(1000) ; sleep one second
MouseUp("left")

Visit the SciTE4AutoIt3 Download page for the latest versions                                                                 Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)


#3 supag

supag

    Seeker

  • Active Members
  • 39 posts

Posted 10 January 2004 - 08:16 PM

will that work with autoit with v2.xx

#4 supag

supag

    Seeker

  • Active Members
  • 39 posts

Posted 10 January 2004 - 08:16 PM

err sorry for the double, but im gonna go try it, thanx

#5 Jos

Jos

    oh joy ...

  • Developers
  • 22,516 posts

Posted 10 January 2004 - 08:18 PM

err sorry for the double, but im gonna go try it, thanx

nope... this are autoit3 commands...

Edited by JdeB, 10 January 2004 - 08:21 PM.

Visit the SciTE4AutoIt3 Download page for the latest versions                                                                 Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)


#6 supag

supag

    Seeker

  • Active Members
  • 39 posts

Posted 10 January 2004 - 08:20 PM

hmm, is there a way to do with v2?
or can i just recompile with v3?

#7 supag

supag

    Seeker

  • Active Members
  • 39 posts

Posted 10 January 2004 - 08:25 PM

where can i get the install for v. 3?

#8 Jos

Jos

    oh joy ...

  • Developers
  • 22,516 posts

Posted 10 January 2004 - 08:25 PM

not sure if its possible but i don't think so.

You cannot just recompile.. the syntax is different. you can however use it next to v2 since it uses the AU3 file ext...

Visit the SciTE4AutoIt3 Download page for the latest versions                                                                 Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)


#9 supag

supag

    Seeker

  • Active Members
  • 39 posts

Posted 10 January 2004 - 08:28 PM

ok, but i will just start using v.3. It will make it a lil easier if i just use v3

do u know where i can get it?

#10 Jos

Jos

    oh joy ...

  • Developers
  • 22,516 posts

Posted 10 January 2004 - 08:30 PM

its still beta but has been very stable for me and lots more functionality.

Files can be found at http://www.hiddensoft.com/autoit3/files/

Visit the SciTE4AutoIt3 Download page for the latest versions                                                                 Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)


#11 supag

supag

    Seeker

  • Active Members
  • 39 posts

Posted 10 January 2004 - 08:32 PM

thanx, do u use aim, msn messenger, or icq.
if so i would like to add u
u been a great help
thanx

#12 supag

supag

    Seeker

  • Active Members
  • 39 posts

Posted 10 January 2004 - 08:35 PM

umm, lol how do i install v3?

#13 Jos

Jos

    oh joy ...

  • Developers
  • 22,516 posts

Posted 10 January 2004 - 08:35 PM

This forum is great to get help... just post here to get help .. mostly enough people on line to help you out...

Visit the SciTE4AutoIt3 Download page for the latest versions                                                                 Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)


#14 supag

supag

    Seeker

  • Active Members
  • 39 posts

Posted 10 January 2004 - 08:36 PM

nvm i found the install, lol

#15 supag

supag

    Seeker

  • Active Members
  • 39 posts

Posted 10 January 2004 - 08:36 PM

ok, thanx again

#16 Jos

Jos

    oh joy ...

  • Developers
  • 22,516 posts

Posted 10 January 2004 - 08:37 PM

umm, lol how do i install v3?

did you download autoit-v3.0.85-beta.exe and run it ??
It's and installset that does it all for you...

Edited by JdeB, 10 January 2004 - 08:38 PM.

Visit the SciTE4AutoIt3 Download page for the latest versions                                                                 Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)


#17 supag

supag

    Seeker

  • Active Members
  • 39 posts

Posted 10 January 2004 - 08:51 PM

hey jdbe, it didnt work, i want it to hold leftarrow key, not the left mousekey.
what command sends hold leftarrow key?

#18 supag

supag

    Seeker

  • Active Members
  • 39 posts

Posted 10 January 2004 - 08:54 PM

nvm, the new autoit v3 in the help files tell me how, thanx for the help again
autoit v3 is much, even the help files

#19 supag

supag

    Seeker

  • Active Members
  • 39 posts

Posted 10 January 2004 - 08:59 PM

hey jdeb, this is what im doing
Run("Notepad.exe")
sleep(1000)
Send("sadgasdgsdgsdagdasgasgasdgsagasg")
sleep("1000")
send("{LWINDOWN}")
sleep("5000")
send("{LWINUP}")

after it types in "asdgasg" the mouse disappears and then it clicks startmenu, the
LWINDOWN and LWINUP isnt working, what am i doing wrong?

#20 Jos

Jos

    oh joy ...

  • Developers
  • 22,516 posts

Posted 10 January 2004 - 09:05 PM

:iamstupid: i misread you initial question... sorry
what would you want the script to do in your example ?
You press the left windowskey down ..

Visit the SciTE4AutoIt3 Download page for the latest versions                                                                 Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users