blessthefall Posted June 15, 2008 Posted June 15, 2008 Hello, I've been trying to figure this out for about a half hour now... at a loss for the moment. I'm trying to figure out how to use the run command with a variable. This is all for the sake of easy customization. Sorry for being an AutoIt nub =S For instance: $exe_location = "" Run($exe_location "-windowed", "", @SW_MINIMIZE) ^^ - Obviously the above script is incorrect but you can kinda get an idea of what I'm trying to accomplish. I figured maybe I'm making a simple syntax error or their is a more appropriate way to run this.
blessthefall Posted June 15, 2008 Author Posted June 15, 2008 I'm sorry guys I'm tired and partially retarded. Only moments after my post I figured it out. $exe_location = "" Run($exe_location , "", @SW_MINIMIZE) the above worked, haven't figured out the windowed part yet but i'm sure the solution is simple.
martin Posted June 15, 2008 Posted June 15, 2008 Hello, I've been trying to figure this out for about a half hour now... at a loss for the moment. I'm trying to figure out how to use the run command with a variable. This is all for the sake of easy customization. Sorry for being an AutoIt nub =S For instance: $exe_location = "" Run($exe_location "-windowed", "", @SW_MINIMIZE) ^^ - Obviously the above script is incorrect but you can kinda get an idea of what I'm trying to accomplish. I figured maybe I'm making a simple syntax error or their is a more appropriate way to run this.Maybe this will do what you want. Run('"' & $exe_location & '" "-windowed"', "", @SW_MINIMIZE) 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.
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