Jump to content
Sign in to follow this  
ironic

Open And Close

Recommended Posts

ironic

I need help.

A simple script (not for me :) )

When call (skype) close utorrent

And vice versa when stop call -> start utorrent.

Share this post


Link to post
Share on other sites
XxXFaNtA

Give me a try :)

While 1

If ProcessExists("skype.exe") Then

ProcessClose("utorrent.exe")

EndIf

Sleep(1000)

WEnd

The other way around is harder...

While 1

If NOT ProcessExists("skype.exe") AND NOT ProcessExists("utorrent.exe") Then

Run("C:\Program Files\utorrent\utorrent.exe")

EndIf

Sleep(1000)

WEnd

Or Something like that

Edited by XxXFaNtA

Share this post


Link to post
Share on other sites
ironic

It works for me :) Thank You. Very Helpfull :)

While 1

If ProcessExists("Skype.exe") Then

ProcessClose("uTorrent 1.5 Build 437 Final.exe")

EndIf

Sleep(1000)

If NOT ProcessExists("Skype.exe") AND NOT ProcessExists("uTorrent 1.5 Build 437 Final.exe") Then

Run("C:\Program Files\utorrent\uTorrent 1.5 Build 437 Final.exe")

EndIf

Sleep(1000)

WEnd

But is one problem :"> My dad when click "X" to close Skype, It minimizes to Tray. and Utorrent never start :mellow:

Maybe manner is in order to make it with "answer call" and "Hang up call"?

Share this post


Link to post
Share on other sites
XxXFaNtA

Sry, can't help with that...The easiest way to "fixing" that would be to change the usage of the "X" from "minimize to System Tray" to "Exit/Close" ^^

>> Help me now <<

Edited by XxXFaNtA

Share this post


Link to post
Share on other sites
ironic

Sry, can't help with that...The easiest way to "fixing" that would be to change the usage of the "X" from "minimize to System Tray" to "Exit/Close" ^^

Yeah I know but Skype sucks :/ Maybe Gizmo is better way :)

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  

×