Assistance needed writing script

Technical support and scripting issues

Moderators: Dorian (MJT support), JRL

Post Reply
Gamer96
Newbie
Posts: 1
Joined: Fri Jan 17, 2020 3:15 pm

Assistance needed writing script

Post by Gamer96 » Fri Jan 17, 2020 3:24 pm

Hello, I dont know if anybody could help me but Im trying to create a script that will automate some functions in a text based game

The function that Im having difficulty with is executing a click on something that occasionally moves place

I added a picture to understand what I mean by it occasional moving, when I Steal a car the car is added to my garage, the more cars I have the further down the page Steal a car is moved

https://imgur.com/a/8dAKOa9

I was wondering if theres a command I can use that will find the words Steal a car and then automatically submit it as apposed to mouse moves and clicks, because moving the mouse is unreliable as the button periodically moves place

Many thanks

User avatar
Dorian (MJT support)
Automation Wizard
Posts: 1348
Joined: Sun Nov 03, 2002 3:19 am
Contact:

Re: Assistance needed writing script

Post by Dorian (MJT support) » Mon Jan 20, 2020 10:25 am

The Find Object Wizard may find it, but sometimes games are a little challenging. The button does not need to be visible on-screen in order to click the button.

But if the Find Object Wizard can't find it, the Image Recognition Wizard can! The button does need to be visible for the Image Recognition Wizard to see and click it.
Yes, we have a Custom Scripting Service. Message me or go here

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts