Jump to content
Sign in to follow this  
MarcoCastro

Script running on Systray

Recommended Posts

MarcoCastro

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

Share this post


Link to post
Share on other sites
Xenobiologist

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

Share this post


Link to post
Share on other sites
MarcoCastro

Hi,

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

So long,

Mega

Hi, i need the windows's script working hide....

Share this post


Link to post
Share on other sites
Xenobiologist

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

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  

×