View unanswered posts | View active topics It is currently Jun 19th, '13, 13:46




Reply to topic  [ 2 posts ] 
 Complete beginner 
Author Message

Joined: Aug 7th, '10, 09:57
Posts: 1
Post Complete beginner
Hello, I am a complete beginner in scripting / programming (well, not 100%, but it has been about 7 or 8 years since i have done any kind of c++, java, and html programming... so lets say I'm a complete newb :) )

I am confused on how to even go about setting up a program to bot a simple mouseclick > move > mouseclick > move > repeat program for firefox.

What and where should I begin familiarizing myself, and also because of this inexperience I am totally unaware on how to actually USE the program, I ran the test scripts but it didnt make any sense to me on how to actually bot something.

I hope to receive some help!

Thanks,
Elsien


Aug 7th, '10, 10:05
Profile
Site Moderator
User avatar

Joined: Aug 18th, '09, 03:32
Posts: 1201
Post Re: Complete beginner
As I see it, there are two main parts with this.
1) Understanding of programs.
To some degree "processes", and basics about "windows" including window controls like buttons, etc.

2) Understanding of a of a script language and engine.
By engine meaning a lot of script languages in them self might not have faculties to do anything with external windows and processes.
MacroMonkey does, as well as AutoIt, ACTOOL, etc.


Depending on what you want to do, you might even get by with just a record and play back kind of macro program.
This is where you just record mouse clicks and key presses, etc., just a sequence that you repeat over and over.
But then this kind of setup is pretty "dumb". It doesn't have feed back or anything to know where it's at.
And because of this, these tend to run slower.

I can see how you can manipulate a Firefox window, and onwards more sophisticated if it was a browser game running on it or something.

Using MacroMonkey:
First you'd want to find your browser window using a facility here:
http://www.macromonkey.com/windows.html
"win.Find()"
Then to read the status of something on the screen, you could use "win.GetPixel()" to read pixels off the screen.

Then to click on things you can use the "user input" library:
http://www.macromonkey.com/userinput.html
Like "input.MouseClick()"

To use MM you will need to learn at least some basic Lua scripting.
See here for an introduction and links to info about Lua:
http://www.macromonkey.com/introduction.html ("Scripting")


Aug 7th, '10, 10:28
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 2 posts ] 

Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Based on design by STSoftware, modded by Sirmabus Copyright© 2009-2011