Jump to content
Sign in to follow this  
dhingra24

Mouseclick>> only pointing not clicking .

Recommended Posts

I am not able to click using mouseclick method. I am only able to point to the tab but its not clicking that tab.Please help.

I had increased the Mousedowndelay also as well as i tried mousedown , sleep , mouseup , both of its not working for me.

Kindly please help .

Share this post


Link to post
Share on other sites

@JLogan3o13

PF my inline code:

Mouse Click  "primary"  520  20
Sleep  15s
Send  MS1
Sleep  5s
${out1}  Control Click  "xyz"  ""  "[CLASS:Intermediate D3D Window; INSTANCE:1;]"  "main"  32  304
Log  ${out1}
${out2}  AutoItSetOption  "MouseClickDownDelay"  100
Log  ${out2}
Mouse Click  "menu"  32  304  4
Sleep  15s
Mouse Down  "menu"
Sleep  20s
Mouse Up  "menu"
sleep  10s

 

I tried every possible way for some reason control click is failing every time with return code 0.Please help me as how to make the particular tab click.

Share this post


Link to post
Share on other sites

That's not autoit code, not runnable anyway.

A proper sleep goes like this

Sleep(1500)

 

Edited by careca

Spoiler

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

GPO Tool - Export/Import Group policy settings.

MirrorDir - Synchronize/Backup/Mirror Folders

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.

Inconspicuous - Hide files in plain sight, not fully encrypted.

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.

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
1 minute ago, careca said:

That's not autoit code, not runnable anyway.

I had written in robot framework and its running also .Problem is its not able to click .cursor is just moving to that direction.

Share this post


Link to post
Share on other sites

I dont know what that means, never heard of "robot framework".

So, did you try running proper autoit code in SciTe?


Spoiler

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

GPO Tool - Export/Import Group policy settings.

MirrorDir - Synchronize/Backup/Mirror Folders

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.

Inconspicuous - Hide files in plain sight, not fully encrypted.

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.

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

robot framework is not AutoIt, do you not understand that different languages have different syntax?? READ the AutoIt help file for how to use MouseClick, there are examples to show you the correct syntax.


"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

Share this post


Link to post
Share on other sites
1 minute ago, careca said:

I dont know what that means, never heard of "robot framework".

So, did you try running proper autoit code in SciTe?

No I didn't run in SciTe. But framework in which i am running ,all the autoit keywords functionality vise will run as same as in SciTe. Will you please help why its failing if u do the same code in Autoit.

Share this post


Link to post
Share on other sites
Just now, dhingra24 said:

all the autoit keywords functionality vise will run as same as in SciTe.

No, they won't, apparently.

1 minute ago, dhingra24 said:

Will you please help why its failing if u do the same code in Autoit.

You need to install AutoIt, and you need to read the help file on those commands. What you are doing wrong is blatantly obvious.


"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

Share this post


Link to post
Share on other sites
3 minutes ago, JLogan3o13 said:

robot framework is not AutoIt, do you not understand that different languages have different syntax?? READ the AutoIt help file for how to use MouseClick, there are examples to show you the correct syntax.

Robot framework will follow the same syntax as autoit . And as per my knowledge i had use the correct syntax and its running also . I am able to see MouseClick is able to particular tab but not clicking.

 

Share this post


Link to post
Share on other sites

Well then you need to ask in a robot framework forum. The code you posted will not run in AutoIt because the syntax is incorrect. If you are working with a framework that parses AutoIt calls and it is not working, you need to ask people familiar with that framework.


"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

Share this post


Link to post
Share on other sites
30 minutes ago, dhingra24 said:

Robot framework will follow the same syntax as autoit.

Trying to understand why you use that framework. Is there anything that you can do with it, that autoit cant?


Spoiler

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

GPO Tool - Export/Import Group policy settings.

MirrorDir - Synchronize/Backup/Mirror Folders

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.

Inconspicuous - Hide files in plain sight, not fully encrypted.

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.

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

Oups

Edited by caramen

My video tutorials : HERE ( In construction )  || My Discord : https://discord.gg/S9AnwHw

How to Ask Help ||  UIAutomation From Junkew || WebDriver From Danp2 || And Water's UDFs in the Quote

Spoiler

 Water's UDFs:
Active Directory (NEW 2018-10-19 - Version 1.4.10.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (2018-10-31 - Version 1.3.4.1) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
PowerPoint (2017-06-06 - Version 0.0.5.0) - Download - General Help & Support
Excel - Example Scripts - Wiki
Word - Wiki
 
Tutorials:

ADO - Wiki

 

Share this post


Link to post
Share on other sites
2 hours ago, careca said:

Trying to understand why you use that framework. Is there anything that you can do with it, that autoit cant?

I have to test cross platform beds that inlcudes not autoit but many other libraries .That's why i am choosing Framework here but autoit i am facing many issues.

Share this post


Link to post
Share on other sites

Doesnt seem like it's an autoit problem, but the implementation on the framework part.


Spoiler

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

GPO Tool - Export/Import Group policy settings.

MirrorDir - Synchronize/Backup/Mirror Folders

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.

Inconspicuous - Hide files in plain sight, not fully encrypted.

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.

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

Ok, last try after which this thread will be closed: post some AutoIt3 code that has issues or else go to the place that supports this framework because this is leading nowhere.

Jos


SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

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  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...