User Tag List

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

Thread: question for the devs: what clipboard format does Fusion use?

  1. #1
    Clicker 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)
    Volnaiskra's Avatar
    Join Date
    Jan 2014
    Location
    www.sprykegame.com
    Posts
    2,450
    Mentioned
    121 Post(s)
    Tagged
    0 Thread(s)

    question for the devs: what clipboard format does Fusion use?

    This is a question that I presume only the programmers of Fusion can answer - though of course if anyone else knows, please pipe in.

    What clipboard format does Fusion use when you copy/paste an action or a condition (note: I'm not talking about the new feature that converts an entire event into text form when you hit ctrl-C on an entire event)?

    I've recently started using a clipboard manager program called Ditto which remembers multiple snippets that you've copied and pasted and lets you re-copy/paste them at will. You can pin frequently-pasted items to the top of the list, you can give certain snippets their own hotkeys, and other very useful stuff like that (how I wish I had discovered this 10 years ago!).

    It supports multiple clipboard formats, such as images for example. It would be super useful to be able to store Fusion actions or conditions too (eg. imagine being able to add only once when event loops or for each object ("group.Enemies") with a single hotkey or two mouse clicks). Below is a list of all the clipboard types that it comes with. I've tried installing all of these, but Ditto still doesn't recognise Fusion actions/conditions when I copy them. There's also a "CustomClipboard Type" option, where you can enter something in a text field, but I'm not sure what format it expects. It also allows you to enter a script that is to be run every time you copy/paste something.

    I know this is probably a long shot, but is there any way to get Ditto to understand the clipboard format Fusion uses for actions/conditions?

    Any help is appreciated. Thanks.


  2. #2
    Clickteam Clickteam

    Join Date
    Jun 2006
    Location
    France
    Posts
    13,697
    Mentioned
    247 Post(s)
    Tagged
    3 Thread(s)
    There's also a "CustomClipboard Type" option, where you can enter something in a text field, but I'm not sure what format it expects.
    Try the following custom types:

    CF_CNCV25_EVENTS (for events)
    CF_CNCV25_CONDITIONS (for conditions)
    CF_CNCV25_ACTIONS (for actions)

  3. #3
    Clicker 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)
    Volnaiskra's Avatar
    Join Date
    Jan 2014
    Location
    www.sprykegame.com
    Posts
    2,450
    Mentioned
    121 Post(s)
    Tagged
    0 Thread(s)
    Fantastic! It works! Ditto only records generic names for the actions and conditions, so the snippets all look the same on the Ditto clipboard, but that doesn't really matter as you can easily rename them.

  4. #4
    Clicker

    Fusion 2.5 MacFusion 2.5 DeveloperFusion 2.5+ DLCiOS Export ModuleSWF Export ModuleFirefly 3D Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    fnkycoldmadeanr's Avatar
    Join Date
    Jul 2017
    Location
    Melbourne, Australia
    Posts
    187
    Mentioned
    14 Post(s)
    Tagged
    0 Thread(s)
    This is interesting!

  5. #5
    Clicker 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)
    Volnaiskra's Avatar
    Join Date
    Jan 2014
    Location
    www.sprykegame.com
    Posts
    2,450
    Mentioned
    121 Post(s)
    Tagged
    0 Thread(s)
    This is awesome. My preferred way of working in Fusion has always been to grab object icons from the event list editor and drag them onto new actions/conditions (or copy/paste duplicates of existing actions/conditions) and make new events that way, rather than having to start every event from scratch, locating each object one by one in the popup dialog. But of course the objects you want to use aren't always nearby, and Fusion won't let you drag them onto the Event List Editor from the Workspace toolbar. But now, thanks to Ditto and the 'secret codes' from Yves above, I can create this event anywhere I like with a hotkey, and all my most frequently-used objects are there ready to be dragged:





    Also, I've always wished that I was more organised with color-coding comments, to minimise the time I spend each day getting lost in my 6000+ events. But changing comment colors has always been too time-consuming for me to do it with any kind of consistency and discipline. But now I can have a readymade bank of differently styled comments ready to paste whenever I want. Thanks @Yves , you've made my day




  6. #6
    Clicker

    Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    Fusion 2.5 (Steam)
    ASD's Avatar
    Join Date
    Feb 2007
    Location
    Japan
    Posts
    1,818
    Mentioned
    11 Post(s)
    Tagged
    0 Thread(s)
    Can modify the content of the copied events (i.e. Object name, Number of flag or values) on Ditto?
    I confirmed added copied event into Ditto. However, cannot see the content of the event on Ditto editor...

  7. #7
    Clicker 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)
    Volnaiskra's Avatar
    Join Date
    Jan 2014
    Location
    www.sprykegame.com
    Posts
    2,450
    Mentioned
    121 Post(s)
    Tagged
    0 Thread(s)
    No, I don't think you can modify events. You can modify their descriptions though to make them easy to search for within Ditto

  8. #8
    Clicker Fusion 2.5 MacFusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleInstall Creator Pro
    Christian_Wheel's Avatar
    Join Date
    Mar 2010
    Location
    Los Angeles
    Posts
    359
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Your events list makes my head hurt.

    That's a compliment, btw! xD

    Complicated Fusion code is always impressive.

  9. #9
    Clicker 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)
    Volnaiskra's Avatar
    Join Date
    Jan 2014
    Location
    www.sprykegame.com
    Posts
    2,450
    Mentioned
    121 Post(s)
    Tagged
    0 Thread(s)
    Oh, that's not a real event. That's just a 'fake' event that contains all my most-used objects. So I can just paste that fake event whenever, and quickly 'grab' objects from it by dragging them from it.

    If you want to see a really obnoxious event, this one is my particular favourite. I probably couldn't tell you exactly what it does even if my life depended on it :


  10. #10
    Clicker 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)
    Volnaiskra's Avatar
    Join Date
    Jan 2014
    Location
    www.sprykegame.com
    Posts
    2,450
    Mentioned
    121 Post(s)
    Tagged
    0 Thread(s)
    By the way, I now use Ditto in conjunction with a Stream Deck, which is a (physical) configurable macro button device. It's amazing. I now can insert all sorts of conditions/actions/events/text snippets just by pressing a button:



    Some of the buttons (eg. "Str$()") just type a piece of text. But others (eg. "For each loop") are mapped to a hotkey that pastes a Fusion event from Ditto's saved clipboard. Stream decks aren't cheap, but this is one of the best productivity improvements I've ever made.

Page 1 of 2 1 2 LastLast

Similar Threads

  1. Question for the devs
    By PaulFoster in forum Fusion 2.5
    Replies: 2
    Last Post: 29th September 2016, 03:50 PM
  2. Question about custom data file format, again))
    By manfred in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 11th September 2009, 04:07 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
  •