Want to get rid of Google Ads, click here.
+ Reply to Thread
Results 1 to 6 of 6

Thread: Determining client type

  1. #1
    Member mstokes's Avatar
    Join Date
    Dec 2001
    Location
    Australia
    Posts
    68

    Cool Determining client type

    Does anybody know if it is possible to have a button show on a screen in the web client, but not in the eclipse client? ie. Is there a way to determine what client is being used to display a screen and so use DVD to prevent something being displayed?

  2. #2
    Administrator tommy's Avatar
    Join Date
    Nov 2001
    Location
    Copenhagen
    Posts
    4,272

    Default

    I have not tried in SC6 but there is the function sysinfo that can get certain information about the client. (Don't recall the exact name of the function right now).

  3. #3
    Senior Member glg's Avatar
    Join Date
    Aug 2004
    Location
    Chicago, IL, USA
    Posts
    714

    Default

    In pre-6, sysinfo.get("mode") would return "client" for a full/fat client and "express" for an express client. Try displaying that value on a format and see if it comes up different for web vs. eclipse in 6.

    And please report back, I'd like to know the answer

  4. #4
    Member mstokes's Avatar
    Join Date
    Dec 2001
    Location
    Australia
    Posts
    68

    Angry

    sysinfo.get("display") returns "gui" for both clients and sysinfo.get("mode") returns "SOAP" for both clients.

  5. #5
    Member mstokes's Avatar
    Join Date
    Dec 2001
    Location
    Australia
    Posts
    68

    Smile

    Found it.
    sysinfo.get("Environment") returns "scguiwswt" for eclipse client and "scguiwweb" for web client

  6. #6
    Junior Member Alex_the_frog's Avatar
    Join Date
    Jul 2003
    Location
    Brussels
    Posts
    8

    Default

    You can also use:
    curent.device(), which returns
    ESS-Web for ess
    Soap-Web for Full Web
    Soap-Windows 2000 for Full Windows

    or

    $G.ess which returns true for ESS.
    Kind Regards,

    Alex

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts