LQE"全能AHK快速启动工具:GPT-4加持,轻松管理及执行1000+项目"

提示: 作者被禁止或删除 内容自动屏蔽

提示: 作者被禁止或删除 内容自动屏蔽

TOP

  1. import win32gui
  2. import win32con
  3. import win32api

  4. class StartupTool:
  5.     def __init__(self):
  6.         self.project_files = []
  7.         self.project_folders = []
  8.         self.hyperlinks = []
  9.         self.default_filters = []
  10.         self.active_window = None

  11.     def process_projects(self):
  12.         # Process projects, including files, folders, hyperlinks, etc.
  13.         pass

  14.     def apply_filters(self):
  15.         # Apply filters to locate the required items
  16.         pass

  17.     def set_default_filters(self, filters):
  18.         self.default_filters = filters

  19.     def adjust_display_position(self, position):
  20.         # Adjust the pop-up position of the tool interface
  21.         pass

  22.     def flip_interface(self, screen):
  23.         # Flip the interface to another screen
  24.         pass

  25.     def get_active_window(self):
  26.         self.active_window = win32gui.GetWindowText(win32gui.GetForegroundWindow())

  27.     def send_text(self, text):
  28.         # Send text to the active window
  29.         pass

  30.     def send_macro(self, macro):
  31.         # Send macro commands to the active window
  32.         pass

  33.     def run(self):
  34.         # Main loop of the startup tool
  35.         while True:
  36.             self.get_active_window()
  37.             # Process user input and perform actions based on the input

  38. if __name__ == "__main__":
  39.     tool = StartupTool()
  40.     tool.set_default_filters(["filter1", "filter2"])
  41.     tool.run()
复制代码
开源的,点用自便

TOP

提示: 作者被禁止或删除 内容自动屏蔽

TOP

Send 不了文字.

Send 不了 authotkey macro 吧.

我的源码 约千二行 autohotkey.
你60行python可以做到 ...
BS_Man 发表于 2024/1/25 21:29


关我咩事?

TOP

识写 code 还识写 code,唔识推广嘅结果都系留返你自己用,没人识欣赏你嘅产品

你个产品嘅受众系乜人士或者用家?有没运作例子?对比其他出品点解要用你嘅出品?

TOP