Page 1 of 1

get Browsername

Posted: Thu Feb 18, 2021 5:28 am
by Stefan
I am trying to find out whether a tablet / smartphone or a PC is being used.
I try this with

Procedure.s GetBrowserName ()
! return platform.name;
EndProcedure

Unfortunately, this is not recognized in older Apple products. What better way to find out which device you're using?

Re: get Browsername

Posted: Thu Feb 18, 2021 5:57 am
by useful

Code: Select all

  ExamineDesktops()
  Debug "Primary desktop name = "+DesktopName(0)

Re: get Browsername

Posted: Thu Feb 18, 2021 7:50 am
by Dirk Geppert
Nice!