Skip to content

LinkyMH/ConvertX

Repository files navigation

ConvertX

* For installation, check Releases

Simple to use extension for converting one type to another. Mainly influenced by Windows Calculator conversion tools

You can do something like:
SmartConvert$( "ConvertX", "Chris", TAG_String( "ConvertX" ), TAG_CodePoints( "ConvertX" ) )
and it will work immediately (returning 67 104 114 105 115 in this example). There's no need to convert step-by-step from one type to another until you reach your desired output. The conversion engine handles everything automatically. Just provide the value to convert, the source type, and the target type, and it does the rest! This also makes creating GUI converters, similar to many online tools or Windows Calculator, straightforward and hassle-free!

If you prefer, manual conversion is still possible. Functions like HrsToSecs and StrToCodePnts$ are available.


Features

  • Smart Convert: Easily convert between types using an intuitive, picker-style interface.
  • Conversion Validity Check: Verify if a conversion is possible before performing it.
  • Time Conversion: Convert between units such as Years, Months, Weeks, Days, Hours, and more.
  • Text Conversion: Convert between Strings, Code Points, Hex, Octal, and Binary formats.
  • Manual Conversion: Manual conversions remain supported with expressions like HrsToSecs and StrToCodePnts$.
  • Solid Foundation: Though basic in the current version, this extension sets a strong groundwork for various conversions. Future updates will include features like Color conversions and a Map function.
  • Unicode Support: Fully compatible with Unicode input. For instance, StrToCodePnts$("ConvertX", "ب") returns 1576 instead of 63 (which represents the ? character, indicating failure to interpret the text) unlike many other text conversion extensions.
  • Detailed Example: A comprehensive example is included with the extension and is highly recommended to review before use.

Notes

  • No documentation as of current version. Please check the "ConvertX_Sandbox.mfa" example to get an idea of how to use the extension!
  • Comes with an MIT license. Free for commercial use!
  • Windows only as of current version. Other runtimes can be implemented on demand.
  • More features like Color conversion and a Map function are planned to be added in future versions.
  • Made on the original, official SDK. By Linky.

Development

  • Based on the Original, Official Fusion 2.5 SDK
  • C/C++

Contributions are welcome. If you're unsure where to start, open an Issue to discuss changes. If you are sure of a fix or feature, submit a pull request with the changes. But it would be much appreciated if you contact me on Discord first.


Support

When reporting a problem, please include:

  • Runtime (Windows, Android, iOS, etc.)
  • Goal or what's expected, and what happens instead
  • A minimal reproduction (Events screenshot or MFA)

Media Showcase

In Action:

ConvertXDemo.mp4

Screenshots:

About

Simple to use Clickteam Fusion 2.5 extension for converting one type to another. Mainly influenced by Windows Calculator conversion tools

Resources

License

Stars

1 star

Watchers

1 watching

Forks

Packages

 
 
 

Contributors