As many of you know Adobe Flash has several different versions, a PlugIn and ActiveX control. I can get the values of both of these using:
( values "DisplayVersion" of it) of keys whose (value "DisplayName" of it as string as lowercase contains "flash") of key "HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall" of registry
Which will return both the ActiveX and NPAPI. I want to break this in to two separate properties Flash NPAPI Version and Flash ActiveX Version. I am trying to do that with this code:
( values "DisplayVersion" of it) of keys whose (value "DisplayName" of it as string as lowercase contains "flash") AND (value "DisplayName" of it as string as lowercase contains "npapi" )of key "HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall" of registry
However, I get the error that the operator keys
is not defined.
Can someone give me some pointers on where I am going wrong, or even propose the proper relevance code?
Thanks!