VPet-Simulator Cheat Codes – PC

Select your platform and your letter

VPet-Simulator Cheat Codes

Cheat codes for VPet-Simulator on PC, listed below with how to enter them. Updated October 5, 2023 · 6,138 downloads.

PC
VPet-Simulator cover
Advertisement
Cheat codes only

This article contains cheat codes only. No file to download.

Information
  • Author: DAV
  • Downloads: 6,138
  • Updated:

Cheat Codes

VPet-Simulator

Cheat Codes:
------------
Submitted by: David K.

AHK Script to Remove The Window from The Alt-Tab List:
------------------------------------------------------
Written by April

I keep accidentally tabbing into the vpet window instead of the application
I want to, I figured since its always on top it doesn't need an alt tab entry.

-=How It Works=-
The script modifies the window type into a palette window which by default doesnt
have an alt-tab entry. To use it:
* Launch the script using autohotkey
* Press CTRL+ALT+F12 while the vpet is the focused window
* You can now safely exit the script from your system tray
* Also useful to know that you can toggle it back on with the same keyboard shortcut

-=The Script=-
; Initialize an empty object to store window data
data := {}

; Define the hotkey Ctrl + Alt + F12
^!f12::
; Get the ID of the active window
WinGet, hw, ID, A

; Check if the window ID is valid and not 0
if ((hw != "") && (hw != 0)) {
; Check if the window data exists for this window ID
if (data[hw]) {
; If window data exists, remove the specified extended style from the window
WinSet, ExStyle, % data[hw], ahk_id %hw%
data.Delete(hw) ; Remove the window data entry
} else {
; If no window data exists, get the current extended style of the window
WinGet, es, ExStyle, ahk_id %hw%
; Store the current extended style in the data object
data[hw] := es
; Add a specific extended style (0x80) to the window's extended style
WinSet, ExStyle, % (es | 0x80), ahk_id %hw%
}
}
return ; End of the hotkey subroutine

-=Further Explanation=-
The WinSet function is used to modify various window attributes. In this script,
it's primarily used to manipulate the extended style of windows. The extended
style (ExStyle) of a window controls various visual aspects and behaviors. By
toggling the extended style value using the | (bitwise OR) operator, the script
can add or remove specific attributes from the window's ExStyle, effectively changing
its appearance or behavior.

Extended styles are a set of attributes that control various visual and behavioral
aspects of a window. These styles can be manipulated using the `ExStyle` parameter
of the `WinSet` function in AutoHotkey. In this script, the `winset exstyle` command
is used to add or remove the extended style associated with the value `0x80` from the
window's existing extended style.

The specific extended style being manipulated here, `0x80`, corresponds to the
`WS_EX_TOOLWINDOW` style. This style affects how the window is displayed in the taskbar
and Alt+Tab switcher.

`WS_EX_TOOLWINDOW` (0x80):

* This style makes a window a tool window, which means it won't appear in the Alt+Tab
switcher by default.
* Tool windows are intended for auxiliary dialogs or floating tool palettes that should
not appear in the taskbar or Alt+Tab list.
* By adding this style to a window, you're essentially hiding it from the Alt+Tab list.
* In summary, the script uses the `WinSet` function to toggle the `WS_EX_TOOLWINDOW`
extended style on and off for a specified window, effectively controlling whether that
window appears in the Alt+Tab switcher or not. When the script adds this style to a
window's extended style, the window is hidden from the Alt+Tab list, and when the style
is removed, the window reappears in the Alt+Tab list.

How to use VPet-Simulator Cheat Codes cheat codes on PC

For VPet-Simulator Cheat Codes on PC, the cheat codes listed above are used directly in-game — no trainer or third-party software required. Depending on the game, open the developer console (often with the ~, ` or Esc key), type the code shown and press Enter, or use the key combination specified during gameplay. Some codes require enabling cheat mode in the game's settings first. Make sure your game version matches the one the codes were tested on.

FAQ

No. These codes are built into the game and are entered via the console command or a key combination — no trainer or third-party software needed.

In most cases, no. These codes are for single-player / offline use only and may be disabled or get you banned online.

Check that your game version matches the one the code was tested on, that the console or cheat mode is enabled in the game's settings, and that you're entering the code with the exact spelling shown.

Often, yes. Activating a cheat code usually disables achievements for the current session. Save your game before entering a code if you want to keep your trophies.
Still not working? Visit our help page for further assistance.
Similar Content

No similar content found

Comments
Become a Patron!
Comments only in English or French or comments will be removed!


Become a Patron!