From 707f2ac1077c23c67ecdf4ab8f0b92c3dd6b9629 Mon Sep 17 00:00:00 2001 From: Quintijn Hoogenboom Date: Thu, 22 Aug 2024 17:49:05 +0200 Subject: [PATCH] Unimacro summer24 bump to 4.1.6 (#57) * bump version to 4.1.7, unimacroutils.py set_mouse_position (beginning of independent of playString) * bump to 4.1.6 --- .gitignore | 1 + pyproject.toml | 4 ++-- src/unimacro/UnimacroGrammars/_folders.py | 2 +- src/unimacro/UnimacroGrammars/rememberdialog.py | 14 ++++++++------ src/unimacro/__init__.py | 6 +----- 5 files changed, 13 insertions(+), 14 deletions(-) diff --git a/.gitignore b/.gitignore index 5302b09..555616f 100644 --- a/.gitignore +++ b/.gitignore @@ -14,3 +14,4 @@ __pycache__/ README.html /src/unimacro/UnimacroGrammars/rememberdialog.py /tests/rememberdialog.py +/src/unimacro/UnimacroGrammars/rememberdialog.py diff --git a/pyproject.toml b/pyproject.toml index 42b5ea1..58e3978 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -10,10 +10,10 @@ requires-python = ">=3.10" readme = "README.md" -dependencies = ["dtactions >= 1.6.1", +dependencies = ["dtactions >= 1.6.2", "debugpy >= 1.2.0", "pywin32 >= 304", - "natlinkcore >= 5.4.0", + "natlinkcore >= 5.4.1", "FreeSimpleGUI>=5.1.0"] classifiers=[ "Development Status :: 4 - Beta", diff --git a/src/unimacro/UnimacroGrammars/_folders.py b/src/unimacro/UnimacroGrammars/_folders.py index 0c6acb8..bf0fdbb 100644 --- a/src/unimacro/UnimacroGrammars/_folders.py +++ b/src/unimacro/UnimacroGrammars/_folders.py @@ -72,7 +72,7 @@ from dtactions.unimacro import unimacroutils # from dtactions.unimacro.unimacroactions import Message # from dtactions.unimacro import unimacroactions as actions -import unimacro.natlinkutilsbj as natbj +from unimacro import natlinkutilsbj as natbj # from unimacro.unimacro_wxpythondialogs import InputBox # import natlinkcore.natlinkutils as natut diff --git a/src/unimacro/UnimacroGrammars/rememberdialog.py b/src/unimacro/UnimacroGrammars/rememberdialog.py index 2f7c7b6..201338c 100644 --- a/src/unimacro/UnimacroGrammars/rememberdialog.py +++ b/src/unimacro/UnimacroGrammars/rememberdialog.py @@ -8,14 +8,16 @@ from dtactions.unimacro import inivars prompt = """Remember in Unimacro _folders grammar""" # readable text -text = """Remember folder "C:/Users/Gebruiker/Music" for future calling? +text = """Remember website for future calling? -Please give a spoken form for this folder and choose OK; or Cancel...""" # input text, the key of the -inifile = "C:/Users/Gebruiker/Documents/unimacro_clean_start/enx_inifiles/_folders.ini" -section = "folders" -value = "C:/Users/Gebruiker/Music" +- https://pypi.org - + +Please give a spoken form for this website and choose OK; or Cancel...""" # input text, the key of the +inifile = "C:/Users/Gebruiker/Documents/unimacro_qh/enx_inifiles/_folders.ini" +section = "websites" +value = "https://pypi.org" title = "test" -default = "Music" +default = "pypi" pausetime = 3 # should be replaced by 0 or a positive int value diff --git a/src/unimacro/__init__.py b/src/unimacro/__init__.py index d61c19f..bba47d4 100644 --- a/src/unimacro/__init__.py +++ b/src/unimacro/__init__.py @@ -8,10 +8,6 @@ import os import sys -__version__ = '4.1.6' # requires the dtactions 1.5.5, with new sendkeys (from send_input, vocola) -#they could be in a seperate .py file in unimacro to achieve the same (ie not in the control grammar). -#these will possilby be removed since we may not need them to enumerate the grammars and ask for log names. - def folders_logger_name() -> str: return "natlink.unimacro.folders" @@ -22,4 +18,4 @@ def logname() -> str: """ Returns the name of the unimacro logger.""" return "natlink.unimacro" -__version__ = '4.1.7' +__version__ = '4.1.6'