Home › Forums › Problems and solutions in GDL › Informations from the environment › Requesting platform, mac or windows › Reply To: Requesting platform, mac or windows
July 7, 2018 at 16:20 #4172
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