Search
 
 

Display results as :
 


Rechercher Advanced Search

Latest topics
» ~=?{The future is here, TastyExploit officially open to the public}?=~
Tue Mar 02, 2010 11:00 pm by Dami

» My first aa script
Tue Mar 02, 2010 7:00 am by wafflemaster

» the real story behind Maverin
Tue Mar 02, 2010 1:33 am by SoundOfDeat

» Random spam
Mon Mar 01, 2010 11:52 pm by Danny1994

» [Request] EMS v56 Exe
Mon Mar 01, 2010 12:39 am by Dami

» [Blacklist] NX-Trading Blacklist.
Mon Mar 01, 2010 12:38 am by Danny1994

» I have a question regarding the meso farmer
Sat Feb 27, 2010 10:30 pm by Dami

» What are you listening to now?
Sat Feb 27, 2010 7:57 pm by Noname111111

» Video(s) Of The Day
Sat Feb 27, 2010 7:37 pm by Noname111111

Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search
Affiliates
free forum
 



AutoItV3 Help :)

View previous topic View next topic Go down

AutoItV3 Help :)

Post by Ennø on Fri Nov 27, 2009 9:23 pm

Hello all,

I need some help with my autoit script, I want the script to "read" what is in the input box.

Like this:
Spoiler:
$TrackButton = GUICtrlCreateButton ("Track",5,5,50)
$TrackName0 = GUICtrlCreateInput ("Track Name:",5,35,150)

GUISetState (@SW_SHOW)

While 1
$msg = GUIGetMsg (1)

Select
Case $msg = $TrackButton
SLeep (2000)
GUICtrlRead ($TrackName0)
Sleep (150)
Send ("{ENTER}")
Send ("/find $TrackName0")
EndSelect
But it doesnt read the Trackname Sad

Anyone inform me?

Edit:
Now I have this:
Spoiler:

Select
Case $msg = $TrackButton
Sleep (2000)
Send ("{ENTER}")

Sleep (150)
Send ($TrackName0)
Send ("{ENTER}")

Sleep (150)
Send ($TrackName1)
Send ("{ENTER}")

Sleep (150)
Send ($TrackName2)
Send ("{ENTER}")
EndSelect


Last edited by Ennø on Fri Nov 27, 2009 10:48 pm; edited 1 time in total (Reason for editing : improved, but not fixed)

Ennø
Bronze Member
Bronze Member

Posts : 220
Join date : 2009-08-15
Age : 23
Location : The Netherlands

Back to top Go down

Re: AutoItV3 Help :)

Post by Eltax on Fri Jan 08, 2010 3:15 am

search help file for this: GUICtrlRead Smile

- edit: sry diddnt check post date
avatar
Eltax
New member
New member

Posts : 53
Join date : 2009-11-30
Location : Denmark

Back to top Go down

Re: AutoItV3 Help :)

Post by kaiseko on Sun Jan 10, 2010 4:32 pm

I would help, but i'd probably end up using C# syntax lols.

AutoIT sux

but, my guess is:
Case $msg = $TrackButton

this is the error

kaiseko
New member
New member

Posts : 54
Join date : 2009-10-29

Back to top Go down

Re: AutoItV3 Help :)

Post by The-Only-One on Sun Jan 10, 2010 7:25 pm

kaiseko can u give me one reasion to it suck ?

anyway do the sellect part work?
i would think at something like

Code:

switch $msg

case ...

endswitch


Last edited by The-Only-One on Sun Jan 10, 2010 9:04 pm; edited 1 time in total

The-Only-One
New member
New member

Posts : 44
Join date : 2009-08-13
Age : 24
Location : denmark

Back to top Go down

Re: AutoItV3 Help :)

Post by kaiseko on Sun Jan 10, 2010 7:49 pm

I looked at his code and I thougt, damn...this sucks

>__<

Nothing personal to you OP, just AutoIT lol

kaiseko
New member
New member

Posts : 54
Join date : 2009-10-29

Back to top Go down

Re: AutoItV3 Help :)

Post by The-Only-One on Sun Jan 10, 2010 9:05 pm

but why ? you still dont give an argument for why ?

The-Only-One
New member
New member

Posts : 44
Join date : 2009-08-13
Age : 24
Location : denmark

Back to top Go down

Re: AutoItV3 Help :)

Post by Eltax on Sun Jan 10, 2010 10:13 pm

I would just do it this whay, if the track diddnt have to repeat it self Smile

Code:
#include <ButtonConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>

$Form = GUICreate("Form", 185, 90, 192, 124)
$Trackname = GUICtrlCreateInput("Enter name here", 16, 8, 153, 21)
$Button = GUICtrlCreateButton("Button", 16, 40, 153, 25, $WS_GROUP)
GUISetState(@SW_SHOW)

While 1
   $msg = GUIGetMsg()
   
   If $msg = $GUI_EVENT_CLOSE Then
        Exit
    EndIf
   
   If $msg = $Button Then
         Sleep (2000)
         Send ("/find ")
         sleep(200)
         Send (GUICtrlRead($Trackname))
         Send ("{ENTER}")
   EndIf
   
WEnd
avatar
Eltax
New member
New member

Posts : 53
Join date : 2009-11-30
Location : Denmark

Back to top Go down

Re: AutoItV3 Help :)

Post by SoundOfDeat on Sun Jan 10, 2010 11:29 pm

Altought this tread is old here is a part of my script for a autotracker:

Code:
Send ("/find " & (GUICtrlRead($input3)))
avatar
SoundOfDeat
Silver Member
Silver Member

Posts : 397
Join date : 2009-11-08
Age : 23
Location : Loging in....

http://damiproductions.darkbb.com

Back to top Go down

Re: AutoItV3 Help :)

Post by Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum