/usr/share/psychtoolbox-3/PsychOneliners/WinDesk.m is in psychtoolbox-3-common 3.0.11.20131230.dfsg1-1build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 | function WinDesk
% minimizes all windows, thus shows windows desktop.
% Not the same as Win+D, the same as Win+M
% All open windows are minimized except (those with) open dialogue boxes
% DN 2008-06 Wrote it
% DN 2008-12-06 Added test if on Windows
if IsWin && ~IsOctave % from PTB - test if windows as we use a COM Automation server (Octave doesn't have those either)
shell = actxserver('Shell.Application');
shell.MinimizeAll;
shell.delete; % release interface
end
|