Jump to content

Recommended Posts

Posted

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

Posted

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)

Posted

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
Posted

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 pixels

So 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.
  :)

Posted

@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)

Posted

You can use Alt Gr+ Printscreen to get a screenshot from the active window. (I thought everyone knew this) :idiot:

Were ever i lay my script is my home...

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
  • Recently Browsing   0 members

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