Skip to content

Conversation

KillerBOSS2019
Copy link
Owner

No description provided.

KillerBOSS2019 and others added 30 commits May 21, 2022 14:41
testing...
Added in two classes
One for Screenshots/Captures and one for Clipboard

Still need to test these actions again and add them into entry.py
moved windows imports for mss.tools and win32clipboard
remoevd mss.tools and replaced from imagefrombytes
keeping it in place until further testing is done with Linux machine
Attempting some tests via linux with changes
Added required modules for Screenshot + Clipboard classes
- plugin crash due to unable to indent dict key
- Added data Parser
- Added writer (allow user to write text with interval in between)
- Added Key Control (allow user to Hold/Release/Press certain key)
replaced sys.platform with import platform instead.

This is a more reliable way to get the OS details according to Stackoverflow

https://stackoverflow.com/questions/1854/how-to-identify-on-which-os-python-is-running-on
notes + how to check for wayland versus x11
removed globals for macro_recordingstate and others and added a "States" class inside of Macro.py to keep track of them instead

removed platform variable from entry.py and replaced with PLATFORM_SYSTEM const

changed handful of related variables
added some spacing between some functions to make it easier to read

some of the actions did not have 'checkalldatavalue' and they do now.. I dont know how important this is/was ?
also changed up actions/data related to
Updated TPPentry.tp

UTIL.PY
added multiple functions to get monitor details, get window details  and screenshot display

replaced macro.py that i messed up

MAIN.PY
Actions added
 check_number_of_monitors for Linux, Windows and Darwin..

Screenshot Display to File + Clipboard
Works for Windows + Linux -> Darwin is untested

get_current_windows  added
works for Windows + Linux currently to fill choice list with window names
gitagogaming and others added 26 commits April 9, 2023 17:45
fixed TTS not showing proper entry boxes in action

added mouseScroll function to main.py onAction

fixed issue where speed was a string and needed to be an INT for mouseScroll causing it to not work

removed if reverse from mouseScroll as seemed not needed

commented out TPClient.choiceUpdate(TP_PLUGIN_ACTIONS["macroPlayer"]['data']["macro profile"]['id'], list(Macro.getMacroProfile().keys()))  as it caused startup to not work properly, needs resolved also commented it out in UpdateStates thread

Resolved issue with Text to Speech actions where things where strings instead of intergers causing it to not work

replaced the function inside of onAction which checked alldataValue and updated to the newest 'aid' provided by Killerboss
Added some try/except error catches with glog
fixed cpu issue found in updateStates related to getting VD and TTS Voices too often.
added updatestatsLong which will update VD and TTS voices every 60 seconds or longer depending on.
added notes regarding MacroRecorder that needs fixed later
removed jsonparser function - we have the dataparser plugin for people who want to use something like that
added comments in  onAction function to help seperate/categorize
moved TTS, Virtual Desktop and checkmonitorInfo from Updatestates to updatestates_long
removed jsonpathfinder
removed some duplicate imports
removed plugin_name from main.py and util.py and now we use PLATFORM_SYSTEM universally.
added CoUinitialize to TTS class
added next/previous options for Virtual Desktop Select Options
added create new, rename and remove actions in tppentry.tp
Moved several things out of util.py and into its own .PY file to keep things orderly.

Removed some imports that were no longer being used
Moved nearly all of the imports to p_imports.py so they are easier to manage and can be used across all
added the .py files for magnifier.py and rotatedisplay.py.
created slider connectors and actions required for new .py files to work correctly.
… restart,shutdown, logout etc, renamed rotatedisplay to display.py

added change primary display, renamed rotatedisplay to display.py as it will  hold multiple related actions

added excute command(powershell and command prompt).
…ded platform check in rotate_display

Added Windows Notify action, put main.py stateUpdate back to how it was for now as it was not working.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants