Skip to content

VitalSource reader won't take in pyautogui presses? #9

@shirish93

Description

@shirish93

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions