English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

I need to know how to make a program that thinks i a clicking every ten seconds. It can be in C++, C, Ruby, Java or Blitz Basic 3d. Please let me know as soon as possible.

2007-01-19 14:47:12 · 5 answers · asked by kilamonkey45@sbcglobal.net 1 in Computers & Internet Programming & Design

to be more specific i need the actual program that would tell the computer that i am clicking were the mouse is every ten seconds no matter were the mouse is. It would be best to be in c++ format and would be great if you could type the code so that i could copy and paste it. If not then i will need to be taught a little more since i just no the basics.

2007-01-19 16:35:14 · update #1

I am also using the SciTE aplication if that helps at all. Any of those languages on there will work. (There is quite a few.)

2007-01-19 16:39:32 · update #2

5 answers

The most effective way would be to use a on break loop in c++ then create another loop inside this with an if statement or simular as a counter. use the counter for timing and execute a simple line command to return the /n key or what ever key you requireafter the timer has run down.This will run until the break key is pressed.

You can find all this online under basic C++
should only be around 20-30 lines of code

2007-01-19 15:30:43 · answer #1 · answered by Microanalyst 2 · 0 0

Clicking what and where? Just clicking the mouse anywhere or in a particular spot.

Anyway, depending on the language and framework you are using, you could set a timer and 1) generate a click event like the OS sends to your app if your language allows that, or 2) just manually call the onClick() event for some component in your application

you need to be more specific probably.

2007-01-19 14:58:16 · answer #2 · answered by scott 3 · 0 0

You can do this type of thing with a ruby script and the rubyforge win32 api. See link below.

Here's a sample ruby script that looks for certain dialogs in certain windows and clicks them.

The following code is in the initializer of the test class and starts up the clicker process

require 'win32/process'

@pid = Process.create(
:app_name => 'ruby clicker.rb',
:creation_flags => Process::DETACHED_PROCESS
).process_id


at_exit{ Process.kill(9,@pid) }

and the clicker.rb looks like the following

require 'win32ole'

begin
autoit = WIN32OLE.new('AutoItX3.Control')

loop do
autoit.ControlClick("Microsoft Internet Explorer",'', 'OK')
autoit.ControlClick("Security Information",'', '&Yes')
autoit.ControlClick("Security Alert",'', '&Yes')
sleep(5)
end

rescue Exception => e
puts e
end

2007-01-19 15:32:43 · answer #3 · answered by Gizmo L 4 · 0 0

yeah, i have been there. you should run the laptop in "secure mode". then set up undercover agent ware healthcare professional (both finished or trial) run a test and that is going to inform you its area. bypass to it and rename it. then restart the laptop and run in secure mode back. delete the record then your tremendously a lot performed. its nonetheless there in some style yet in case you save searching by ability of undercover agent ware healthcare professional you'll finally delete each thing. desire this helped!

2016-10-15 11:39:55 · answer #4 · answered by bucci 4 · 0 0

what toolkit are you using. C++ is only a language not the API.

2007-01-19 14:52:13 · answer #5 · answered by iammisc 5 · 0 1

fedest.com, questions and answers