Sign in to follow this  
Followers 0
mike1305

what the eff

5 posts in this topic

can someone tell me what is wrong with this? it tells me there is an error in expression at the $trend part of the script (in the second line)...... I am unable to figure out the problem. maybe I'm just tired. :D

$trend  = FileGetVersion ("C:\OfficeScan NT\PccNT.exe")
    If $trend = 7.3.0.1020 then 
       $trend2 = 0
    Else 
       $trend2 = 1
    EndIf

Amp Energy Drink: the official sponsor of me scripting at 2AM.

Share this post


Link to post
Share on other sites



$trend  = FileGetVersion ("C:\OfficeScan NT\PccNT.exe")
If $trend = "7.3.0.1020" then 
    $trend2 = 0
Else 
    $trend2 = 1
EndIf
I see what you did, but why does the spacing give autoitv3.1 problems? will it be different in the beta?

Amp Energy Drink: the official sponsor of me scripting at 2AM.

Share this post


Link to post
Share on other sites

I see what you did, but why does the spacing give autoitv3.1 problems? will it be different in the beta?

Think you need some coffee

the space had nothing to do with it.

look at the if statement

Returns a string containing the version information


SciTE for AutoItDirections for Submitting Standard UDFs

 

Don't argue with an idiot; people watching may not be able to tell the difference.

 

Share this post


Link to post
Share on other sites

Think you need some coffee

the space had nothing to do with it.

look at the if statement

the quotes...got it. thanks. :D


Amp Energy Drink: the official sponsor of me scripting at 2AM.

Share this post


Link to post
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
Sign in to follow this  
Followers 0