meetrix Posted April 29, 2006 Posted April 29, 2006 Hello All, Can anyone help? I have this script that is kinda of working. I can't find the problem. It must be something really simple that I'm missing. Plese take a look and advise. If it can be improve, please let me know. MeetrixVariable.au3
BillLuvsU Posted April 29, 2006 Posted April 29, 2006 (edited) If $answer = 7 Then ;Create the file or over-write $file = Fileopen("V:"& "\" & ($var) & ".log", 2) EndIf Else ;messeage the user that file has been created MsgBox(4096, "Good Job", "The Serial Number has been Crated") ; EndIf ;command here to open file and printed. ;command here to close all windows. EndIf Lol, you put in a couple of extra endifs in there ;P try replacing this with that. If $answer = 7 Then ;Create the file or over-write $file = Fileopen("V:"& "\" & ($var) & ".log", 2) Else ;messeage the user that file has been created MsgBox(4096, "Good Job", "The Serial Number has been Created") ;command here to open file and printed. ;command here to close all windows. EndIf Edited April 29, 2006 by fear1313 [center][/center]Working on the next big thing.Currently Playing: Halo 4, League of LegendsXBL GT: iRememberYhslaw
meetrix Posted April 29, 2006 Author Posted April 29, 2006 Have you tried to run the script I have? It does not create the serial number file when I have the ifexist and over write options. Why is this? Thank you for helping. Let me know Meetrix If $answer = 7 Then ;Create the file or over-write $file = Fileopen("V:"& "\" & ($var) & ".log", 2) EndIf Else ;messeage the user that file has been created MsgBox(4096, "Good Job", "The Serial Number has been Crated") ; EndIf ;command here to open file and printed. ;command here to close all windows. EndIf Lol, you put in a couple of extra endifs in there ;P try replacing this with that. If $answer = 7 Then ;Create the file or over-write $file = Fileopen("V:"& "\" & ($var) & ".log", 2) Else ;messeage the user that file has been created MsgBox(4096, "Good Job", "The Serial Number has been Created") ;command here to open file and printed. ;command here to close all windows. EndIf
BillLuvsU Posted April 29, 2006 Posted April 29, 2006 No, I'm at the library and I can't run anything sorry, I just noticed that when looking at your script and thought that was the problem, sorry I can't help you more. [center][/center]Working on the next big thing.Currently Playing: Halo 4, League of LegendsXBL GT: iRememberYhslaw
meetrix Posted April 29, 2006 Author Posted April 29, 2006 Is ok. Thank you for helping..Take care and hopefullly someone else can give me some feedback. I am new to scripting and alll the commands. It will take me some time to get it..See ya.No, I'm at the library and I can't run anything sorry, I just noticed that when looking at your script and thought that was the problem, sorry I can't help you more.
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