
Fr3shY
Members-
Posts
12 -
Joined
-
Last visited
Everything posted by Fr3shY
-
No need to include Date.au3 twice And for the sound, into the if statement about when it's complete.. add something like this in: Change beep.wav to whatever sound file you want.... ~Fr3shY
-
Wow Dale, you're amazing. It works fine now! I can usually figure out most of my scripting help using the docs, but I'm confused on how you figured that out. If you could explain how to choose which form is which, it would be of great help! Thanks, Fr3shY EDIT: Saw the link to the IE Builder, thanks a bunch! I'm off to making a silent bot now!
-
Hi. I'm looking to login using the help of the IE UDF. I've just about spent 2 hrs looking through the help files, but I can't seem to get it. I've searched the forums for examples, anything I could find and tried taking it apart, but this is really giving me a hard time. Here is a snippet of the code: ;includes #include <GUIConstants.au3> #include <Constants.au3> #include <IE.au3> ;options Opt("TrayIconHide", 0) Opt("GuiOnEventMode", 1) ;vars $username = IniRead(@ScriptDir & "\login.ini", "Login", "username", "Please enter your username into the .ini file!") $password = IniRead(@ScriptDir & "\login.ini", "Login", "password", "Please enter your password into the .ini file!") ;embedded browser $CBTask = _IECreateEmbedded() GUICreate("ChatBox App", 1200, 300) $CBGUI = GUICtrlCreateObj($CBTask, -15, -255, 1250, 1024) GUISetState() _IENavigate ($CBTask, "http://cheatingnetwork.net/forums/chatbox.html", 0) ;login method Sleep(2500) $o_form = _IEFormGetObjByName ($CBTask, 2) $o_login = _IEFormElementGetObjByName ($o_form, "vb_login_username") $o_password = _IEFormElementGetObjByName ($o_form, "vb_login_password") _IEFormElementSetValue ($o_login, $username) _IEFormElementSetValue ($o_password, $password) Send("{ENTER}") ;while While 1 $CBGUI = GUIGetMsg() Select Case $CBGUI = $GUI_EVENT_CLOSE Exit EndSelect WEnd I know I want to get the entire login procedure controlled via the IE UDF. I know it's possible and in my code is what I've gotten too, of course it doesn't work (the IE login). I figured the other stuff out, it's just this _IEForm* stuff that is throwing me off. I know there is a way to have _IEFormSubmit or _IEFormImageClick something like that click the login instead of using just send enter, but it's good for now and it works. I already have this app completed, but it is really locked down considering it only allowed operation with a certain resolution and that's not convenient or not possible for a lot of the other members. I want to make this so that the UDF does it instead of clicking on the login box, then using Send $username ect, ect. Oh yeah, some errors: --> IE.au3 V2.4-0 Warning from function _IEFormElementGetObjByName, $_IEStatus_NoMatch --> IE.au3 V2.4-0 Warning from function _IEFormElementGetObjByName, $_IEStatus_NoMatch ^^ Obviously put, it can't find the fields for username/password. I just have to get down this whole name thing. ^^ If you could shed some light on this, it would help a ton. This is a chatbox app and it takes you to: http://cheatingnetwork.net/forums/chatbox.html That is when you launch this app... pretty much it takes you to a login page which then redirects you to the chatbox... pretty straight forward. Please feel free to check out the source to the login or do whatever you need to! Thanks. ~Fr3shY
-
Sure thing. Thanks for your help.
-
Hmm, okay I get that. I see what you're saying about checking through the source and finding out the name = blank. Btw.. I'm looking through FF.au3 right now.
-
Hmm.. well I believe the name of the field for example: http://www.mininova.org/upload The first field would be "Torrent file:" I'm guessing? Also, I tried reading thru the AutoIt help file on FF.au3 and I can't seem to find how to use like how to select the field, ect. Any ideas? Thanks. Fr3shY
-
Hmm.. looks like I forgot to use & to attach Torrent and $num. But, I don't really understand what options I can use with FF.au3. Do you mean I should use the MouseClick method to get down the page instead of Send("{TAB}")? And that too using FF.au3 as an include? I need some clarification on this FF.au3 include. Thanks. Fr3shY
-
Hey. I'm working a mininova uploader. I've currently been using IniRead as my method of getting the torrent location, name, description, from an ini file. As of now, I've been using "Send("{TAB}")" to get down to the Torrent Location box. It's not working out because there page changes every few times and so far it hasn't worked after like 20 tries. This is at: http://www.mininova.org/upload I tried using "MouseClick("left", "x,y", "1")" but it wasn't working out for some reason. IT would just go to the job of the page on Mozilla. Also, I need help inputting multiple values from an ini. Here is what is my script: $num = 0 $num = $num + 1 $TorrentLocation = IniRead("Mininova.ini", "Torrent $num", "TorrentLocation") I'm trying to figure out how to replace $num with 1,2,3, ect going up by one everytime so I can use any number of torrents without it being hardcoded into script. If you need anything to be cleared up, just let me know. I really want to get this done asap so let me know anything I can do. Thanks. Fr3shY
-
Nice program. Tried playing it, but got destroyed by the CP. Good work, keep it up ~Fr3shY
-
Need Help W/ FileRead and FileReadLine
Fr3shY replied to Fr3shY's topic in AutoIt General Help and Support
Hey. this sounds good to me. Now all I have figure out is how to input multiple values for the torrents names descriptions ect. can you help me out with this? Thanks. Fr3shY -
Need Help W/ FileRead and FileReadLine
Fr3shY replied to Fr3shY's topic in AutoIt General Help and Support
Hey. this sounds good to me. Now all I have figure out is how to input multiple values for the torrents names descriptions ect. can you help me out with this? Thanks. Fr3shY -
Hey. I just got into scripting with Au3, but after making my first real application today, I think I'm ready to move on. I want to create a mass great creator program.. I'm going to be creating a bunch of mass work bots such as: Gmail/Yahoo Creator Mininova Uploader At the moment, I'm working those 2, the Gmail account creator and mininova uploader. The prize is really with the mininova uploader. It would get the values + information from a text file. I'm pretty sure I need to use the FileReadLine command. I'm not sure how to implement into into a Mininova Upload AND Gmail account creator. SO I can have different usernames for eaach account, and then use the Send command to input it. I'm sure that can be done with a variable tho. Btw, for the mininova uploader, this is what needs to be filled out. www.mininova.org/upload. Using a text document in a certain format, I could input the location of the .torrent file, name, category, and description.. and of course i'd enter the captcha manually. I just need to figure out how to implement this into a script. Also, I looked into the documentation for "FileReadLine" and it looks like I can enter a line number to read from. Using a variable, I could use the send command. But now I need to figure out how to Read + Send multiple lines as I need the torrent location, category, name, and descriptions which would take up a few lines. Some insight would be VERY helpful. Anyways, I really need help on both, and once I complete them I'll be releasing it on here for sure.. and my main project is the Mininova Uploader. Thanks. Fr3shY