Detecting mobile launch

Is there a way to detect that a project is being launched on a mobile device and open up some mobile specific screens with a start up script or something like that?

I ask because I want to have some mobile SPC screens and I can’t really create a separate project without duplicating the production model, but the standard screens don’t really work too well on a smaller Mobile device.

Yes, you can do the following in a script:flags = system.util.getSystemFlags() isMobile = flags & system.util.MOBILE_FLAG == system.util.MOBILE_FLAG print isMobile

Beautiful! That works perfect. Thanks, Travis!