<commit_before>using System;
using System.Drawing;
using System.Runtime.InteropServices;
using System.Text.RegularExpressions;
using System.Windows.Forms;

namespace IronAHK.Rusty
{
    partial class Core
    {
        // TODO: organise Mouse.cs

        /// <summary>
        /// Clicks a mouse button at the specified coordinates. It can also hold down a mouse button, turn the mouse wheel, or move the mouse.
        /// </summary>
        /// <param name="Options"></param>
        public static void Click(object[] Options)
        {
            // only supporting Windows for now
            if (Environment.OSVersion.Platform != PlatformID.Win32NT)
                return;

            string ParamLine = "";
            var aInput = new Windows.INPUT[2];
            var MousePos = new Point(0, 0);
            int ClickCount = 1;

            var RE_Coord = new Regex(@"(\d*?)\s*,\s*(\d*)[\s,\,]*", RegexOptions.IgnoreCase);
            var RE_Num = new Regex(@"\d+", RegexOptions.IgnoreCase);
            CaptureCollection Out;
            Match Match;

            //rebuild Argument string, as we have to parse this in a special way 
            foreach (var option in Options)
            {
                if (option is string)
                    ParamLine += (string)option + ",";
                else if (option is double)<commit_msg>Enable mouse move only on non-Windows operating systems (sorry IsNull!)<commit_after>using System;
using System.Drawing;
using System.Runtime.InteropServices;
using System.Text.RegularExpressions;
using System.Windows.Forms;

namespace IronAHK.Rusty
{
    partial class Core
    {
        // TODO: organise Mouse.cs

        /// <summary>
        /// Clicks a mouse button at the specified coordinates. It can also hold down a mouse button, turn the mouse wheel, or move the mouse.
        /// </summary>
        /// <param name="Options"></param>
        public static void Click(object[] Options)
        {
            string ParamLine = "";
            var aInput = new Windows.INPUT[2];
            var MousePos = new Point(0, 0);
            int ClickCount = 1;

            var RE_Coord = new Regex(@"(\d*?)\s*,\s*(\d*)[\s,\,]*", RegexOptions.IgnoreCase);
            var RE_Num = new Regex(@"\d+", RegexOptions.IgnoreCase);
            CaptureCollection Out;
            Match Match;

            //rebuild Argument string, as we have to parse this in a special way 
            foreach (var option in Options)
            {
                if (option is string)
                    ParamLine += (string)option + ",";
                else if (option is double)
{'fraction_non_alphanumeric': 0.10771581359816654, 'fraction_numerical': 0.0038197097020626434, 'mean_word_length': 1.8971238938053097, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6111959', 'n_tokens_mistral': 701, 'n_tokens_neox': 674, 'n_words': 233}