Ok So Im trying to Automate this
1. Open Glabels (Did this with Popen)
2. Have Glabels Open a File so its ready to work with.
(This involves an (alt + f) keystroke, then manually typing in a file name and enter)
I can open Glabels Ok, but from there None of the pyautogui commands seem to go through. Now to try to figure out what was going on, I tried a few things in a while true loop and this is what I Noticed
While Running the first scenerio that should move the mouse pointer back and forth, The mouse would remain stationary however I can See menu bars etc highlighting as if a secondary invisable mouse was working..
While Running the Second Test which tracks the mouse position I would notice that pyautogui.position() would freeze anytime the pointer was over the Glabels Window.
p = subprocess.Popen("glabels-3",
stdin=subprocess.PIPE,
stdout=subprocess.PIPE,
stderr=subprocess.PIPE)#,
#shell=True)
time.sleep(11) #takes a long time to load
pyautogui.moveTo(20,20,duration=1)
time.sleep(1)
print("Initializing Alt - F Now")
pyautogui.keyDown('alt')
time.sleep(1)
pyautogui.keyDown('f')
time.sleep(0.5)
pyautogui.keyUp('f')
time.sleep(0.5)
pyautogui.keyUp('alt')
pyautogui.moveTo(50,400,duration=5)
#
while True:# Test Debugging Lines To Resolve pyautogui issue
#if I execute this I see activity in the thonny Menu Bar but Mouse Arrow is stationary like a second invisable MOUSE
# pyautogui.moveTo(20,20,duration=5)
# time.sleep(5)
# pyautogui.moveTo(50,400,duration=5)
# time.sleep(5)
#If I execute this code instead the mouse loses position when it is passed over the Glabels window Opened
print (pyautogui.position())
time.sleep(1)
1. Open Glabels (Did this with Popen)
2. Have Glabels Open a File so its ready to work with.
(This involves an (alt + f) keystroke, then manually typing in a file name and enter)
I can open Glabels Ok, but from there None of the pyautogui commands seem to go through. Now to try to figure out what was going on, I tried a few things in a while true loop and this is what I Noticed
While Running the first scenerio that should move the mouse pointer back and forth, The mouse would remain stationary however I can See menu bars etc highlighting as if a secondary invisable mouse was working..
While Running the Second Test which tracks the mouse position I would notice that pyautogui.position() would freeze anytime the pointer was over the Glabels Window.
p = subprocess.Popen("glabels-3",
stdin=subprocess.PIPE,
stdout=subprocess.PIPE,
stderr=subprocess.PIPE)#,
#shell=True)
time.sleep(11) #takes a long time to load
pyautogui.moveTo(20,20,duration=1)
time.sleep(1)
print("Initializing Alt - F Now")
pyautogui.keyDown('alt')
time.sleep(1)
pyautogui.keyDown('f')
time.sleep(0.5)
pyautogui.keyUp('f')
time.sleep(0.5)
pyautogui.keyUp('alt')
pyautogui.moveTo(50,400,duration=5)
#
while True:# Test Debugging Lines To Resolve pyautogui issue
#if I execute this I see activity in the thonny Menu Bar but Mouse Arrow is stationary like a second invisable MOUSE
# pyautogui.moveTo(20,20,duration=5)
# time.sleep(5)
# pyautogui.moveTo(50,400,duration=5)
# time.sleep(5)
#If I execute this code instead the mouse loses position when it is passed over the Glabels window Opened
print (pyautogui.position())
time.sleep(1)
Statistics: Posted by Andrew_2112 — Tue Aug 26, 2025 2:25 am