crazedwombat Posted May 1, 2009 Posted May 1, 2009 Hey, i've made scripts to change focus to many other windows, so i'm doing it right... This window, is titled in chinese, i've used the info tool to get the name, and then tried using WinActivate("口袋西游") but instead of 口袋西游 it says ???? and it doesn't active the window....... how can i make it activate the window? because as of now it's a race between scite and clicking the window just to debug my script.... here's a snap of the info tool on the window i want it to activate.. On a side note, my macro program JitBit CAN change focus to this window, and it has the ???? too instead of 口袋西游, but it doesn't seem to matter for it! >>>> Window <<<< Title: 口袋西游 Class: XYElementClient Window Position: -1, 98 Size: 808, 638 Style: 0x94CE0000 ExStyle: 0x00000100 Handle: 0x000700B4 >>>> Control <<<< Class: Instance: ClassnameNN: Advanced (Class): ID: Text: Position: Size: ControlClick Coords: Style: ExStyle: Handle: 0x0001007A >>>> Mouse <<<< Position: 680, 225 Cursor ID: 0 Color: 0xB2922B >>>> StatusBar <<<< >>>> Visible Text <<<< >>>> Hidden Text <<<< Is there another window focus command i can use to pull this, or maybe a program that will show me the actual name of the window? I did a search for WinActivate but i get every thread ever made pretty much, lol.
crazedwombat Posted May 1, 2009 Author Posted May 1, 2009 why is everyone but me getting help? both of my posts continue to sluff to the second page, while everyone above me has 11 replies already, come on.. is this not fixable or does no one know?
Richard Robertson Posted May 1, 2009 Posted May 1, 2009 You need to save the file in unicode format. Your script file is not saving the extended characters.
crazedwombat Posted May 1, 2009 Author Posted May 1, 2009 You need to save the file in unicode format. Your script file is not saving the extended characters.awesome thanks... works fine now..
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now