Hey everyone. Superboi here.
I'm completely new to programming and anything to do with it really. I understand concepts pretty quickly though, and there's some things I want to try to program. I thought maybe I could try something easy. I want to try to make a program that allows me to automate my computer. Like a macro of sorts. If anyone could point me in the right direction, on where to get started, or what language I should use, the help would be much appreciated.
5 replies to this topic
#1
Posted 12 October 2010 - 08:49 PM
|
|
|
#2
Posted 12 October 2010 - 08:52 PM
You may most likely be looking for a program like this:
AutoIt v3 - Automate and Script Windows Tasks - For Free!
AutoIt is a program that allows you to script macros, meaning you can program your own macro and compile them to an executable (.exe) program as well, and much more simple than programming languages like C.
AutoIt v3 - Automate and Script Windows Tasks - For Free!
AutoIt is a program that allows you to script macros, meaning you can program your own macro and compile them to an executable (.exe) program as well, and much more simple than programming languages like C.
Be sure to read the updated FAQ! || Health is achieved through the same 10,000 steps.
If a suggested code/method fails, informing us is less important than telling us why or what errors occurred.
If a suggested code/method fails, informing us is less important than telling us why or what errors occurred.
#3
Posted 12 October 2010 - 09:28 PM
Wow... that's a lot to take in. Just glad they wrote a Help section that explains everything in detail. Looks like I got my work cut out for me. Thanx alot.
#4
Posted 13 October 2010 - 10:59 AM
Ok, so I guess I'm learning BASIC or something similar to it. I guess that's a good start since I'm completely new to all of this. I had a few questions though.
Here's what I'm trying to do with it. I want to create an Excel database of Magic the gathering cards, and I'm trying to automate my computer to do it for me, so I don't have to make an entry for 10,000+ different cards. I'm doing this mostly through a series of MouseClick commands on the online database that already exists here.
What I need to know is if there is a way to WinActivate or WinWaitActivate without knowing the title of the screen. Even better would be something that waited for a new screen that I won't know the name of to finish loading before continuing with the script. Currently I'm using WinWaitActive("Microsoft Excel - Magic Data base.xls", "", 2) while a different titled window is loading, so it can wait 2 seconds before timing out and finish the script. It just seems sloppy to me, and I was hoping there would be a more efficient way to do this since it usually takes alot less than 2 seconds for the page to finish loading.
Here's what I'm trying to do with it. I want to create an Excel database of Magic the gathering cards, and I'm trying to automate my computer to do it for me, so I don't have to make an entry for 10,000+ different cards. I'm doing this mostly through a series of MouseClick commands on the online database that already exists here.
What I need to know is if there is a way to WinActivate or WinWaitActivate without knowing the title of the screen. Even better would be something that waited for a new screen that I won't know the name of to finish loading before continuing with the script. Currently I'm using WinWaitActive("Microsoft Excel - Magic Data base.xls", "", 2) while a different titled window is loading, so it can wait 2 seconds before timing out and finish the script. It just seems sloppy to me, and I was hoping there would be a more efficient way to do this since it usually takes alot less than 2 seconds for the page to finish loading.
#5
Posted 13 October 2010 - 11:13 AM
Hmm.. 10,000 HTTP requests for cards seems a little far-fetched for me without a premade database to import. I am sorry I cannot help further.
Be sure to read the updated FAQ! || Health is achieved through the same 10,000 steps.
If a suggested code/method fails, informing us is less important than telling us why or what errors occurred.
If a suggested code/method fails, informing us is less important than telling us why or what errors occurred.
#6
Posted 13 October 2010 - 12:17 PM
I don't plan on doing them all at once. I'm doing one set at a time, so anywhere from 100 - 300 cards. Once it finishes one set, I open another set, and run the script again. I also plan on implementing a loop sequence in there, and I'll just change the number of loops depending on the size of the set. That's the idea anyway.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users


Sign In
Create Account

Back to top









