User Tag List

Results 1 to 5 of 5

Thread: Two problems (Environment variables & Regex)

  1. #1
    Clickteam Clickteam
    Anders's Avatar
    Join Date
    Jun 2006
    Location
    Denmark, ┼rhus
    Posts
    3,455
    Mentioned
    4 Post(s)
    Tagged
    1 Thread(s)

    Two problems (Environment variables & Regex)

    Hi there.

    I noticed none of MMF2's objects accept filenames that contains environment variables. Why aren't they translated into their respective string value?
    For example, the picture objects can't open bitmaps with the path:
    Code:
    %APPDATA%\Mozilla\Firefox\Desktop Background.bmp
    when it should be translated into
    Code:
    C:\Documents and Settings\Username\Application Data\Mozilla\Firefox\Desktop Background.bmp
    Problem 2:
    To get around that problem I just wanted to throw a simple little Regular Expression together to extract everything in the path formatted as an environment variable so I could do a simple replace. But since the MMF2 conversion of the RegEx object, it completely hangs the computer when doing a Grep with callback.

    Are both problems known and can they be fixed?

    (oh btw, why are there no icons for pro objects here on the forum?)

  2. #2
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export ModuleUnicode Add-on
    LIJI's Avatar
    Join Date
    Jun 2006
    Location
    Israel
    Posts
    1,175
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Two problems (Environment variables & Regex)

    I'm pretty sure I added those! Yet the OS one ([obj_OS]) is still there.
    Maybe I did something wrong...

  3. #3
    Clickteam Clickteam
    Anders's Avatar
    Join Date
    Jun 2006
    Location
    Denmark, ┼rhus
    Posts
    3,455
    Mentioned
    4 Post(s)
    Tagged
    1 Thread(s)

    Re: Two problems (Environment variables & Regex)

    I'm unable to find the RegEx icon though. Maybe I'm just blind.. [grin]

  4. #4
    Clickteam Clickteam

    Join Date
    Jun 2006
    Location
    France
    Posts
    13,076
    Mentioned
    119 Post(s)
    Tagged
    2 Thread(s)

    Re: Two problems (Environment variables & Regex)

    Andos, I don't know why the environment variables are not automatically expanded, I'll check when I can find 5 minutes. About the regex object, could you send me an example that works with MMF 1.5 and don't work with MMF 2?

    Yves.

  5. #5
    Clickteam Clickteam
    Anders's Avatar
    Join Date
    Jun 2006
    Location
    Denmark, ┼rhus
    Posts
    3,455
    Mentioned
    4 Post(s)
    Tagged
    1 Thread(s)

    Re: Two problems (Environment variables & Regex)

    Yves I found out that the infinite loop/crash was in MMF1.5 too, but it is bounded to the Grep action that takes string, regex and id (not using the internal data).

    Example here:
    http://andos.stiaxies.net/stuff/RegexTest.cca

Similar Threads

  1. PATH environment variable
    By iOSC in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 19th November 2013, 08:15 PM
  2. Dark Environment
    By NK0 in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 14th April 2012, 01:30 PM
  3. more regex example
    By felinex in forum Multimedia Fusion 2 - Technical Support
    Replies: 8
    Last Post: 11th April 2008, 08:23 AM
  4. regex test program
    By felinex in forum File Archive
    Replies: 1
    Last Post: 10th April 2008, 11:55 PM
  5. Regex Object status?
    By LIJI in forum Vitalize
    Replies: 10
    Last Post: 15th February 2008, 06:13 PM

Posting Permissions

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