tamir Posted December 29, 2004 Posted December 29, 2004 i have 2 questions: 1) how can i change to language in notepad to english? (so when i write it'll write in english) 2) i have a program that displays some data, how can i get the displayed text, or take a ss of it? thanks
JSThePatriot Posted December 29, 2004 Posted December 29, 2004 1. You might have to change the OS language, because I dont believe there are options like that in notepad.Also you might want to try using SCiTe. I dont know that it has multi-lingual support, but I know it writes in English (yet again this could be the OS language).2. You can use AutoIt Window Spy to see if there is any 'visible text' to the OS. If there is you can use WindowGetText() function. (Look it up in the helpfile).Otherwise you can take a screen shot by pressing 'Print Scrn' to do this with AutoIt you would send the command...Send("{PRINTSCREEN}")I hope this helps a bit,JS AutoIt Links File-String Hash Plugin Updated! 04-02-2008 Plugins have been discontinued. I just found out. ComputerGetInfo UDF's Updated! 11-23-2006 External Links Vortex Revolutions Engineer / Inventor (Web, Desktop, and Mobile Applications, Hardware Gizmos, Consulting, and more)
tamir Posted December 29, 2004 Author Posted December 29, 2004 but i need only the screenshot of the program. there is no way to do that right?
Developers Jos Posted December 29, 2004 Developers Posted December 29, 2004 but i need only the screenshot of the program. there is no way to do that right?<{POST_SNAPBACK}>WinGetText() ? SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
tamir Posted December 29, 2004 Author Posted December 29, 2004 it doesn't get the text of it, maybe because it's not writing program. anyway im using the printscreen, and i have another question: is there a way to check if there is msgbox (like when u quit it asks u if u want to save ur project in msgbox) in mspaint?
Developers Jos Posted December 29, 2004 Developers Posted December 29, 2004 it doesn't get the text of it, maybe because it's not writing program.anyway im using the printscreen, and i have another question:is there a way to check if there is msgbox (like when u quit it asks u if u want to save ur project in msgbox) in mspaint?<{POST_SNAPBACK}>Don't really understand what you are after here..PrintScreen = Picture = bunch of pixelsSo you are not looking for retrieving the text from the Window ? SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
JSThePatriot Posted December 29, 2004 Posted December 29, 2004 @JdeB I think he doesnt care which way he gets the information whether it be a screen shot or a GetText deal he just wants the info. The screenshot is working the WinGetText() doesnt. I mentioned that above to him. @Tamir I think you can use AdLibEnable() and AdLibDisable() for that, or you could just use an If statement to check if a window pops up, and if it does what decision to make depending on what the window title is. Some functions you might want to look into... If...End If WinExists() WinActive() Just look at all the Window functions provided in the help file. They should help considerably. JS AutoIt Links File-String Hash Plugin Updated! 04-02-2008 Plugins have been discontinued. I just found out. ComputerGetInfo UDF's Updated! 11-23-2006 External Links Vortex Revolutions Engineer / Inventor (Web, Desktop, and Mobile Applications, Hardware Gizmos, Consulting, and more)
Doxie Posted January 3, 2005 Posted January 3, 2005 You can use Alt Gr+ Printscreen to get a screenshot from the active window. (I thought everyone knew this) Were ever i lay my script is my home...
themax90 Posted January 3, 2005 Posted January 3, 2005 (edited) Yeah the PRintscren+alt+copy? I thought everyone that programed knew this...... and btw search the forums for screenshot there was a post not to long ago about it.Edit, ummmm: http://www.autoitscript.com/forum/index.ph...655entry23655might help.... Edited January 3, 2005 by AutoIt Smith
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