Jump to content
Sign in to follow this  

Remote Control

Recommended Posts

I am writing a script that uses AIM to run scripts and do things on my computer, when i send appropriate commands via my cell

heres the code i have, but it isn't working can anyone help me?

while 1
    If WinExists("sandels02 : sandel       s01 - Instant Message") then
            While WinExists("sandels02 : sandel    s01 - Instant Message")
        $message = WinGetText("sandels02:sandel    s01 - Instant Message")   
                     $shutdown = StringinStr($message,"*shutdown*","1")
             If $shutdown>0 then
              $restart = StringinStr($message,"*restart*","1") 
             If $restart>0 then
                      $signoff = StringinStr($message,"*sign off*","1") 
             If $signoff>0 then
                      $topopen = StringinStr($message,"*tCDtray open*","1") 
             If $topopen>0 then
                      $topclose = StringinStr($message,"*tCDtray close*","1") 
             If $topclose>0 then
                      $botopen =  StringinStr($message,"*bCDtray open*","1") 
             If $botopen>0 then
                      $botclose = StringinStr($message,"*bCDtray close*","1")
             If $botclose>0 then

I am also planning on making it run scripts

Share this post

Link to post
Share on other sites

You might want to checkout This Topic for ideas.

Time you enjoyed wasting is not wasted time ......T.S. Elliot
Suspense is worse than disappointment................Robert Burns
God help the man who won't help himself, because no-one else will...........My Grandmother

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...