tommygun101 Posted June 10, 2007 Share Posted June 10, 2007 Hey Is there a way to perform an action on a window when it is minimised, like writing text onto a notepad when it is minimised in the taskbar? I know you can write text into a notepad when it is active on the screen, there are meny examples of this , but not when it is still minimised and not active. I think performing actions on the window when its minimised would save processing power when you are dealing with a bitmap for example.. does anyone have any ideas? thanx guys Link to comment Share on other sites More sharing options...
star2 Posted June 10, 2007 Share Posted June 10, 2007 right from the help file #include <GUIConstants.au3> GUICreate("Radio Box Demo", 400,280) GUISetState () While 1 $msg = GUIGetMsg() Select Case $msg = $GUI_EVENT_CLOSE MsgBox(0, "", "Exiting !!",1) Exit Case $msg = $GUI_EVENT_MINIMIZE FileDelete ("test.txt") FileWrite ("test.txt", "testing") MsgBox(0,"", "Dialog minimized",1) ShellExecute ("test.txt") EndSelect WEnd [quote]Baby you're all that I want, When you're lyin' here in my armsI'm findin' it hard to believe, We're in heavenAnd love is all that I need , And I found it there in your heartIt isn't too hard to see, We're in heaven .Bryan Adams[/quote].............................................................................[u]AUTOIT[/u] Link to comment Share on other sites More sharing options...
tommygun101 Posted June 10, 2007 Author Share Posted June 10, 2007 right from the help fileHey star...This is just like I/O read write file,... but i was thinking more on the linesof being able to like, take text out of a web browser when it is minimised,but where in the help did you find this exampleshot for trying Link to comment Share on other sites More sharing options...
star2 Posted June 10, 2007 Share Posted June 10, 2007 (edited) Hey star... take text out of a web browser when it is minimised,in this case I can't help cause I'm still learning the web stuff of Autoit but where in the help did you find this examplejust search for the word [Minimized] sorry not that much help !! Edited June 10, 2007 by star2 [quote]Baby you're all that I want, When you're lyin' here in my armsI'm findin' it hard to believe, We're in heavenAnd love is all that I need , And I found it there in your heartIt isn't too hard to see, We're in heaven .Bryan Adams[/quote].............................................................................[u]AUTOIT[/u] Link to comment Share on other sites More sharing options...
tommygun101 Posted June 12, 2007 Author Share Posted June 12, 2007 in this case I can't help cause I'm still learning the web stuff of Autoit just search for the word [Minimized] sorry not that much help !! thanx again... later Link to comment Share on other sites More sharing options...
McGod Posted June 12, 2007 Share Posted June 12, 2007 ControlSend ControlClick and for Web #include <IE.au3> -Check the Helpfile for more help on IE.au3 [indent][center][u]Formerly Chip[/u][/center]~UDFs~[/indent][u]IRC.au3 - Allows you to connect to IRC ServersINetCon.au3 - Connects/Disconnects/Check Status of InternetHardware Key - Creates a unique hardware hashScriptComm - Allows you to communicate between scripts using WM_COPYDATA[/u][indent]~Programs~[/indent][indent]SimonAu3ForumsIRC Bot~Web Site~Web Autoit Example[/indent][indent][b][/b][/indent][u][/u] Link to comment Share on other sites More sharing options...
tommygun101 Posted June 16, 2007 Author Share Posted June 16, 2007 ControlSendControlClickand for Web#include <IE.au3>-Check the Helpfile for more help on IE.au3i am aware of control send,, 1 question thoughcan you control send an instruction to a window when it is not active? Link to comment Share on other sites More sharing options...
Generator Posted June 16, 2007 Share Posted June 16, 2007 i am aware of control send,, 1 question thoughcan you control send an instruction to a window when it is not active?Yes... 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