Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Launch Steam games or shortcuts (.lnk) #21

Open
MrEliptik opened this issue Sep 4, 2024 · 0 comments
Open

Launch Steam games or shortcuts (.lnk) #21

MrEliptik opened this issue Sep 4, 2024 · 0 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@MrEliptik
Copy link
Owner

This can easily be done using OS.shell_open

  • OS.shell_open("steam://rungameid/1766010")
  • OS.shell_open("C:\Users\user\Desktop\your_game.lnk")

I don't know how we can get the resulting PID though? Is there an easy way, or do we have to search for it? This would be needed to keep track of the launched game

@MrEliptik MrEliptik added enhancement New feature or request help wanted Extra attention is needed labels Sep 4, 2024
@MrEliptik MrEliptik changed the title Launch Steam games using or shortcuts (.lnk) Launch Steam games or shortcuts (.lnk) Sep 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant