|
Hi,
On Mon, 17 Jan 2011, Bill Mohler wrote:
> I would love to have my macro detect if a user is running 7 rather than
> something earlier
What does
print(call("java.lang.System.getProperty", "os.version"));
show? If it starts with "7.", you could use the startsWith() function to
test for Windows 7 (according to a quick web search, Windows Vista
returns something starting with "6.").
Ciao,
Johannes
|