Diana (Cda) Posted 4 hours ago Posted 4 hours ago Good morning! I've tried every which way, but I'm having trouble that I can't seem to fix. I keep getting this error: Error: Illegal text at the end of statement (one statement per line). My script is to automate entry for scripts into my file manager for quick input. i.e., syntax structure is like this: "TIPS ... fldr" tab("new", "E:\TIPS\"); My line for the ClipPut in the 2-inputbox GUI to achieve this so far is: ClipPut('"' & GUICtrlRead($Input1)) & '"' & 'tab("new", "' & GUICtrlRead($Input2)) & '\");') But somewhere I'm not wrapping those quotation marks properly (I think that's where the problem lies). I've played around with apostraphes and quotation marks for over 15 minutes now and not resolving this this time ! Any advice on how to re-structure that line? Thank you!
ioa747 Posted 4 hours ago Posted 4 hours ago (edited) ClipPut('"' & GUICtrlRead($Input1) & '"' & 'tab("new", "' & GUICtrlRead($Input2) & '\");') or ClipPut('"' & GUICtrlRead($Input1) & '" tab("new", "' & GUICtrlRead($Input2) & '\");') Edited 4 hours ago by ioa747 I know that I know nothing
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