Jump to content

Single script to work with different OS languages


Go to solution Solved by JohnOne,

Recommended Posts

Posted

Hi ,

I am writing script to work on multiple languages (like French, German)

Below is my script to open notepad, I used CLASS in Title parameter so that it works across different OS platforms.

Run("notepad.exe")
WinWaitActive("[CLASS:Notepad]","")
WinSetState("[CLASS:Notepad]","",@SW_MAXIMIZE)
Send("Hello there")
$handle = WinGetHandle("[CLASS:Notepad]")
WinClose($handle)
ControlClick($handle,"","[CLASS:Button; INSTANCE:1]")    // Not Working

 But i am unable to click on Save button as show in screenhsot '>

Can you please help in resolving this issue..

Thanks !!

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...