Jump to content

Recommended Posts

Posted

noob here,

ShellExecuteWait ( "filename" [, "parameters" [, "workingdir" [, "verb" [, showflag]]]] )

I need to run an exe with a "-s" switch. Will that go in the parameters section or should I add it to the filename?

Thanks!

Posted

noob here,

ShellExecuteWait ( "filename" [, "parameters" [, "workingdir" [, "verb" [, showflag]]]] )

I need to run an exe with a "-s" switch. Will that go in the parameters section or should I add it to the filename?

Thanks!

Welcome to the forums :)

It's a parameter so it goes in the parameters list.

Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script.
Posted

I'm getting this error when I compile it. Can you tell me what I'm doing wrong?

C:\Documents and Settings\tscott\My Documents\auto it scripts\Build Thin Client.au3(12,57) : ERROR: shellexecutewait(): undefined function.

shellexecutewait("RemoveCitrixClient.exe", "-s", "y:",,,)

Posted

JESUS! I finally figured it out. Not suppose to be a , at the end of parameters. Should be

shellexecutewait("RemoveCitrixClient.exe" , "-s" , "y:" )

not

shellexecutewait("RemoveCitrixClient.exe" , "-s" , "y:" , )

Is baldness normal in this trade??? :)

Posted

If you are an investor you might consider investing in an antacid company :)

[u]Helpful tips:[/u]If you want better answers to your questions, take the time to reproduce your issue in a small "stand alone" example script whenever possible. Also, make sure you tell us 1) what you tried, 2) what you expected to happen, and 3) what happened instead.[u]Useful links:[/u]BrettF's update to LxP's "How to AutoIt" pdfValuater's Autoit 1-2-3 Download page for the latest versions of Autoit and SciTE[quote]<glyph> For example - if you came in here asking "how do I use a jackhammer" we might ask "why do you need to use a jackhammer"<glyph> If the answer to the latter question is "to knock my grandmother's head off to let out the evil spirits that gave her cancer", then maybe the problem is actually unrelated to jackhammers[/quote]

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
×
×
  • Create New...