1
General Software Discussion / Re: Looking for Standalone CSV Editor like CSVPad
« on: May 25, 2023, 10:47 PM »
CSVPad is a really decent software, and I can't believe it doesn't support the most basic thing as opening files in the command line. This also means that it does not work with file associations, which is a huge pain. Fortunately I know some AutoHotkey to make it work. Thought I'd share the code here:
Code: Autohotkey [Select]
- ;@Ahk2Exe-SetMainIcon CSVpad.ico
- ;@Ahk2Exe-SetDescription CLI for the simple CSV editor
- ;@Ahk2Exe-SetVersion 1.2.0.1
- #SingleInstance Force
- ListLines, Off
- SetWorkingDir %A_ScriptDir%
- Files := A_Args[1]
- If (Files != "") {
- WinWait % "ahk_pid" PID
- DropFiles(Files, "ahk_pid" PID)
- }
- Return
- DropFiles(FileList, wTitle="", Ctrl="", X=0, Y=0, NCA=0) {
- characterSize := A_IsUnicode ? 2 : 1
- p2:=p+20
- {
- }
- }