Sign in to follow this  
Followers 0
iceberg

RunWait and @SW_HIDE

4 posts in this topic

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.

Share this post


Link to post
Share on other sites



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.

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

Wow! BPBNA and Mega, thanks a million!

works beautifully and excellently.

no errors reported.


mouse not found....scroll any mouse to continue.

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  
Followers 0