Reply To: Requesting platform, mac or windows

Joachim Sühlo

there a really a lot of differences, how the UI Elements are shown on Windows and MAC.
E.G. length and size of text, points of linebrakes, UI_Styles.

We use in our office the following REQUEST to distinguish between both platforms.

! Parameters for ArchiCAD version and Platform
Dose = 0
sts = REQUEST(“Name_of_program”, “”,TeX)
IF STRSTR(TeX,”.EXE”) OR STRSTR(TeX,”.exe”) THEN Dose = 1

And we always check the UI on both platforms.

GDL Object Developer
MAC OSx 10.14