Jump to content

Recommended Posts

Posted

i have a mailer that checks for text in another app and mails it every 6 hours, the problem is it mails it even if its empty...how do i do if wingettext = empty then skip and abort

Posted

alright that worked

If $text = "" Then 
    WinSetState($class, "", @SW_MINIMIZE)
    Exit
EndIf

my next problem is its running under a RDP (remote desktop) user and some of the functions dont seem to work properly spefifically this part

Send("{LALT}")

sleep(500)

ControlSend($class, "", "", "{UP}")

ControlSend($class, "", "", "{UP}")

ControlSend($class, "", "", "{UP}")

ControlSend($class, "", "", "{UP}")

ControlSend($class, "", "", "{ENTER}")

WinSetState($class, "", @SW_MINIMIZE)

it does minimize but by default the program minimizes into the task tray, but here i find it sitting in the task bar (which is not the programs behavior), and all the control sends never go through, this is when the rdp user is logged out, when logged in everything works fine, but when logged out i find this weird behavior

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
  • Recently Browsing   0 members

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