Started software
This commit is contained in:
parent
879a92b74c
commit
568bfd9462
|
@ -1 +1,2 @@
|
|||
data/
|
||||
data/
|
||||
.idea
|
Binary file not shown.
After Width: | Height: | Size: 26 KiB |
2
macro.py
2
macro.py
|
@ -76,5 +76,5 @@ with mouse_listener, keyboard_listener:
|
|||
print('record fini')
|
||||
json_macroEvents = json.dumps(macroEvents, indent=4)
|
||||
|
||||
with open(os.path.join("C:/Users/Lucas/Desktop/rien/data", macroName+".json"),"w") as macroRecord:
|
||||
with open(os.path.join("C:/Users/lucas/OneDrive/Bureau/projet/data", macroName+".json"), "w") as macroRecord:
|
||||
macroRecord.write(json_macroEvents)
|
|
@ -0,0 +1,19 @@
|
|||
from tkinter import *
|
||||
|
||||
window = Tk()
|
||||
window.title("MacroRecorder")
|
||||
window.geometry("500x200")
|
||||
window.iconbitmap("assets/logo.ico")
|
||||
|
||||
my_menu = Menu(window)
|
||||
window.config(menu=my_menu)
|
||||
|
||||
def cmd():
|
||||
print('command')
|
||||
|
||||
file_menu = Menu(my_menu,tearoff=0)
|
||||
my_menu.add_cascade(label="File", menu=file_menu)
|
||||
file_menu.add_command(label="New...", command=cmd)
|
||||
file_menu.add_command(label="Exit", command=window.quit)
|
||||
|
||||
window.mainloop()
|
Loading…
Reference in New Issue