User Tag List

Page 1 of 2 1 2 LastLast
Results 1 to 10 of 12

Thread: Random filename?

  1. #1
    No Products Registered

    Join Date
    Aug 2007
    Posts
    53
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Random filename?

    im using the capture screen object and i cant fugure out how to make it save it as a random filename. Oh yeah, does anyone know how to make your application automatically put itself in the startup folder?

  2. #2
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module

    Join Date
    Jun 2006
    Posts
    6,773
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: Random filename?

    What kind of random filename? Something like 84253.bmp would be achieved with:

    Str$(random(10))+Str$(random(10))+Str$(random(10)) +Str$(random(10))+Str$(random(10))+".bmp"

  3. #3
    No Products Registered

    Join Date
    Aug 2007
    Posts
    53
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Random filename?

    ill try it. When i put "random(1000)" the file was called random(1000).

  4. #4
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module

    Join Date
    Jun 2006
    Posts
    6,773
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: Random filename?

    You need to click "Use an expression".

  5. #5
    No Products Registered

    Join Date
    Aug 2007
    Posts
    53
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Random filename?

    thats what i did.

  6. #6
    No Products Registered

    Join Date
    Aug 2007
    Posts
    53
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Random filename?

    Anyways it worked so... "thanks loads". on to question 2.

  7. #7
    Clicker Multimedia Fusion 2 DeveloperAndroid Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)HTML5 Export Module (Steam)SWF Export Module (Steam)Firefly 3D Module (Steam)
    Spryz's Avatar
    Join Date
    Jul 2006
    Location
    United Kingdom
    Posts
    251
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Random filename?

    Create a shortcut for your application in the following folder.

    C:\Documents and Settings\USERNAME\Start Menu\Programs\Startup

    C could also b D or E so make sure you have the correct drive, but about 99% of the time it is C.

  8. #8
    No Products Registered

    Join Date
    Dec 2006
    Posts
    1,332
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Random filename?

    Quote Originally Posted by aaaa
    ill try it. When i put "random(1000)" the file was called random(1000).
    There is an expression Str$() which turns numbers into plain text. Instead of putting quotes around the "random(1000)", which actually turns it straight into text, use Str$(random(1000)) which will give you a string between 0 and 999.

  9. #9
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export ModuleInstall Creator ProPatch Maker
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    DJFuego's Avatar
    Join Date
    Jul 2006
    Location
    UK
    Posts
    1,416
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)

    Re: Random filename?

    "%userprofile%" should be used. that way you will save to the correct location.
    can't you use the datestamp object?

  10. #10
    Clicker Multimedia Fusion 2 DeveloperiOS Export Module
    Nifflas's Avatar
    Join Date
    Jul 2006
    Posts
    2,613
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Random filename?

    Quote Originally Posted by Spryz
    Create a shortcut for your application in the following folder.

    C:\Documents and Settings\USERNAME\Start Menu\Programs\Startup

    C could also b D or E so make sure you have the correct drive, but about 99% of the time it is C.
    Err, no, that's just a terrible way to do it. Most people uses localized versions of Windows (not everybody speaks English primarily) causing all the folder names to be different.

Page 1 of 2 1 2 LastLast

Similar Threads

  1. increment filename if exists
    By septeven in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 18th February 2012, 07:31 PM
  2. Counter Value/Global Value into a Filename?
    By antipode in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 8th February 2012, 09:47 PM
  3. Show dialog filename in string object ??
    By anma004 in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 26th February 2010, 04:53 PM
  4. Converting a long filename to a short filename
    By Brandon in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 27th April 2007, 11:31 AM
  5. Getting associated filename.
    By RaiFox in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 1st December 2006, 07:41 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
  •