User Tag List

Results 1 to 10 of 10

Thread: How can I capture data from a non-MMF2 app?

  1. #1
    Clicker Multimedia Fusion 2 DeveloperInstall Creator Pro

    Join Date
    May 2010
    Posts
    536
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    How can I capture data from a non-MMF2 app?

    Hey, folks!

    Is there a way I can send data to and capture data from a non-MMF2 application?

    Specifically, I'd like to be able to send a text string TO a non-MMF2 application, then capture that application's results (from a list box).

    Any ideas on how to do such a thing?

    Thanks!



    Most graciously...

    RGBreality

  2. #2
    Forum Moderator

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export ModuleInstall Creator Pro
    nivram's Avatar
    Join Date
    Jul 2006
    Location
    Bandon, Oregon
    Posts
    6,773
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)

    Re: How can I capture data from a non-MMF2 app?

    RGBreality, I don't think that is possible. Of course if I'm wrong I'm sure my kind fellow forum members will rip my lips from my face.

    Marv
    ​458 TGF to CTF 2.5+ Examples and games
    http://www.castles-of-britain.com/mmf2examples.htm

  3. #3
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleSWF Export ModuleUnicode Add-on
    Looki's Avatar
    Join Date
    Aug 2006
    Location
    Karlsruhe, Germany
    Posts
    3,741
    Mentioned
    5 Post(s)
    Tagged
    1 Thread(s)

    Re: How can I capture data from a non-MMF2 app?

    Ehm, that really depends on what you're trying to do exactly. Sending a text string is not enough

  4. #4
    Clicker Multimedia Fusion 2

    Join Date
    Jan 2007
    Posts
    167
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How can I capture data from a non-MMF2 app?

    Are you also the developer of the non-MMF application or is it written by someone else?

  5. #5
    Clicker Multimedia Fusion 2 DeveloperInstall Creator Pro

    Join Date
    May 2010
    Posts
    536
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How can I capture data from a non-MMF2 app?

    No, I'm afraid I'm not the developer of the non-MMF2 application. I suspect that everyone who has commented is correct: I don't think it's possible to capture data from a non-MMF2 application short of using Windows Clipboard in some fashion.



    RGBreality

  6. #6
    Clicker Multimedia Fusion 2

    Join Date
    Jan 2007
    Posts
    167
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How can I capture data from a non-MMF2 app?

    It's not impossible, there are methods to communicate with other apps, but if you're not the developer of the other app then it probably no use. Two methods I could think of are window messages (with winmesspro, but i've never really worked with that) or sockets (with moosock).

  7. #7
    Forum Moderator

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export ModuleInstall Creator Pro
    nivram's Avatar
    Join Date
    Jul 2006
    Location
    Bandon, Oregon
    Posts
    6,773
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)

    Re: How can I capture data from a non-MMF2 app?

    I don't think it is good idea trying to grab data from a program you did not make. Just a thought.

    Marv
    ​458 TGF to CTF 2.5+ Examples and games
    http://www.castles-of-britain.com/mmf2examples.htm

  8. #8
    Clicker Fusion 2.5 MacFusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleiOS Export ModuleSWF Export ModuleInstall Creator Pro
    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)
    UrbanMonk's Avatar
    Join Date
    May 2008
    Location
    Southern U.S.A.
    Posts
    847
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: How can I capture data from a non-MMF2 app?

    You can read memory from another program I believe. (Memory Object?)

    Use something like cheat engine to find the memory address (so long as it's in the same place)

    Then grab the data there.


    Of course you can put data into other programs multiple ways. Either by using a macro of sorts, like making your program simulate holding down ctrl+v to paste into text fields. (I've done this in fact)

    Or if the other program can have data entered using a commandline (check the programs documentation) then you could send the data using something like:

    Execute External Program "blah.exe" /d "data data"

    It all depends on the program though.

    If you can make the program output to a file then you could read the contents of the file.



    These are all methods of reading data from a program if the right circumstances are met.

    Good Luck!

  9. #9
    Clicker Fusion 2.5 Mac
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)iOS Export Module (Steam)

    Join Date
    Sep 2008
    Location
    Western Australia
    Posts
    256
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How can I capture data from a non-MMF2 app?

    You could use something like AutoIT to get the data into and out of the other app. This could be controlled from an MMF2 application which could execute the external AutoIT application.

    AutoIT is very powerful, and worth a look if you want to interact with third party applications. It can produce executable applications and is free!

  10. #10
    Clicker Multimedia Fusion 2 Developer
    Jax's Avatar
    Join Date
    Jul 2006
    Location
    UK
    Posts
    702
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: How can I capture data from a non-MMF2 app?

    The Window Message way is probably the way to do it, but don't expect it to work when the program has been updated.

Similar Threads

  1. Screen Capture Object - load capture from clipboar
    By Maarten in forum Multimedia Fusion 2 - Technical Support
    Replies: 15
    Last Post: 3rd December 2010, 09:09 PM
  2. Web page accessing data from MMf2 app?
    By Gibbon in forum Multimedia Fusion 2 - Technical Support
    Replies: 9
    Last Post: 22nd January 2010, 10:48 AM
  3. MMF2 - Time and Data Functions
    By droberson in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 30th July 2008, 01:44 PM
  4. Loading data to DialogBox (MMF2 Pro)
    By LaraSoft in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 15th February 2007, 10:18 AM
  5. MMF2 without registry data.
    By RaiFox in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 5th December 2006, 06:11 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
  •