So it appears that when pyautogui passes keypresses to VitalSource reader, it somehow detects it's a simulated keypress, and doesn't register it. When I create a delayed keypress, the keypress is accepted by all other programs in my computer, except the vitalsource bookshelf/reader. Ideas?
Windows 10
Python 3.4.2 (Winpython)
VitalSource bookshelf 7.5.0
Test code
def test():
time.sleep(3)
pyautogui.hotkey('ctrl', 'p')
The above sends in print command to every other program but the bookshelf. I've tried manual ctrl+p and it does work.