MarcoCastro Posted May 16, 2007 Share Posted May 16, 2007 (edited) 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 May 16, 2007 by MarcoCastro Link to comment Share on other sites More sharing options...
Xenobiologist Posted May 16, 2007 Share Posted May 16, 2007 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 More sharing options...
MarcoCastro Posted May 16, 2007 Author Share Posted May 16, 2007 Hi,do you want to interact with systray icons? search for systray.au3So long,MegaHi, i need the windows's script working hide.... Link to comment Share on other sites More sharing options...
Xenobiologist Posted May 16, 2007 Share Posted May 16, 2007 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 More sharing options...
Zedna Posted May 16, 2007 Share Posted May 16, 2007 Look for example at my NET SEND GUII'm using tray icon (in minimized state)Also use While 1 ... WEnd Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now