User Tag List

Results 1 to 10 of 10

Thread: External program detection issue

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export Module

    Join Date
    Feb 2007
    Location
    UK
    Posts
    209
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    External program detection issue

    Hey peeps.

    Any way for Funsion 2.5 to detect if an external program is present. For example.

    If > c:\start.exe is detected. > Reappear active object1

    If > c:\start.exe is not detected. > Go to frame 3

    An example would be much appreciated or an explanation.

    Many thanks guys,
    Dave.

  2. #2
    Forum Moderator Fusion 2.5 DeveloperHTML5 Export ModuleiOS Export ModuleSWF Export Module
    DavidN's Avatar
    Join Date
    Jun 2006
    Location
    Boston, MA, USA
    Posts
    4,044
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yes, you could use the File object to check if the file you're looking for exists. What's your exact scenario - are you looking for a file that's part of your game, or something installed elsewhere? The second option may be tricky.

  3. #3
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export Module

    Join Date
    Feb 2007
    Location
    UK
    Posts
    209
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi David,

    I'm making a games console and part of the boot sequence is to detect weather or not an external .exe is found on a removable drive.

    So scenario is this.

    Computer boots into Windows 7 > explorer.exe is replaced by my Clickteam.exe

    Once Clickteam application is loaded, it tries to detect d:\start.exe (d:\ being a removable drive)

    If D:\Start.exe is found application closes and launches Start.exe on D:\

    If Start.exe is not found on D:\ goes to next frame or something stating error message.

    Thanks. I will try what you said.

  4. #4
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export Module

    Join Date
    Feb 2007
    Location
    UK
    Posts
    209
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Can't see anything which would benefit me from you comment David. Any other ways to do this?

    Thanks.
    Dave.

  5. #5
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Nov 2012
    Posts
    121
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    file object, condition: name exists

  6. #6
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export Module

    Join Date
    Feb 2007
    Location
    UK
    Posts
    209
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Really don't understand 2xD?

    I'm going to need an example I think. Can anyone help please?

    Many thanks.

    Edit: I got it to work guys, thank you

  7. #7
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export Module

    Join Date
    Feb 2007
    Location
    UK
    Posts
    209
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    What about if the program does not exist? Can anyone help?

    Many thanks
    Dave.

  8. #8
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Nov 2012
    Posts
    121
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    copy name exists condition, right click on it, negate

  9. #9
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export Module

    Join Date
    Feb 2007
    Location
    UK
    Posts
    209
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks buddy, worked it out with out using negate.

    Many thanks for all your help.

  10. #10
    Clicker Fusion 2.5 MacFusion 2.5 DeveloperHTML5 Export ModuleiOS Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)Universal Windows Platform Export Module (Steam)
    ratty's Avatar
    Join Date
    Apr 2012
    Posts
    1,116
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    External program detection issue

    The tricky part might be knowing the exact directory, unless you have that predetermined in your events. I've been trying to figure out a way to use process viewer to determine if a program is running, then jot down the directory location of that program. So if that's what you need, there might be complications.

Similar Threads

  1. Help with ''execute external program''
    By TheDigitalAlchemist in forum Fusion 2.5
    Replies: 0
    Last Post: 14th February 2016, 12:02 PM
  2. Terminate an external program
    By Tinez in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 8th July 2014, 01:16 PM
  3. Help with executing external program?
    By UKDesign in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 1st January 2010, 09:26 AM
  4. External Program Manipulation
    By McPhisto in forum Multimedia Fusion 2 - Technical Support
    Replies: 9
    Last Post: 16th November 2009, 06:18 AM
  5. External Program Question...Need Help!
    By MikeB in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 13th December 2008, 05:30 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
  •