 ﻿; ==================================================================================================
 ; AutoHotkey Version ..: 1.1.*
-; Version .............: 1.09 (AHK)
-; Release Date ........: 2017-04-08
+; Version .............: 1.10-beta (AHK)
+; Release Date ........: 2017-05-02
 ; GitHub ..............: https://github.com/chao-samu/demo-file-renamer
 ; Author ..............: chao-samu
 ;------------------------------------------------------------------------------------


; Programm Info ####################################################################################
PrgName := "demo file renamer"
PrgVersion := "1.09 (AHK)"

; OS Detections ####################################################################################
If A_PtrSize = 4

                {
                    needle := RegExReplace(needle, ".+[\/\\]", "")
                }
                arraypos := HasVal(Mapnames, needle)
                If !arraypos
                {

                    Mapnames.Push(needle)
                }
            }
        }

        If Mapnames.MaxIndex()
        {
            Mapname := ""
            while A_Index <= Mapnames.MaxIndex()
            {
                If Mapname
                {
                    Mapname := Mapname . "+"
                }
                Mapname := Mapname . Mapnames[A_Index]
            }
            SplitPath, A_LoopFileName,,,, FileNameNoExt
            new_file_name := RenamingOption(RenamingMaskNumber, Mapname, FileNameNoExt)
            filelist := filelist . new_file_name
        }
        else
        {
