User Tag List

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

Thread: Create shortcut?

  1. #11
    Clicker SWF Export Module

    Join Date
    Oct 2008
    Posts
    71
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Create shortcut?

    DJFuego, do you maby have an example that is not command line driven?

  2. #12
    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: Create shortcut?

    I'll explain how to create a shortcut.
    Create your On button press event
    then under the object goto Misc, Create shortcut
    Absolution Full Path= Appdrive$+Appdir$+Appname$+".exe"
    Command Line arguments=""
    Filename of the Actual shortcut="C:\Documents and Settings\Username\Start Menu\Programs\Startup\Name goes here.lnk"
    Description="Name of application"
    Open style=0
    Working Directory=Appdrive$+Appdir$
    File name of the Icon to be used=Appdrive$+Appdir$+Appname$+".exe"
    Index of the Icon=0

    This will create a shortcut in the startup area so your program will auto run on startup. You can substitute username for All users.




  3. #13
    Clicker SWF Export Module

    Join Date
    Oct 2008
    Posts
    71
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Create shortcut?

    Thanks, everything works great. I have only one more question. I want the shortcut to apere on the desktop. Now I asume that diferent users will have diferent paths to their desktops, so how do I make that this shortcut will apere an every computers desktop?

  4. #14
    Forum Moderator Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export Module
    Stephen's Avatar
    Join Date
    Aug 2008
    Location
    Montana
    Posts
    4,515
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: Create shortcut?

    Change the "Filename of the Actual Shortcut" line to the users desktop. You can use the YASO Object to retrieve the users desktop location, as it will differ on different computers.

    I uploaded a very simple example to my website on letting users create their own shortcuts. Check my sig if you need it.

    stephen1980
    _____________________________________________
    Nivram's Examples -Need extensions? Send me a PM.-


  5. #15
    Clicker SWF Export Module

    Join Date
    Oct 2008
    Posts
    71
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Create shortcut?

    :grin: Now everything works as i wanted. I have only one more question, that is rather esthetical. How come that the .lnk icon on the desktop doesen't have the image of the original .exe icon? Can that be done, so that both icons would have the same image?

  6. #16
    Forum Moderator Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export Module
    Stephen's Avatar
    Join Date
    Aug 2008
    Location
    Montana
    Posts
    4,515
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: Create shortcut?

    Change the filename of the "Actual Icon to be Used" in the properties when you create the shortcut, to the directory of the icon/program.

    stephen1980
    _____________________________________________
    Nivram's Examples -Need extensions? Send me a PM.-


  7. #17
    Clicker SWF Export Module

    Join Date
    Oct 2008
    Posts
    71
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Create shortcut?

    Thanks for all the advice!


  8. #18
    Forum Moderator Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export Module
    Stephen's Avatar
    Join Date
    Aug 2008
    Location
    Montana
    Posts
    4,515
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: Create shortcut?

    No problem.

    stephen1980
    _____________________________________________
    Nivram's Examples -Need extensions? Send me a PM.-


Page 2 of 2 FirstFirst 1 2

Similar Threads

  1. Create Shortcut Folder
    By luisantafe in forum Install Creator and Patch Maker
    Replies: 8
    Last Post: 5th November 2013, 02:25 PM
  2. Extension to Create a Shortcut (*.LNK)?
    By Dines in forum Extension Development
    Replies: 4
    Last Post: 11th December 2012, 11:52 AM
  3. Create Shortcut Object
    By droberson in forum Extension Development
    Replies: 6
    Last Post: 31st December 2008, 11:08 PM
  4. how can I create a shortcut with the File-Folder ?
    By fernandolt in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 4th November 2008, 12:07 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
  •