Jump to content

Recommended Posts

Posted

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

Posted

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]

Posted

right from the help file

Hey star...

This is just like I/O read write file,... but i was thinking more on the lines

of being able to like, take text out of a web browser when it is minimised,

but where in the help did you find this example

shot for trying

Posted (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 example

just search for the word [Minimized]

sorry not that much help !!

Edited 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]

Posted

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
Posted

ControlSend

ControlClick

and for Web

#include <IE.au3>

-Check the Helpfile for more help on IE.au3

Posted

ControlSend

ControlClick

and for Web

#include <IE.au3>

-Check the Helpfile for more help on IE.au3

i am aware of control send,, 1 question though

can you control send an instruction to a window when it is not active?

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
×
×
  • Create New...