Solution to hiding taskbar problem

D

Dave \Crash\ Dummy

Sorry, but the original thread has devolved into who knows what. This is
a way to control the taskbar using a HTA (Hypertext Application) script.
When the script below is run, say from the "Startup" folder, the entire
screen blanks. The only way to recover the taskbar is to hit the "Start"
button on the keyboard. The taskbar will then stay up to run
applications until an empty screen area is clicked. The background can
be any color or desktop image desired. It may not suit everybody, but it
is worth a look. Just copy the script below and save it with a ".hta"
extension.

;================HideTaskbar.hta===============
<HTML><HEAD><title>Hide Taskbar</title>
<HTA:APPLICATION ID="oHTA"
APPLICATIONNAME="myApp"
CAPTION="no"
BORDER="none"
INNERBORDER="no"
WINDOWSTATE="maximize"</HEAD>
<BODY scroll="no" style="background:black;"></BODY>
</HTML>
;===========================================
 
T

thanatoid

Sorry, but the original thread has devolved into who knows
what.
Agreed.

While I am not the OP, and do not have this problem (I have
solved it ages ago but apparently in either an incomprehensible
or unacceptable manner) I do have a question about your script.

You mention "empty screen area". If the entire screen blanks,
then the icons disappear as well, right? What happens if you
happen to click on an area 'invisibly' occupied by an icon and
its title? Usually, /that/ would be activated/run.

Just curious.
 
P

Paul in Houston TX

thanatoid said:
Agreed.

While I am not the OP, and do not have this problem (I have
solved it ages ago but apparently in either an incomprehensible
or unacceptable manner) I do have a question about your script.

You mention "empty screen area". If the entire screen blanks,
then the icons disappear as well, right? What happens if you
happen to click on an area 'invisibly' occupied by an icon and
its title? Usually, /that/ would be activated/run.

Just curious.
Try it and see!
 
D

Dave \Crash\ Dummy

thanatoid said:
Agreed.

While I am not the OP, and do not have this problem (I have solved it
ages ago but apparently in either an incomprehensible or
unacceptable manner) I do have a question about your script.

You mention "empty screen area". If the entire screen blanks, then
the icons disappear as well, right? What happens if you happen to
click on an area 'invisibly' occupied by an icon and its title?
Usually, /that/ would be activated/run.

Just curious.
I don't use desktop icons for anything, so I didn't consider them. The
answer to your question is that nothing will happen because the desktop
is covered by a full screen application. It is not really blanked. If you
want to reach desktop icons, you have to recover the taskbar with the
Start key, then click on the desktop icon in the system tray.
 
T

thanatoid

I don't use desktop icons for anything, so I didn't
consider them. The answer to your question is that nothing
will happen because the desktop is covered by a full screen
application. It is not really blanked. If you want to reach
desktop icons, you have to recover the taskbar with the
Start key, then click on the desktop icon in the system
tray.
Cool, thanks for the clarification.

IOW, your script, while /appearing/ to just blank the desktop,
actually covers it with a window of "nothing", or an invisible
shield, right? (If I got it, don't bother replying.)
 
E

Ed Cryer

Cool, thanks for the clarification.

IOW, your script, while /appearing/ to just blank the desktop,
actually covers it with a window of "nothing", or an invisible
shield, right? (If I got it, don't bother replying.)
Yes, it works exactly as Crash says. I keep the Recycle Bin on the
desktop, and I couldn't get to that.
You could replace black screen with anything; different colour, pattern
or picture.

Ed
 
D

Dave \Crash\ Dummy

This variation allows you to toggle the taskbar off and on
(hidden/unhidden) by clicking on the screen.

;================HideTaskbar2.hta===============
<HTML><HEAD><title>Hide Taskbar</title>
<HTA:APPLICATION ID="oHTA"
APPLICATIONNAME="myApp"
CAPTION="no"
BORDER="none"
INNERBORDER="no"<script type="text/vbs">
winstate=1
window.moveTo 0,0
sub toggle()
if winstate=1 then
window.resizeTo screen.Width, screen.Height
else
window.resizeTo screen.availWidth, screen.availHeight
end if
winstate = -1*winstate
end sub
toggle()
</script>
</HEAD>
<BODY scroll="no" style="background:black;" onClick="toggle()"></BODY>
</HTML>
;===========================================
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top