Jump to content

RunWait and @SW_HIDE


Recommended Posts

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

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

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

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