Sign in to follow this  
Followers 0
Zohar

[Solved] Switching between 2 Languages in Windows

6 posts in this topic

#1 ·  Posted (edited)

Hello

Some time ago, I asked How to Send Alt-Shift or Ctrl-Shift, and got a simple and working answer:

Send("!{LSHIFT}")

but now it suddenly stopped working.

When I execute it, nothing happens..

(and If I manually press Alt-Shift myself, it works..)

What is the problem?

How can I make it work again?

Thank you

Edited by Zohar

Share this post


Link to post
Share on other sites

What happend between "before" and "now"?

Did you install a new version of AutoIt, did the program you send the keystrokes to change ...?


My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2017-04-18 - Version 1.4.8.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (NEW 2017-02-27 - Version 1.3.1.0) - 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

#3 ·  Posted (edited)

I did 2 things between "before" and "now":

1) Reformatted my PC, using Same OS and ServicePack(WindowsXP+SP3+AllUpdatesFromWindowsUpdate)

(by "all updates" I also mean I installed IE8..)

2) Installed Latest version of AutoIt

the programs have not changed..

Edited by Zohar

Share this post


Link to post
Share on other sites

I tried it myself using notepad and the Alt-key gets absorbed by notepad.

Could you please try:

Send("{ALTDOWN}{LSHIFT}{ALTUP}")

This worked for me.


My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2017-04-18 - Version 1.4.8.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (NEW 2017-02-27 - Version 1.3.1.0) - 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

send the keys to [CLASS:Shell_TrayWnd]


They call me MrRegExpMan

Share this post


Link to post
Share on other sites

#6 ·  Posted (edited)

Hi

Send("{ALTDOWN}{LSHIFT}{ALTUP}") works here too!

Thank you

If any problem occur in the future, I will try sending it to the TaskBar, as Steveiwonder suggested.

thank you

Edited by Zohar

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  
Followers 0