Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 8641 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

I have a situation where it is desirable to know whether our run-time customers are using Windows 9n/ME or NT4/Win2000 in order to set a few fields correctly.

Inasmuch as it is impracticl to ask each customer, does anyone know of a function or call that can make this determination? I am on a Windows platform.

Respectfully,

Eun Mi

Posted

Make a script that run when you open the file and include the Status CurrentPlatform step.

Returns 1 if the current platform is the Mac OS, 2 if the platform is Windows 95 or Windows 98, or -2 if the platform is Windows NT.

Example

Status (CurrentPlatform) returns 1, when the current platform is Macintosh.

Abs(Status (CurrentPlatform)) returns 2, when the current platform is Windows 98, 95, or NT.

With the return (1 or 2) you can direct the user to specific layouts or script, for each platform.

Hope this will help.

John

Posted

John,

Thank you so much. Please permit me to ask a little more...

Initially you stated Win 95 & Win 98 return a 2; NT returns a -2 (minus 2)

Further on in your reply you mention that Abs(Status (Current Platform)) returns a 2 when the current platform is Win 95, Win 98 or NT.

(1) Do I get a 2 or a -2 for NT? (2) Do I get the same for Win 2000?

I need only to know if the Windows platform is Win 95-98-ME or NT/Win 2000.

Thanks in advance

Respectfully

Eun Mi

This topic is 8641 days old. Please don't post here. Open a new topic instead.

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
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.