作者: BS_Man 時間: 2024-1-25 18:43 標題: LQE"全能AHK快速啟動工具:GPT-4加持,輕鬆管理及執行1000+項目"
提示: 作者被禁止或刪除 內容自動屏蔽
作者: BS_Man 時間: 2024-1-25 18:44
提示: 作者被禁止或刪除 內容自動屏蔽
作者: s20012797 時間: 2024-1-25 20:27
- import win32gui
- import win32con
- import win32api
- class StartupTool:
- def __init__(self):
- self.project_files = []
- self.project_folders = []
- self.hyperlinks = []
- self.default_filters = []
- self.active_window = None
- def process_projects(self):
- # Process projects, including files, folders, hyperlinks, etc.
- pass
- def apply_filters(self):
- # Apply filters to locate the required items
- pass
- def set_default_filters(self, filters):
- self.default_filters = filters
- def adjust_display_position(self, position):
- # Adjust the pop-up position of the tool interface
- pass
- def flip_interface(self, screen):
- # Flip the interface to another screen
- pass
- def get_active_window(self):
- self.active_window = win32gui.GetWindowText(win32gui.GetForegroundWindow())
- def send_text(self, text):
- # Send text to the active window
- pass
- def send_macro(self, macro):
- # Send macro commands to the active window
- pass
- def run(self):
- # Main loop of the startup tool
- while True:
- self.get_active_window()
- # Process user input and perform actions based on the input
- if __name__ == "__main__":
- tool = StartupTool()
- tool.set_default_filters(["filter1", "filter2"])
- tool.run()
作者: BS_Man 時間: 2024-1-25 21:29
提示: 作者被禁止或刪除 內容自動屏蔽
作者: s20012797 時間: 2024-1-25 22:10
Send 不了文字.
Send 不了 authotkey macro 吧.
我的源碼 約千二行 autohotkey.
你60行python可以做到 ...
BS_Man 發表於 2024/1/25 21:29
關我咩事?
作者: justiceice 時間: 2024-1-29 14:22
識寫 code 還識寫 code,唔識推廣嘅結果都係留返你自己用,冇人識欣賞你嘅產品
你個產品嘅受眾係乜人士或者用家?有冇運作例子?對比其他出品點解要用你嘅出品?

