Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Autoclicker
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
iFlexion




PostPosted: Wed Dec 11, 2019 11:13 am   Post subject: Autoclicker

What is it you are trying to achieve?
<Trying to make an auto clicker>


What is the problem you are having?
<Finding a way to have almost the opposite of the Input.KeyDown command>


Describe what you have tried to solve this problem
<Can't find anything in turing help>


Post any relevant code (You may choose to attach the file instead of posting the code if it is too long)


Turing:


<Add your code here>



Please specify what version of Turing you are using
<Version 4.1>
Sponsor
Sponsor
Sponsor
sponsor
lordroba




PostPosted: Wed Jan 22, 2020 12:55 pm   Post subject: Re: Autoclicker

You could remove conditional checks of the mouse being clicked.


For example,

You have a 100x100 box that you want the user to click inside.
Normally you would check to see if the mouse is inside the box, then check to see if the button was pressed.

With an 'autoclicker' you could just assume the button was pressed and then just check if the cursor was within the bounds of the box.
You could add a delay to the action to simulate time between simulated mouse clicks.
iFlexion




PostPosted: Thu Jan 23, 2020 11:16 am   Post subject: Re: Autoclicker

Probs should've been more specific im only looking to see if there is a way to simulate keyevents outside of turing
Dan




PostPosted: Wed Jan 29, 2020 7:03 pm   Post subject: Re: Autoclicker

Turing does not have that functionality built in, but you could call an outside program using the system command or Sys.Exec. For example, you could create a program using AutoHotkey and then execute it from Turing with a system call.
Computer Science Canada Help with programming in C, C++, Java, PHP, Ruby, Turing, VB and more!
scholarlytutor




PostPosted: Fri Feb 07, 2020 1:00 am   Post subject: RE:Autoclicker

The system command sounds very interesting, Dan. Do you know if anyone has posted any resources on it? It seems like it can be used to do all sorts of things that Turing cannot do directly.
TokenHerbz




PostPosted: Mon Feb 10, 2020 2:17 am   Post subject: RE:Autoclicker

Turing in my experience has a shotty at best, system privileges and i don't think there are any resources on this website or others...
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 6 Posts ]
Jump to:   


Style:  
Search: