In the x64dbg manual is many scripting commands and other things, but nowhere in it is mentioned, how to launch a script.
So, my question is: How to launch a script in x64dbg?
Before loading a script, the content of this tab is empty:
You may load a script in any of the following ways:
Copy the content of your script into clipboard, then switch to the Script tab, and paste it with
Shift+V (NOT with Ctrl+V).
The same, but using the context menu (Load Script → Paste):
Switch to the
Script tab, Ctrl+O, then select your script file.
The same, but using the context menu (Load Script → Open...) — as in the point 2.
scriptload command with the path to your script file as an argument, for example
scriptload "c:\Users\User\My Scripts\somescript.txt"
Write it in the Command: box near the bottom left part of the x64dbg window and then press Enter:
After loading the script (with any of the previous methods), you will see it in the Script tab, and you may launch it with the Space bar, or by commands in the context menu: