get Browsername

Just starting out? Need help? Post your questions and find answers here.
Stefan
Posts: 160
Joined: Mon Feb 05, 2018 9:44 pm

get Browsername

Post 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?
User avatar
useful
Posts: 116
Joined: Tue Feb 25, 2014 1:15 pm

Re: get Browsername

Post by useful »

Code: Select all

  ExamineDesktops()
  Debug "Primary desktop name = "+DesktopName(0)
2B or not 2B = FF
Dirk Geppert
Posts: 282
Joined: Fri Sep 22, 2017 7:02 am

Re: get Browsername

Post by Dirk Geppert »

Nice!
Post Reply