Processing Ajax...

Title
Close Dialog

Message

Confirm
Close Dialog

Confirm
Close Dialog

Confirm
Close Dialog

User Image
erockimon
1 discussion post
I can't get the BFS.Window.Close script to verify. I am trying to close the steam window. Thanks!
• Attachment: Close Window.png [44,787 bytes]
Close Window.png
Close Window.png
Dec 25, 2023  • #1
Keith Lammers (BFS)'s profile on WallpaperFusion.com
The BFS.Window.Close() function needs an IntPtr that contains the window handle of the window you want to close, so you should do this:

Code

// Get the Steam window
IntPtr steamWindow = BFS.Window.GetWindowByText("Steam");

// Close the window
BFS.Window.Close(steamWindow);
Jan 2, 2024 (modified Jan 2, 2024)  • #2
Subscribe to this discussion topic using RSS
Was this helpful?  Login to Vote(-)  Login to Vote(-)