Jump to content

Simple SenKey to Language Bar....Newbie needs Help


Recommended Posts

Hi,

Have never programmed outside of HTML and asp...So please bear with me...

I wrote a little script for changing the language in windows. I tried to specify the LALT sendkey and the shift to toggle between the languages first...this didin't work so changed the short cut in the properties of the language bar to CTRL+SHIFT...the script Iwrote for that worked. I really need to get the LALT one working as well here is the script...as simple as it is..

; Script for Sending Keystrokes

Send("{LALT down}")

Send("{SHIFT}")

Send("{LALT up}")

I was wondering is it just a timing issue in windows. I hust don't know how to use the Opt("SendKeyDownDelay", 1). Is this to be entered before or after the first line? B)

I really want to get a good handle on this...

Thanks

Mike

Link to comment
Share on other sites

Try this one:

Send("{ALTDOWN}")

Send("{LSHIFT}")

Send("{ALTUP}")

by the way, now I know the god-damn hotkey for changing the language at last,

which happened to me by accident before...cool! B)

cu

Marc

Any of my own codes posted on the forum are free for use by others without any restriction of any kind. (WTFPL)

Link to comment
Share on other sites

Dat workin just dandy...hope to sink my teeth into something more intillectual soon.

Cheers

Mike

Try this one:

Send("{ALTDOWN}")

Send("{LSHIFT}")

Send("{ALTUP}")

by the way, now I know the god-damn hotkey for changing the language at last,

which happened to me by accident before...cool! B)

cu

Marc

Link to comment
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
 Share

  • Recently Browsing   0 members

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