MSFN Forum: Grayed condition if missing? - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Grayed condition if missing? Rate Topic: -----

#1 User is offline   kof94 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 433
  • Joined: 28-November 05

Posted 26 March 2006 - 09:38 AM

Can you set a grayed conditon if a file is missing?

I want to set Alcohol 120 to gray if SPTD driver is missing!


#2 User is offline   lawrenca 

  • Broken by Design
  • PipPip
  • Group: Members
  • Posts: 129
  • Joined: 01-April 04

Posted 26 March 2006 - 04:42 PM

kof94,
Try the code below in gcond (use the ! for if the file is absent):

!FileExists("%wpipath%Applications\YourMissingAppHere")

This post has been edited by lawrenca: 26 March 2006 - 04:42 PM


#3 User is offline   kof94 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 433
  • Joined: 28-November 05

Posted 27 March 2006 - 10:05 AM

Thanks, didn't think of that. :thumbup

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy