This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from tkinter import * | |
from tkinter.filedialog import askdirectory | |
from tkinter.messagebox import showerror | |
import tkinter.ttk as ttk | |
import os | |
import time | |
import calendar | |
def walk_dir(path,daydif,filetype): | |
if os.path.isdir(path) and os.path.exists(path): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
F1:: | |
Var := gst() | |
if (Var != "") | |
{ | |
Run, "C:\full\path\to\open_with_pandas.py" %Var% | |
} | |
gst() { ; GetSelectedText or FilePath in Windows Explorer by Learning one | |
;https://autohotkey.com/board/topic/60723-can-autohotkey-retrieve-file-path-of-the-selected-file/ | |
IsClipEmpty := (Clipboard = "") ? 1 : 0 |