About the format of Copy Position

Please do not add decimal, brackets, or trailing h to the data copied by Copy Position
Example: 175 [AFh] → AF

Currently Copy Position copies the data in whatever format is displayed in the Position section of the Status Bar. You can change the format by clicking the Position in the status bar and choosing ‘File Position Format’. If you want to customize how the data is copied you can use a short script. For example:

string str;
SPrintf( str, "%LX", GetCursorPos() );
CopyStringToClipboard( str );

Then you could even assign this script to a shortcut key. In the future we could provide more options for how data is copied but for now the script would be the easiest way. Let us know if you have any questions. Cheers!

Graeme
SweetScape Software

Thank you.
This script copies the decimal address, but how can I copy the hex address?

The script should be copying hex addresses already. The string “%LX” means to copy as uppercase hex and you can use “%Lx” to copy as lowercase hex.

Graeme
SweetScape Software

Oops, sorry.
I copied it in hexadecimal correctly.

By the way, if you want to copy as decimal you can use “%Ld”. Cheers!

Graeme
SweetScape Software