User Tag List

Results 1 to 6 of 6

Thread: Command Lines (oh the joy)

  1. #1
    Clicker Multimedia Fusion 2 Developer

    Join Date
    Jul 2006
    Posts
    227
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Command Lines (oh the joy)

    Hey guys, i have associated a file with my program, and i have set up the %1 at the end, but when my program is open, whats the best/most efficient way of getting the file name out of the command line?

    Thanks
    Si x

  2. #2
    Clicker Multimedia Fusion 2 Developer

    Join Date
    Jun 2006
    Location
    Darlington, UK
    Posts
    3,298
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Command Lines (oh the joy)

    Go to "Retrieve data" in any expression and in the "special object" there should be an action for it. I don't remember exactly what it's called offhand.

  3. #3
    Clicker Multimedia Fusion 2 Developer

    Join Date
    Jul 2006
    Posts
    227
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Command Lines (oh the joy)

    the special object? anyone know how to do it with a bit more description?

  4. #4
    No Products Registered

    Join Date
    Jun 2006
    Posts
    259
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Command Lines (oh the joy)

    Command lines are explained pretty well in the help documents included with MMF2, thats where I learned how to use them.

  5. #5
    Clicker Multimedia Fusion 2
    SEELE's Avatar
    Join Date
    Jul 2007
    Location
    Terra australis incognito
    Posts
    1,916
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Command Lines (oh the joy)

    hey, i helped someone with this a little while back.. I'll try and find the example,(gimmy 5 minutes)

  6. #6
    Clicker Multimedia Fusion 2
    SEELE's Avatar
    Join Date
    Jul 2007
    Location
    Terra australis incognito
    Posts
    1,916
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Command Lines (oh the joy)

    found it:

    http://www.clickteam.com/epicenter/ubbthreads.php?ubb=showflat&Main=11528&Number=8073 9#Post80739


    <This was the important part>...

    Mid$(CommandLine$, ReverseFind(CommandLine$, ":", Len(CommandLine$))-1, Len(Mid$(CommandLine$, ReverseFind(CommandLine$, ":", Len(CommandLine$))-1, 999))-2)


    Hope that helps :grin:

Similar Threads

  1. Lines like in Missle Command....
    By Duncki in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 25th September 2014, 08:27 AM
  2. Association Example (Command Lines)
    By workshop2 in forum File Archive
    Replies: 0
    Last Post: 13th April 2008, 07:00 PM
  3. Custom Command Lines
    By LB in forum Multimedia Fusion 2 - Technical Support
    Replies: 8
    Last Post: 27th January 2008, 01:26 AM
  4. running command lines thru mmf.(check it out)
    By SEELE in forum File Archive
    Replies: 3
    Last Post: 3rd November 2007, 02:13 AM
  5. Files with command lines - Install Creator Pro
    By Tzser in forum Install Creator and Patch Maker
    Replies: 5
    Last Post: 7th July 2006, 01:54 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
  •