Processing Ajax...

Title

Message

Confirm

Confirm

Confirm

Confirm

Are you sure you want to delete this item?

Confirm

Are you sure you want to delete this item?

Confirm

Are you sure?

User Image
IQSolutions.cz s.r.o.
3 discussion posts
Hello,
I would like to close OBS application (and load other monitor profile and something else), but when I kill it, all settings was not saved. Is there any other method to close application ?

Thanks
Jun 20, 2019  • #1
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Which Scripting Function are you using currently to kill it?
Jun 20, 2019  • #2
User Image
IQSolutions.cz s.r.o.
3 discussion posts
BFS.Application.Kill
Other method - closing main window - is not good with OBS as sometimes obs.exe shows projector as mainwindow, not main application (and because OBS don't have any key to show it without mouse clicks, I couldn't use this method).
Jun 20, 2019  • #3
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Yeah, makes sense. There wouldn't be another way to close it, no. Unless OBS has a command line option for closing it gracefully.

If the tray icon is in the same position you could have the script right-click the icon and click the Close option from the menu. The mouse movement and click functions are in the BFS.Input namespace.
Jun 21, 2019  • #4
User Image
IQSolutions.cz s.r.o.
3 discussion posts
Thanks. For my luck, the main window and projector window have other titles, so I can know the right one.. (When I close the projector, ten I cannot show it again without user assistance :( ) OBS is not very good with it - cont have menu item for show it...
Jun 21, 2019  • #5
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Maybe you could send them a feature request for a command line option that closes it, then you could just send that command from the script :)
Jun 21, 2019  • #6
Subscribe to this discussion topic using RSS
Was this helpful?  Login to Vote(-)  Login to Vote(-)