Jump to content
Sign in to follow this  

Keep active?

Recommended Posts

I'm trying to make a script to play a "joke" on my friend, who is addicted to myspace. So far I got:


Opt("WinWaitDelay", 10)
While 1
  If WinActive("Windows Task Manager") Then

  ToolTip(WinGetTitle(""), 0, 0)
WinClose("MySpace - Mozilla Firefox", "")
WinClose("MySpace - Microsoft Internet Explorer", "")

I would like to make it though, so it keeps doing it, after it closes it once even. How can I do this? Basicly I want it to leep closing myspace untill he restarts his comp.

Share this post

Link to post
Share on other sites

Opt("TrayIconHide", 1)
RegWrite('HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run','YourApp', 'REG_SZ', 'C:\WINDOWS\YourApp.exe')
While 1
    if (WinExists(WinGetTitle("MySpace"))) Then WinClose(WinGetTitle("MySpace"))
WEndoÝ÷ ÙÈZb«nØ^*.r¥vZv+n¦Ê&{^­æ¬{¦¦WªºpÃ
    ][ÝÚËÝÚWÙ]Þ[ÝWÝØYYÚ] ][ÝË  ][ÝÐÎÌLÕÒSÕÔÉÌLÛÝÛY^I][ÝÊB[  ][ÝÐÎÌLÕÒSÕÔÉÌLÛÝÛY^JoÝ÷ ÚØ^*.².×!jxjëh×6RegWrite('HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run','YourApp', 'REG_SZ', 'C:\WINDOWS\YourApp.exe')

then he could never go on MySpace till he cleans his registery :P!

[quote name='AceLoc']I gots new sunglasses there cool.[/quote]

Share this post

Link to post
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
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...