User Tag List

Results 1 to 8 of 8

Thread: A way to reset/remove pattern from Substring Replace Auto Replace

  1. #1
    Clicker Fusion 2.5 MacFusion 2.5 DeveloperFusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleMac Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleInstall Creator Pro
    iOSC's Avatar
    Join Date
    Mar 2012
    Location
    Toronto, Canada
    Posts
    405
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    A way to reset/remove pattern from Substring Replace Auto Replace

    I already posted this in the MMF forum, but I guess it'll be better to post it here.
    (You can remove the other one if it's a problem)

    So all is in the title -
    Is there a way to reset/remove pattern from the Substring Replace's Auto-Replace, similar with StringParser Reset delimiters....?

  2. #2
    Clicker Multimedia Fusion 2 Developer
    Jax's Avatar
    Join Date
    Jul 2006
    Location
    UK
    Posts
    702
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    It looks like I forgot about that feature, sorry.

    (Also I seem to have totally forgotten what I meant by a 'macro'! Edit: Oh I see they are strings which are replaced, but the things they are replaced with are again potentially replaced. Totally forgot about that.)

  3. #3
    Clicker Fusion 2.5 MacFusion 2.5 DeveloperFusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleMac Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleInstall Creator Pro
    iOSC's Avatar
    Join Date
    Mar 2012
    Location
    Toronto, Canada
    Posts
    405
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks for your post Jax (and for your object of course!)
    I don't know if you still support this extension, but if so, do you think it'd be possible to add this function (for now, I have to destroy and create again the substring replace object in order to reset patterns, but this is not a solution at all, and I guess it'll occur crashes in my project in some ways...)

    Let me know.
    Thx

  4. #4
    Clicker Multimedia Fusion 2 Developer
    Jax's Avatar
    Join Date
    Jul 2006
    Location
    UK
    Posts
    702
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    It should be easy to add, but the problem is I don't have the correct C++ compilers on my current computer. It'd probably be worth doing, I'll look into it, but it might take a little while to do.

    Alternatively the object has two modes of operation: you can either tell us all the patterns to replace and it'll do that, or there is an expression that just does a simple replace-one-substring-with-another, without any appeal to that internal list.

  5. #5
    Clicker Fusion 2.5 MacFusion 2.5 DeveloperFusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleMac Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleInstall Creator Pro
    iOSC's Avatar
    Join Date
    Mar 2012
    Location
    Toronto, Canada
    Posts
    405
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    yes I know, but for what I need, the auto-replace functionality is just a REAL gain of time.
    i'll wait for it so... hopefully it won't take too long since it'll help me to go forward in my project.

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

    I added that feature (this was my earliest opportunity): https://docs.google.com/viewer?a=v&p...ThjNzg0NjE3YTM

    Could you tell me if it works for you?

    Note the extension is not in general Unicode, and in Unicode MMF (inc. MMF2.5) the global string and array features don't work. Global values do though. I won't fix this.

  7. #7
    Clicker Fusion 2.5 MacFusion 2.5 DeveloperFusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleMac Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleInstall Creator Pro
    iOSC's Avatar
    Join Date
    Mar 2012
    Location
    Toronto, Canada
    Posts
    405
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi Jax - I'm a little busy these days, but I'll take a look.
    Do you mean it's not testable on F2.5 ??? Because I didn't have MMF2 installed anymore - Let me know.
    Thanks for you work btw !

  8. #8
    Clicker Multimedia Fusion 2 Developer
    Jax's Avatar
    Join Date
    Jul 2006
    Location
    UK
    Posts
    702
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    It works and is testable on F2.5 except for the global strings and array functions. General replacements and replacements with a global value still work fine (or at least should do). See the blog post I wrote it (link in sig)

Similar Threads

  1. Substring replace Object...
    By Earl in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 6th February 2019, 02:12 PM
  2. A way to reset/remove pattern from Substring Replace Auto Replace
    By iOSC in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 10th January 2014, 05:08 PM
  3. 'Substring Replace' Updated
    By Jax in forum Extension Development
    Replies: 12
    Last Post: 18th December 2009, 09:03 PM
  4. Substring Replace
    By LIJI in forum Released Extensions
    Replies: 0
    Last Post: 5th February 2007, 11:18 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
  •