[GH-ISSUE #537] [Feature Request] Option to prevent multiple instances #442

Closed
opened 2026-02-26 09:31:26 +03:00 by kerem · 4 comments
Owner

Originally created by @Quisquose on GitHub (Oct 17, 2019).
Original GitHub issue: https://github.com/NickeManarin/ScreenToGif/issues/537

When launching ScreenToGif from a shortcut (e.g. Start Menu or hotkey) it runs a new instance every time.

Seeing as it's possible to have all ScreenToGif windows closed and only have a system tray icon present, it's easy to forget that ScreenToGif is already running, so you ended up going back to the Start Menu (or pressing your own launch hotkey) to open it. This results in yet another instance of the program running, and you can end up with multiple identical icons in the system tray.

Having an option to restrict ScreenToGif to one instance would mean that if ScreenToGif is already loaded that any subsequent attempts to launch the program would just activate the existing instance instead of launching a new one.

Originally created by @Quisquose on GitHub (Oct 17, 2019). Original GitHub issue: https://github.com/NickeManarin/ScreenToGif/issues/537 When launching ScreenToGif from a shortcut (e.g. Start Menu or hotkey) it runs a new instance every time. Seeing as it's possible to have all ScreenToGif windows closed and only have a system tray icon present, it's easy to forget that ScreenToGif is already running, so you ended up going back to the Start Menu (or pressing your own launch hotkey) to open it. This results in yet another instance of the program running, and you can end up with multiple identical icons in the system tray. Having an option to restrict ScreenToGif to one instance would mean that if ScreenToGif is already loaded that any subsequent attempts to launch the program would just activate the _existing_ instance instead of launching a new one.
kerem 2026-02-26 09:31:26 +03:00
Author
Owner

@vatterspun commented on GitHub (Jan 5, 2020):

Good suggestion. This is already one of the most feature-complete animation tools I know of outside of commercial software. As such, it's going to start getting used for some important projects that take some late hours. Anything to help avoid getting confused between windows and files is going to save a lot of headaches.

<!-- gh-comment-id:570876318 --> @vatterspun commented on GitHub (Jan 5, 2020): Good suggestion. This is already one of the most feature-complete animation tools I know of outside of commercial software. As such, it's going to start getting used for some important projects that take some late hours. Anything to help avoid getting confused between windows and files is going to save a lot of headaches.
Author
Owner

@NickeManarin commented on GitHub (Feb 26, 2020):

Feature is available with v2.21.
When the app is already running, it will simply focus on the first instance.

<!-- gh-comment-id:591466829 --> @NickeManarin commented on GitHub (Feb 26, 2020): Feature is available with v2.21. When the app is already running, it will simply focus on the first instance.
Author
Owner

@Quisquose commented on GitHub (Mar 8, 2020):

Very much appreciated! Thank you for your ongoing hard work on this project.

<!-- gh-comment-id:596236216 --> @Quisquose commented on GitHub (Mar 8, 2020): Very much appreciated! Thank you for your ongoing hard work on this project.
Author
Owner

@embix commented on GitHub (Dec 1, 2022):

When the app is already running, it will simply focus on the first instance.

Is it still possible to record ScreenToGif with ScreenToGif somehow? I wanted to record my default workflow but it won't let me. Once one instance is recording, the other won't record.

<!-- gh-comment-id:1333330712 --> @embix commented on GitHub (Dec 1, 2022): > When the app is already running, it will simply focus on the first instance. Is it still possible to record ScreenToGif with ScreenToGif somehow? I wanted to record my default workflow but it won't let me. Once one instance is recording, the other won't record.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ScreenToGif#442
No description provided.