Giter Site home page Giter Site logo

jnllnd / objcsv Goto Github PK

View Code? Open in Web Editor NEW
30.0 30.0 12.0 165 KB

AutoHotkey_L (AHK) functions to load from CSV files, sort, display and save as CSV collections of records using the Object data type. Files can be read and saved in any delimited format (CSV, semi-colon, tab delimited, single-line or multi-line, etc.). Collections can also be displayed, edited and read in GUI ListView objects.

CSS 1.90% AutoHotkey 64.29% HTML 33.81%

objcsv's People

Contributors

jnllnd avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

objcsv's Issues

False duplicate in field names when loading CSV

In ObjCSV_CSV2Collection, Lines 125-126:
if InStr(strFieldNamesMatchList, objHeader[A_Index]) ; field name is duplicate
objHeader[A_Index] := objHeader[A_Index] . "_" . A_Index ; add field number to field name

If objHeader[A_Index] is included as part of an existing field name (eg "Name" vs "Name of the boss"), it is actually considered as duplicate but it is not.

Fix progress bar in ObjCSV_CSV2Collection

Base the progress on data size instead of number of lines.
Do not rely on a value passed to intProgress (see comment below).
Replace intProgress by a boolean as for other functions.

Actual comment in the source:
intProgress := 0
Optional. If 0, progress bar is is NOT shown. If greater than 0, a progress bar is displayed with intProgress as the maximum progress value. Should be use only for very large files. By default 0. NOTE-1: Because there is no way for the script to know in advance the number of lines in the file, provide the exact number (if known) or an approximative number of lines. NOTE-2: If true (or 1), a progress bar is shown already filled while the processing occurs.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.