Different computers - different screen resolutions
warakurna
I'm working on two computers. An office PC with a screen of 1280x1024 px and a a notebook with 1366x768 px screen resolution. I also have old Igor files from a former office PC with a screen of 1680x1050 px.
The problem is that the files I saved on the computers have also the saved window positions (command window, tables, plots...) in Igor in it. That means that when I just push windows to the side, save the file and take it home to have a look at the file on my notebook, the window are shifted and sometimes not visible because they are out of scale of the actual screen resolution.
Is there any possbility to scale the files to the screen?
Thanks...
January 27, 2010 at 08:45 am - Permalink
You might also have a look at the Screen Sizer package http://www.igorexchange.com/project/ScreenSizer as a way to do this automatically. For example, with the Screen Sizer package, you would be able to write in the procedure window of your experiment the following:
Static Function IgorBeforeQuitHook(refNum,fileName,path,type,creator,kind)
Variable refNum,kind
String fileName,path,type,creator
ScreenSizer#SaveAllWindows()
return 0
end
Static Function AfterFileOpenHook(refNum,fileName,path,type,creator,kind)
Variable refNum,kind
String fileName,path,type,creator
ScreenSizer#Initialize(0,force=1)
ScreenSizer#RestoreAllWindows()
return 0
end
This should save the current window settings for all windows and then restore them at the new screen resolution. Unlike the Retrieve Windows menu option, this may however resize the windows (except panels).
Should you try this an find any problems, please report back at the Bug Report link for the project.
HTH
--
J. J. Weimer
Chemistry / Chemical & Materials Engineering, UAH
January 27, 2010 at 08:56 am - Permalink
Actually all things do fine things. "Retrieve all windows is the easiest one" which handles most problems. I wonder why I never stumbled upon that!
Jan
January 31, 2010 at 02:01 am - Permalink