Jump to content

Script running on Systray


Recommended Posts

Hi team, i need to know how run my script with the involved windows on Systray ...

And this way, i will can work in other programs. Thanks Champs...

for $i=1 to 15000
Opt("WinWaitDelay",100)
Opt("WinTitleMatchMode",4)
Opt("WinDetectHiddenText",1)
Opt("MouseCoordMode",0)
WinWait("Microsoft Excel - INVENTARIONIKE.xls","ABBYY PDF Transforme")
If Not WinActive("Microsoft Excel - INVENTARIONIKE.xls","ABBYY PDF Transforme") Then WinActivate("Microsoft Excel - INVENTARIONIKE.xls","ABBYY PDF Transforme")
WinWaitActive("Microsoft Excel - INVENTARIONIKE.xls","ABBYY PDF Transforme")
Send("{CTRLDOWN}c{CTRLUP}{ALTDOWN}{TAB}{ALTUP}")
WinWait("Wmsp.rsf - WRQ Reflection - IBM 5250 Terminal","Standard")
If Not WinActive("Wmsp.rsf - WRQ Reflection - IBM 5250 Terminal","Standard") Then WinActivate("Wmsp.rsf - WRQ Reflection - IBM 5250 Terminal","Standard")
WinWaitActive("Wmsp.rsf - WRQ Reflection - IBM 5250 Terminal","Standard")
Send("{CTRLDOWN}v{CTRLUP}{SPACE}{SPACE}{SPACE}{SPACE}{ENTER}{DOWN}{LEFT}{LEFT}2{ENTER}{DOWN}{DOWN}002{ENTER}{F3}{UP}{RIGHT}{RIGHT}{RIGHT}{ALTDOWN}{TAB}{ALTUP}")
WinWait("Microsoft Excel - INVENTARIONIKE.xls","ABBYY PDF Transforme")
If Not WinActive("Microsoft Excel - INVENTARIONIKE.xls","ABBYY PDF Transforme") Then WinActivate("Microsoft Excel - INVENTARIONIKE.xls","ABBYY PDF Transforme")
WinWaitActive("Microsoft Excel - INVENTARIONIKE.xls","ABBYY PDF Transforme")
Send("{DOWN}{ESC}")
sleep(5000)
Next
Edited by MarcoCastro
Link to comment
Share on other sites

Hi,

do you want to interact with systray icons? search for systray.au3

So long,

Mega

Scripts & functions Organize Includes Let Scite organize the include files

Yahtzee The game "Yahtzee" (Kniffel, DiceLion)

LoginWrapper Secure scripts by adding a query (authentication)

_RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...)

Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc.

MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times

Link to comment
Share on other sites

Hi,

then try using controlsend.

So long,

Mega

Scripts & functions Organize Includes Let Scite organize the include files

Yahtzee The game "Yahtzee" (Kniffel, DiceLion)

LoginWrapper Secure scripts by adding a query (authentication)

_RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...)

Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc.

MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times

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