MSFN Forum: Question about Conditions - MSFN Forum

Jump to content



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

Question about Conditions Rate Topic: -----

#1 User is offline   ankap 

  • Junior
  • Pip
  • Group: Members
  • Posts: 96
  • Joined: 18-March 04

Posted 08 January 2005 - 11:27 PM

How can I make to check not for file but for registry key or value?
It is more useful.


#2 User is offline   MCT 

  • MSFN Junkie
  • PipPipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 3,288
  • Joined: 19-May 04

Posted 08 January 2005 - 11:34 PM

ya, i agree, this would be a good idea (i dont think its implemented yet)

#3 User is offline   Nazgul 

  • Junior
  • Pip
  • Group: Members
  • Posts: 86
  • Joined: 02-January 05

Posted 09 January 2005 - 02:34 AM

It is, try the following:
WshShell.regRead("HKLM\Software\Test\Test")=="b"


This checks if the value of Test at location HKLM\Software\Test is equal to b.

HKLM = HKEY_LOCAL_MACHINE
HKCU = HKEY_CURRENT_USER

#4 User is offline   ankap 

  • Junior
  • Pip
  • Group: Members
  • Posts: 96
  • Joined: 18-March 04

Posted 10 January 2005 - 12:53 AM

Nazgul I have already tried that way it's working but I'd like to check if the specified key exists or not or smth else.

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