Jump to content

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Find out more here. X
X


Photo

auto close program


  • Please log in to reply
4 replies to this topic

#1 BlackCat

BlackCat

    Seeker

  • Active Members
  • 13 posts

Posted 17 September 2009 - 08:57 AM

Hi... Today, I want make code auto close other program (example: yahoo!messenger) but I can't find it. Any body know it, help me plz.
Thanks







#2 Manadar

Manadar

         

  • MVPs
  • 10,723 posts

Posted 17 September 2009 - 09:03 AM

The function you're looking for is ProcessClose or WinClose. Don't be shy to consult the help file for these issues.

#3 Mecrazycoder

Mecrazycoder

    Member

  • Active Members
  • PipPip
  • 113 posts

Posted 17 September 2009 - 09:05 AM

Hi... Today, I want make code auto close other program (example: yahoo!messenger) but I can't find it. Any body know it, help me plz.
Thanks

First try to read the help file before posting the questions. Any way i think below will help you a little
] if ProcessExists("iexplore.exe") Then     ProcessClose("iexplore.exe") EndIf

Assuming Program as Process

Edited by Mecrazycoder, 17 September 2009 - 09:07 AM.

Attitude is a little thing that makes a big difference

Posted Image


#4 BlackCat

BlackCat

    Seeker

  • Active Members
  • 13 posts

Posted 19 September 2009 - 03:45 AM

Thanks
But I want it close after 1hour 15minutes

Edited by BlackCat, 19 September 2009 - 04:10 AM.


#5 somdcomputerguy

somdcomputerguy

  • Active Members
  • PipPipPipPipPipPip
  • 2,640 posts

Posted 19 September 2009 - 05:04 AM

Sleep(4500000) If ProcessExists("iexplore.exe") Then     ProcessClose("iexplore.exe") EndIf

- Bruce /* somdcomputerguy */  If you change the way you look at things, the things you look at change.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users