Skip to main content
Inspiring
April 13, 2011
Question

Is cpInfoIsStandalone reliable?

  • April 13, 2011
  • 1 reply
  • 285 views

I have been trying to use system variable cpInfoIsStandalone to detect whether a presentation is running in a stand-alone (.exe) window or within a browser, but it seems to be unreliable. Sometimes it reports correctly, and sometimes it does not. Has anyone used this variable successfully? If so, are there any secrets to making it work correctly?

    This topic has been closed for replies.

    1 reply

    TrevDevAuthor
    Inspiring
    April 13, 2011

    I have continued investigating this problem. It may not be the cpInfoIsStandalone that is the problem but something else in Captivate. I created a four-slide presentation that included logic to toggle the visibility of a pair of captions depending on the run mode (stand-alone or in-browser). It worked perfectly, and when I copied the 4 slides into an existing larger presentation and rebuilt the Advanced Action logic, the 4 slides functioned perfectly there, too. However, an existing slide with identical logic that tried to toggle a pair of captions continued not to work. In the end, I deleted the captions and recreated them and edited the Advanced Action so that it acted upon the new captions, and now the toggling occurs correctly.

    I can only assume that some obscure attribute or curruption of the original captions was interfering with the Show action.

    If anyone would like a copy of my proof-of-concept four-slide presentation, email me, and I will send you a zipped file.