User Tag List

Page 2 of 2 FirstFirst 1 2
Results 11 to 17 of 17

Thread: Opening a file with double click

  1. #11
    Forum Moderator Fusion 2.5 DeveloperHTML5 Export ModuleiOS Export ModuleSWF Export Module
    DavidN's Avatar
    Join Date
    Jun 2006
    Location
    Boston, MA, USA
    Posts
    4,044
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Opening a file with double click

    That's "Right$()" - have a look for it in the Help, as I think it can explain it less confusingly than I can.

  2. #12
    Clicker Multimedia Fusion 2 DeveloperiOS Export Module

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

    Re: Opening a file with double click

    Extract right sub-string extracts a sub-string from the given string, starting on the right. Example, RIGHT$("Hello", 3) will return "llo".
    Help --> Contents --> The Objects --> Inventory --> Special Objects --> The Special Object --> Expressions.

    I wish there was a way of bookmarking this page, as it is such essential reading.

  3. #13
    No Products Registered

    Join Date
    Jul 2006
    Location
    www.dingdongstudios.co.nr
    Posts
    505
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Opening a file with double click

    Oh right! Sorry I read it wrong... Ok, I understand what your doing, but surely the directory or command would vary in length. So how do you work it out? Would someone be able to put an example together please? Thanks if anyone can

  4. #14
    No Products Registered

    Join Date
    Jul 2006
    Location
    Texas
    Posts
    1,225
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Opening a file with double click

    Why does the directory have to have quotes around it?

  5. #15
    Forum Moderator Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export ModuleInstall Creator Pro
    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)

    Join Date
    Jun 2006
    Location
    England
    Posts
    3,546
    Mentioned
    4 Post(s)
    Tagged
    1 Thread(s)

    Re: Opening a file with double click

    Quote Originally Posted by LazyCoder
    Why does the directory have to have quotes around it?
    Possibly to distinguish between the location and the commandline parameters and to allow spaces in the commandline.
    .:::.Joshtek.:::.

  6. #16
    Clicker Multimedia Fusion 2 DeveloperiOS Export Module

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

    Re: Opening a file with double click

    Ok, I understand what your doing, but surely the directory or command would vary in length. So how do you work it out?
    The Right$ function extracts stuff from the righthand end of the string - ie the END [smile] It does the hard work of calculating how long the string is, before giving you however many characters you've asked for.

  7. #17
    Forum Moderator Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export ModuleInstall Creator Pro
    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)

    Join Date
    Jun 2006
    Location
    England
    Posts
    3,546
    Mentioned
    4 Post(s)
    Tagged
    1 Thread(s)

    Re: Opening a file with double click

    Quote Originally Posted by dingdong
    but surely the directory or command would vary in length. So how do you work it out?
    You can also use len() to figure out the length of a string.

    Example: Right$(string$( "String" ), Len(string$( "String" ))-1)

    That would get all except the first character, so "ABCDEFG" would end up being "BCDEFG".
    .:::.Joshtek.:::.

Page 2 of 2 FirstFirst 1 2

Similar Threads

  1. Mouse double click...
    By Earl in forum iOS Export Module Version 2.0
    Replies: 2
    Last Post: 16th July 2012, 05:40 AM
  2. Mouse double click
    By TheOriginator in forum iOS Export Module Version 2.0
    Replies: 0
    Last Post: 1st September 2011, 06:30 AM
  3. How can I double-click on a file and open it?
    By RGBreality in forum Multimedia Fusion 2 - Technical Support
    Replies: 29
    Last Post: 8th July 2011, 09:09 AM
  4. Active system box : double click
    By Sphax in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 23rd November 2006, 08:42 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
  •