Get Area - scaled drawing?

Hi, fairly new to CorelDraw, learning it to use with a new laser cutter. I have found myself using it for all sorts of technical drawing tasks though that have nothing to do with the laser cutter. I went searching for a way to calculate the area of complex shapes and found and installed GetAreaX7.gms from this thread (thank you uploader):

https://community.coreldraw.com/talk/coreldraw_graphics_suite_x8/f/coreldraw-graphics-suite-x8/53163/calculate-square-footage

The problem I have though is that I often have to draw with a scale applied and the area calculator ignores the scale. Does anyone know how to modify the script to apply the scale used on the drawing file? The calculation is simple, just area*scale^2. I just don't know how to modify the script to fetch the scale, also don't know what might be returned if no scale is applied (1 or 0?).

Thanks!