MerkurAlex Posted July 8, 2007 Posted July 8, 2007 (edited) hihi ok anyway to modify trayicon and guiicon use this i will edit this post when i figure out exe icon #NoTrayIcon TraySetIcon(@scriptdir&"\filename here") guiseticon(@scriptdir&"\filename here",0,put your gui handle here ex. $gui) EDIT:figured it out goto start menu go into autoitv3 then select compile script to exe that lets you set a custom icon file Edited July 8, 2007 by EagleClaw [quote name='PsaltyDS' post='635433' date='Jan 27 2009, 07:04 AM']Larry is a mass murderer?! It's always the quiet, clean cut, bald guys... [/quote]
Generator Posted July 8, 2007 Posted July 8, 2007 anyway to modify trayicon and guiicon use this i will edit this post when i figure out exe icon #NoTrayIcon TraySetIcon(@scriptdir&"\filename here") guiseticon(@scriptdir&"\filename here",0,put your gui handle here ex. $gui)You know you can choose icon if you use any of the compiler instead of pressing F7 in SCite...mHT...Please try to do something on your own
MerkurAlex Posted July 8, 2007 Posted July 8, 2007 You know you can choose icon if you use any of the compiler instead of pressing F7 in SCite...mHT...Please try to do something on your ownlol i dont mind im sort of bored right now [quote name='PsaltyDS' post='635433' date='Jan 27 2009, 07:04 AM']Larry is a mass murderer?! It's always the quiet, clean cut, bald guys... [/quote]
mHt Posted July 8, 2007 Author Posted July 8, 2007 Thanks for your help everyone! Your'e guys are kind to noobs, wich is very nice
MerkurAlex Posted July 8, 2007 Posted July 8, 2007 Thanks for your help everyone! Your'e guys are kind to noobs, wich is very nice hey when your done let me see the code maybe there is better ways to do somethings im not to great at making programs run better but i can try and i like to see finished projects that i helped on [quote name='PsaltyDS' post='635433' date='Jan 27 2009, 07:04 AM']Larry is a mass murderer?! It's always the quiet, clean cut, bald guys... [/quote]
mHt Posted July 8, 2007 Author Posted July 8, 2007 hey when your done let me see the code maybe there is better ways to do somethings im not to great at making programs run better but i can try and i like to see finished projects that i helped on Sure!! Copyright fiNk@2007 expandcollapse popup#include <GUIConstants.au3> #include <misc.au3> $destination = @scriptdir&"\img\c.jpg" SplashImageOn("Created By fiNk!", $destination,250,50) Sleep(1300) SplashOff() MsgBox ( 1, "INFO!", "Before you hit start, make sure you have opened www.usmafia.com...To stop the bot, press STOP button, or hit ESCAPE", 10 ) hotkeyset("{esc}","stop") $win=guicreate("US-Mafia Ranker",223,60,-1,-1) $startbtn=guictrlcreatebutton("Start",50,15,60,30) $stopbtn=guictrlcreatebutton("Stop",110,15,60,30) GUISetState(@SW_SHOW) GUISetBkColor (0x212121) $running=0 while 1 $nMsg = GUIGetMsg() Switch $nMsg case $GUI_EVENT_CLOSE Exit case $startbtn $running=1 case $stopbtn $running=0 EndSwitch if $running=1 then do ; Login Function ( You have 4 seconds from you run the exe until you must have opened USmafia window ) sleep (4000) if $running=0 then exitloop MouseClick("Primary", 612, 524, 1, 10 ) if $running=0 then exitloop send ("username") MouseClick("Primary", 605, 555, 1, 10 ) if $running=0 then exitloop send ("password") if $running=0 then exitloop MouseClick("Primary", 642, 593, 1, 10 ) sleep (3500) if $running=0 then exitloop ; Car Stealing MouseClick("Primary", 37, 743, 1, 10 ) sleep (1000) if $running=0 then exitloop MouseClick("Primary", 403, 454, 1, 10 ) sleep (1000) if $running=0 then exitloop MouseClick("Primary", 746, 480, 1, 10 ) sleep (2000) if $running=0 then exitloop ; Regual Crime MouseClick("Primary", 37, 778, 1, 10 ) sleep (1000) if $running=0 then exitloop MouseClick("Primary", 402, 551, 1, 10 ) sleep (1000) if $running=0 then exitloop MouseClick("Primary", 747, 576, 1, 10 ) sleep (2000) if $running=0 then exitloop ; Extortion MouseClick("Primary", 35, 878, 1, 10 ) sleep (1000) if $running=0 then exitloop MouseClick("Primary", 626, 449, 1, 10 ) sleep (2000) until $running=0 endif WEnd func stop() $running=0 EndFunc")
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now