User Tag List

Results 1 to 2 of 2

Thread: Detect if application is running from within fusion or standalone exe

  1. #1
    Clicker Fusion 2.5 MacFusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleInstall Creator Pro
    Christian_Wheel's Avatar
    Join Date
    Mar 2010
    Los Angeles
    0 Post(s)
    0 Thread(s)

    Detect if application is running from within fusion or standalone exe

    Hi all,

    I need to create a condition that detects whether or not my app is running from within Fusion (either Run... Application or Run... Frame) or if it's running as a compiled EXE, but Apppath$ + Appname$ + ".exe" always returns what the EXE filename would be rather than edrtex.exe that is actually running my EXE, and the Runtime object / runtime detection on the Special object always return a windows runtime too.

    How can I detect if my app is being run from within Fusion or if it's a standalone EXE?


  2. #2
    Clickteam Clickteam

    Join Date
    Jun 2006
    82 Post(s)
    2 Thread(s)
    You could use the Command Line function, it retrieves the full command line that contains the name of the EXE. Test if Find(CommandLine$, "edrt.exe", 0) returns a value lower than 0, if so it's running as stand-alone app, otherwise it's running from the editor. Replace "edrt.exe" by "edrtex.exe" if you use 2.5+.

Similar Threads

  1. Embed Chrome browser into standalone application?
    By ratty in forum HTML5 Export Module 2.5
    Replies: 11
    Last Post: 11th May 2017, 06:27 PM
  2. Detect if a .bat file is running
    By scottige in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 20th September 2012, 10:53 AM

Posting Permissions

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