lyledg Posted November 28, 2004 Share Posted November 28, 2004 Apologies for all the question, but trying to learn this as fast as possible to stop buging you all.. I am trying to write a batch file name with a given variable, but get an error when trying to parse the function: Below is the affected code only... GUICtrlCreateLabel ("Job Name", 25,25, 300) GLOBAL $Job = GUICtrlCreateInput ( "", 30, 50, 200, 20) $file = FileOpen(' "' (GUIRead($Job) '" ' & ".cmd",1) I get the error from the Fileopen call Cheers Link to comment Share on other sites More sharing options...
CyberSlug Posted November 28, 2004 Share Posted November 28, 2004 $file = FileOpen(GUIRead($Job) & ".cmd", 1) I think that should work Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig! Link to comment Share on other sites More sharing options...
lyledg Posted November 29, 2004 Author Share Posted November 29, 2004 Cheers Mate!!! Worked.. 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