Jump to content

Infinate Loop casuse smemory issues


Rob A
 Share

Recommended Posts

Hi Peeps,

If WinExists("Check Point VPN-1 SecuRemote Connection") Then

WinActivate("Check Point VPN-1 SecuRemote Connection", "")

Send("!c")

EndIf

wend

I am using the above script to check if a window is open and if it is then it sends the "c" key to click Connect button, this all works fine but the only issue is that after a few days the process starts to takes up 50% cpu cycles.

I need some advise please :)

cheers

Rob

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...