Skip to content

[windows] Warn if user runs Fontra Pak as "administrator" #227

@justvanrossum

Description

@justvanrossum

Running as administrator makes drag & drop onto the Fontra Pak window not work.

Perhaps we should show a dialog in this case?

https://stackoverflow.com/questions/59801177/use-python-to-check-if-some-process-is-running-as-administrator

# Source - https://stackoverflow.com/a/59801430
# Posted by robobrno
# Retrieved 2026-03-04, License - CC BY-SA 4.0

import ctypes
print ctypes.windll.shell32.IsUserAnAdmin()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions