Jump to content

Variable


Recommended Posts

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 by fear1313

[center][/center]Working on the next big thing.Currently Playing: Halo 4, League of LegendsXBL GT: iRememberYhslaw

Link to comment
Share on other sites

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
Link to comment
Share on other sites

No, I'm at the library and I can't run anything :think: 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

Link to comment
Share on other sites

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 :think: sorry, I just noticed that when looking at your script and thought that was the problem, sorry I can't help you more.

Link to comment
Share on other sites

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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...