Jump to content
Sign in to follow this  
16330

Simple Script Help

Recommended Posts

16330

Hey everyone, I just stumbled on this website when I was looking up how to make a mouse click script. I've never done it before and I don't have any software yet to support/write a script I'm looking for. This community seemed to be helpful when looking through forum posts though, so I thought I'd give it a try.

Basically I'm just looking for two scripts that do basically the same thing:

One script would be to go to 1 out of 9 specific locations on the mouse (i'd have to pick which one through a key command or something, even as simple as 'a', since I won't be typing), left click, and then go to one constant location right after, followed by another left click. This is for a web page.

The other portion of the script/second script would be used in some software I have, performing a similar function as well and would be activated immediately after the first.

I would need the mouse to go to a constant location, left click, then go to 1 out of 4 or so potential locations and then left click. Finally, I just need the mouse to select the original web page again, by clicking anywhere on the window.

I wouldn't need a loop on this whole sequence, but I would need to be able to recall it anytime I want.

I imagine this is fairly simple? I also am unsure of how to acquire these specific mouse coordinates.

Share this post


Link to post
Share on other sites
water

Welcome to AutoIt and the forum!

Could you please give us some more information what you try to achieve? Which programs do you try to automate?

I'm sure there are better solutions then mouse clicks. They are not very reliable because your script won't run any longer when the screen resolution or window position changes.


My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2018-06-01 - Version 1.4.9.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (2018-01-27 - Version 1.3.3.1) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2015-04-01 - Version 0.4.0.0) - Download - General Help & Support - Example Scripts
Excel - Example Scripts - Wiki
Word - Wiki
PowerPoint (2015-06-06 - Version 0.0.5.0) - Download - General Help & Support

Tutorials:
ADO - Wiki

 

Share this post


Link to post
Share on other sites
16330

Okay, I'm a telemarketer using a web page in chrome to check off different options based on what the caller says and then using software called "five9 agent" to disposition the calls for the second portion of the script.

Basically, I'm trying to cut down on the interactivity I have with my job, haha. If I don't use a mouse, I could save time and be more free to do what I want from home between calls (like work on graphic design)

Share this post


Link to post
Share on other sites
careca

Hi, if you're using scite, there's a tool called AU3Recorder, that might work for you as you want, open it, press record, click wherever, click to stop, it'll generate the codes for the clicks, if that doesn't suit you, then i don't know, since its a web page, and those are tricky to me.


Spoiler

Paster - Main function is to paste text, but has more functions. (No longer mantained, switched to String Trigger)

OpenW - Open With... alternative, Open any file with any application, set it's icon, set application as default.

Renamer - Rename files and folders, remove portions of text from the filename etc.

GPO Tool - Export/Import Group policy settings.

BeatsPlayer - Music player.

Params Tool - Right click an exe to see it's parameters or execute them.

String Trigger - Triggers pasting text or applications or internet links on specific strings.

Regedit Control - Registry browsing history, quickly jump into any saved key.

Time4Shutdown - Write the time for shutdown in minutes.

Power Profiles Tool - Set a profile as active, delete, duplicate, export and import.

Firefox Profile Backup - Backup/restore previously saved profile.

Finished Task Shutdown - Shuts down pc when specified window/Wndl/process closes.

NetworkSpeedShutdown - Shuts down pc if download speed goes under "X" Kb/s.

IUIAutomation - Topic with framework and examples

Au3Record.exe

Share this post


Link to post
Share on other sites
16330

Oh, very cool. Can I recall my variations of clicks with different key commands or anything?

Share this post


Link to post
Share on other sites
careca

Really don't know, as i never used it, you can always make the clicks and then use the send() to send the keys, if the recorder doesn't save the pressed keys. :)


Spoiler

Paster - Main function is to paste text, but has more functions. (No longer mantained, switched to String Trigger)

OpenW - Open With... alternative, Open any file with any application, set it's icon, set application as default.

Renamer - Rename files and folders, remove portions of text from the filename etc.

GPO Tool - Export/Import Group policy settings.

BeatsPlayer - Music player.

Params Tool - Right click an exe to see it's parameters or execute them.

String Trigger - Triggers pasting text or applications or internet links on specific strings.

Regedit Control - Registry browsing history, quickly jump into any saved key.

Time4Shutdown - Write the time for shutdown in minutes.

Power Profiles Tool - Set a profile as active, delete, duplicate, export and import.

Firefox Profile Backup - Backup/restore previously saved profile.

Finished Task Shutdown - Shuts down pc when specified window/Wndl/process closes.

NetworkSpeedShutdown - Shuts down pc if download speed goes under "X" Kb/s.

IUIAutomation - Topic with framework and examples

Au3Record.exe

Share this post


Link to post
Share on other sites
water

Put your different variations in different functions and assing a hotkey to each function.


My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2018-06-01 - Version 1.4.9.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (2018-01-27 - Version 1.3.3.1) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2015-04-01 - Version 0.4.0.0) - Download - General Help & Support - Example Scripts
Excel - Example Scripts - Wiki
Word - Wiki
PowerPoint (2015-06-06 - Version 0.0.5.0) - Download - General Help & Support

Tutorials:
ADO - Wiki

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×