Hi Kenneth,
You can also use the new ENVI API to get similar results. Here is a link to the documentation and the example from the link:
http://www.exelisvis.com/...tCenterLocation.html
; Launch the application
e = ENVI()
; Open a file
file = FILEPATH('qb_boulder_msi', ROOT_DIR=e.ROOT_DIR, $
SUBDIRECTORY = ['data'])
raster = e.OpenRaster(file)
; Display the data
view = e.GetView()
layer = view.CreateLayer(raster)
; Get the center of the view in lon, lat
center = view.GetCenterLocation()
PRINT, 'View Center'
PRINT, 'lon = ', center[0]
PRINT, 'lat = ', center[1]