1RV34 Posted April 18, 2011 Share Posted April 18, 2011 (edited) I need to do this: WinGetHandle("▶ ") But I can't put the ▶ symbol in SciTE Any solution? MsgBox(0, "", WinGetTitle(WinGetHandle("some other text of the same window"))) This returns the complete title & also with the ▶ symbol, so I guess it should be possible. Edited April 18, 2011 by 1RV34 MsgBox(0x40040, "", "Hello Forum!") Link to comment Share on other sites More sharing options...
andrew.arnott Posted April 18, 2011 Share Posted April 18, 2011 I need to do this: WinGetHandle("▶ ") But I can't put the ▶ symbol in SciTE Any solution? MsgBox(0, "", WinGetTitle(WinGetHandle("some other text of the same window"))) This returns the complete title & also with the ▶ symbol, so I guess it should be possible. I can't say for certain, but here are some thoughts: WinGetHandle can accept a different WinTitleMatchMode, which may solve your specific needs although it doesn't answer the question. The ▶ symbol is unicode (I think), so you might need to open the file in notepad and save it as a unicode format file. I'm not sure how SciTe will react when you reopen it. --Andrew Link to comment Share on other sites More sharing options...
PsaltyDS Posted April 18, 2011 Share Posted April 18, 2011 (edited) In SciTE4AutoIt3, with your script open, select "FILE | ENCODING | UTF-8 with BOM" then save it. This demo displays that symbol just fine (if saved as UTF-8 as mentioned): MsgBox(64, "▶", "Testing: ▶") But while it is displayed in the editor itself, you see box for that code point. Your web browser probably display the arrow point, but the editor doesn't. That doesn't stop it from working when you run it though. Edited April 18, 2011 by PsaltyDS Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law Link to comment Share on other sites More sharing options...
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