Jump to content

Recommended Posts

Posted

Hello,

I am new user in Autoit ,I want know how can i select the required file from the "E-drive"as shown in picture if class name and handle of window changes every time when i open that folder ,I was using simple mouse click command but it doesn't provide me the required results.

i want to open file from E-drive and check that the correct file is opened up or not.

Please help.

Autoit.png

Posted

You can add more than one parameter to check a window, even the size can be used, so if you add multiple ones, that are constant, it will find the correct window.

In Window Titles and Text (Advanced):

e.g. Wait for the 2nd instance of a window with title "My Window" and classname "My Class"

WinWaitActive("[TITLE:My Window; CLASS:My Class; INSTANCE:2]", "")

 

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

Posted

And there's the regex that could be made to match the first part of the class, up to ".exe", I think from there on, is where it changes.

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

Posted
On 2/7/2019 at 6:10 PM, Nine said:

Seems to me that the title of the window is pretty standard and fix.  So a basic 

$hWnd = WinWaitActive ("Open","",10) ; wait 10 secs till the window appears
if not $hWnd then Exit Msgbox (0,"","Error couldn't find window")

should work.

Thanks for help dude,but I want to access E drive from that window so please help me regarding that'

 

Posted
On 2/7/2019 at 1:57 PM, careca said:

 

 

On 2/7/2019 at 1:57 PM, careca said:

hey i want to access E drive from that window .

 

 

Posted

Can you get the control for the input path and the open button?

If so, you can then just paste the path for the file you want and then press open.

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

Posted
41 minutes ago, careca said:

Can you get the control for the input path and the open button?

If so, you can then just paste the path for the file you want and then press open.

In that window I have access to window title only ,even though when i click on E-drive title ,handle ,class never changes and using autoit windows info tool when i checked for control of window It shows nothing

Posted

Many new applications cannot be automated with classic code. You need UI Automation code that has been Microsoft's automation platform in the last 15 years. Read Using UI Automation Code in AutoIt. Then use one of the spy tools to check if UIA-code can identify the controls in the window.

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...