Jump to content

2 questions


tamir
 Share

Recommended Posts

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)

Link to comment
Share on other sites

  • Developers

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

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

  • Developers

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

Link to comment
Share on other sites

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

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...