This script will display the sample value between a certain inline and xline range when mousing over a Time Slice in a Map Window.
Put this script in the folder On_Map_Window_Cursor_Position_Changed in your Python scripts directory.
Go to Tools->Options->Environment->Python Scripts and click "Refresh from Disk". Your script should be listed automatically.
Now, whenever you mouse over a Time Slice when INLINE and XLINE values are between 200 and 300, the sample value will be displayed in the Python terminal.
This simple script is useful for determining when the cursor gets within a certain region.