Jump to content

Idea


 Share

Recommended Posts

Hi Guys...

Is it possible to make an printscreen of a screen you call up with auto it...

so i ahve a script

winwait ("JBA System 21", "Item Master Quick")
            
                                    ControlFocus ("", "", 5)    
                                    Do
                                        Sleep(10)
                                    Until ControlFocus ("", "", 5)
Send ("2")

                                    ControlFocus ("", "", 6)        
                                    Do
                                        Sleep(10)
                                    Until ControlFocus ("", "", 6)              

send ("FIMASTER")
    
                                    ControlFocus ("", "", 7)    
                                    Do
                                        Sleep(10)
                                    Until ControlFocus ("", "", 7)

Send ("FI")
    Send ("{enter}")
            WinWaitActive ("JBA System 21", "Item Master Quick")
            

    Send ("{F12}")
                                    ControlFocus ("", "", 5)    
                                    Do
                                        Sleep(10)
                                    Until ControlFocus ("", "", 5)                  
send ("3")

And in this script 2 windows pop up can i make a printscreen of window A before Window "b" come;s up?

Link to comment
Share on other sites

ok i al ready found it

("{PRINTSCREEN}")

but is there an option that placese the pictures in a file ore something?

so i can save them directly with out opening a program where is past them and save like paint?

The ScreenCap module in Auto3Lib does this for you and it does not require a DLL or add on program. Edited by PaulIA
Auto3Lib: A library of over 1200 functions for AutoIt
Link to comment
Share on other sites

ok i al ready found it

("{PRINTSCREEN}")

but is there an option that placese the pictures in a file ore something?

so i can save them directly with out opening a program where is past them and save like paint?

I use IrFanView to do the whole thing. You can run it from AutoIT using command line options to capture, resize, change color depth, etc., then save to a file of whatever format you wish. I also do this on remote computers to see if anyone is using the machine (sometimes the "current user" command is misleading)...
...by the way, it's pronounced: "JIF"... Bob Berry --- inventor of the GIF format
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...