iceberg Posted July 7, 2006 Share Posted July 7, 2006 Hi Guys, I need your kind assistance on the following codes: RunWait("C:\Documents and Settings\User\My Documents\PS Tools\psexec.exe \\" & $Data & "C:\Apps\Rw.exe", @SW_HIDE) The whole code works fine without the @SW_HIDE function. It says can't find the specified file. If GUICtrlRead($Radio_1) or ($Radio_2) Not $GUI_CHECKED Then And also the above code gives me error though it still works. Can someone pls enlighten me as to how to "rephrase" both the codes? Thanks. mouse not found....scroll any mouse to continue. Link to comment Share on other sites More sharing options...
BPBNA Posted July 7, 2006 Share Posted July 7, 2006 You are skipping an argument in the RunWait right before the @SW_HIDE. You want: RunWait("C:\Documents and Settings\User\My Documents\PS Tools\psexec.exe \\" & $Data & "C:\Apps\Rw.exe", "", @SW_HIDE) As for the checkbox.. not sure, I havn't worked much with those yet. Link to comment Share on other sites More sharing options...
Xenobiologist Posted July 7, 2006 Share Posted July 7, 2006 If GUICtrlRead($Radio_1) or ($Radio_2) Not $GUI_CHECKED Then HI, I think you need to check like: If GUICtrlRead($Radio_1) or GUICtrlRead($Radio_2) = $GUI_UNCHECKED Then 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...
iceberg Posted July 7, 2006 Author Share Posted July 7, 2006 Wow! BPBNA and Mega, thanks a million! works beautifully and excellently. no errors reported. mouse not found....scroll any mouse to continue. 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