Home | Blog | Software | Reviews and Features | Forum | Help | Donate | About us
topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • August 31, 2015, 02:52:28 PM
  • Proudly celebrating 10 years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: Simple single exe to show/hide to taskbar  (Read 23911 times)

Coeluh

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 273
  • Family Guy ^^
    • View Profile
    • Jeroen Coelen
    • Donate to Member
Simple single exe to show/hide to taskbar
« on: November 23, 2008, 08:27:39 AM »
Hi there,

I would like to know wether this kinda app is around. It should hide when the single exe is executed, and restore the taskbar when executed again. I would not like to be it a tray thingy. Any help?

PhilB66

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 1,513
    • View Profile
    • Donate to Member
Re: Simple single exe to show/hide to taskbar
« Reply #1 on: November 23, 2008, 10:24:37 AM »
Search for "pushtoshow" (a script by skrommel).

Coeluh

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 273
  • Family Guy ^^
    • View Profile
    • Jeroen Coelen
    • Donate to Member
Re: Simple single exe to show/hide to taskbar
« Reply #2 on: November 23, 2008, 10:35:06 AM »
Search for "pushtoshow" (a script by skrommel).
Now that is not what I'm looking for.
1. The thaskbar kets unlocked, don't like it.
2. Also the 'when mouse reaches bottom of the screen show op" function is not fine.
3. I would like to make a clickable shortcut, not a shortkey.

skrommel

  • Fastest code in the west
  • Developer
  • Joined in 2005
  • ***
  • Posts: 886
    • View Profile
    • 1 Hour Software by skrommel
    • Donate to Member
Re: Simple single exe to show/hide to taskbar
« Reply #3 on: December 08, 2008, 09:50:38 AM »
:) How about this?

RunAndHide - Run to hide or show the taskbar.

You'll find the downloads and more info at 1 Hour Software by Skrommel.

Skrommel
Please stop by my site at  1 Hour Software by skrommel  for downloads and more info.
« Last Edit: January 10, 2009, 12:52:56 PM by skrommel »

Coeluh

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 273
  • Family Guy ^^
    • View Profile
    • Jeroen Coelen
    • Donate to Member
Re: Simple single exe to show/hide to taskbar
« Reply #4 on: January 06, 2009, 02:13:39 AM »
:) How about this?

Skrommel

Code: [Select]
;RunAndHide.ahk
; Run to hide or show the taskbar
;Skrommel @ 2008

IfWinExist,ahk_class Shell_TrayWnd
{
  WinHide,ahk_class Shell_TrayWnd
  WinHide,Start ahk_class Button
}
Else
{
  WinShow,ahk_class Shell_TrayWnd
  WinShow,Start ahk_class Button
}
what to do with it?

tomos

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 9,501
    • View Profile
    • Donate to Member
Re: Simple single exe to show/hide to taskbar
« Reply #5 on: January 06, 2009, 05:01:31 AM »
:) How about this?

Skrommel

Code: [Select]
;RunAndHide.ahk
; Run to hide or show the taskbar
;Skrommel @ 2008

IfWinExist,ahk_class Shell_TrayWnd
{
  WinHide,ahk_class Shell_TrayWnd
  WinHide,Start ahk_class Button
}
Else
{
  WinShow,ahk_class Shell_TrayWnd
  WinShow,Start ahk_class Button
}
what to do with it?

if you dont have AutoHotKey, get that and "install" (portable)
save Skrommels code - save as "RunAndHide.ahk" preferably in your AutoHotKey (scripts) folder
~\AutoHotkey\Extras\Scripts
open saved AHK file
Tom

Coeluh

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 273
  • Family Guy ^^
    • View Profile
    • Jeroen Coelen
    • Donate to Member
Re: Simple single exe to show/hide to taskbar
« Reply #6 on: January 06, 2009, 11:16:26 AM »
I've found something
http://rocketdock.co.../addon/docklets/6728

Just this single exe hides it.

SleepingWolf

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 107
    • View Profile
    • Donate to Member
Re: Simple single exe to show/hide to taskbar
« Reply #7 on: January 06, 2009, 02:30:17 PM »
Well I didn't need this, but I tried it; it works and it works well. A zero-byte download (for AHK users) that is transparently safe as opposed to the exe Coeluh plumped for. Leave the file on your desktop and you don't even need to make a shortcut! Go ahead Coeluh, try it. The AutoHotkey download is extremely reusable and flexible; I guarantee you'll need it for another purpose sooner or later.
-------------------------------------------

Choose life -or at least respect it.

Coeluh

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 273
  • Family Guy ^^
    • View Profile
    • Jeroen Coelen
    • Donate to Member
Re: Simple single exe to show/hide to taskbar
« Reply #8 on: January 09, 2009, 06:26:05 PM »
Well I didn't need this, but I tried it; it works and it works well. A zero-byte download (for AHK users) that is transparently safe as opposed to the exe Coeluh plumped for. Leave the file on your desktop and you don't even need to make a shortcut! Go ahead Coeluh, try it. The AutoHotkey download is extremely reusable and flexible; I guarantee you'll need it for another purpose sooner or later.
Well I like not to install AHK just for this, because this simple exe does the job. Thanks though.

skrommel

  • Fastest code in the west
  • Developer
  • Joined in 2005
  • ***
  • Posts: 886
    • View Profile
    • 1 Hour Software by skrommel
    • Donate to Member
Re: Simple single exe to show/hide to taskbar
« Reply #9 on: January 10, 2009, 10:27:00 AM »
 :) Posted a compiled version of RunAndHide above.

Skrommel
Please stop by my site at  1 Hour Software by skrommel  for downloads and more info.

Coeluh

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 273
  • Family Guy ^^
    • View Profile
    • Jeroen Coelen
    • Donate to Member
Re: Simple single exe to show/hide to taskbar
« Reply #10 on: January 14, 2009, 07:55:52 AM »
:) Posted a compiled version of RunAndHide above.

Skrommel
WherE?

PhilB66

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 1,513
    • View Profile
    • Donate to Member
Re: Simple single exe to show/hide to taskbar
« Reply #11 on: January 14, 2009, 08:28:28 AM »

Coeluh

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 273
  • Family Guy ^^
    • View Profile
    • Jeroen Coelen
    • Donate to Member
Re: Simple single exe to show/hide to taskbar
« Reply #12 on: January 16, 2009, 07:53:50 AM »

tomos

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 9,501
    • View Profile
    • Donate to Member
Re: Simple single exe to show/hide to taskbar
« Reply #13 on: January 16, 2009, 02:51:35 PM »
Whats the difference with the one i provided?

do you mean the difference between the exe you found and the one Skrommel coded?

I havent tried either but the obvious first difference is that you asked for help and someone custom-made a piece of software for you
Tom

Coeluh

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 273
  • Family Guy ^^
    • View Profile
    • Jeroen Coelen
    • Donate to Member
Re: Simple single exe to show/hide to taskbar
« Reply #14 on: January 24, 2009, 11:13:26 AM »
Whats the difference with the one i provided?

do you mean the difference between the exe you found and the one Skrommel coded?

I havent tried either but the obvious first difference is that you asked for help and someone custom-made a piece of software for you

Do not get me wrong. I really appreciate his work. I was just being curious that's all!

hamradio

  • Charter Honorary Member
  • Joined in 2006
  • ***
  • Posts: 637
  • Amateur Radio Guy
    • View Profile
    • HamRadioUSA
    • Donate to Member
Re: Simple single exe to show/hide to taskbar
« Reply #15 on: May 21, 2009, 07:08:21 PM »
I also made something when the request first came out and just released it. It is not did with ahk but works like the ahk one for those curious minds.  :)

Can be found on my mini site at http://carrolld.dcme...rs.com/downloads.php
Carroll - HamRadioUSA

lanux128

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 6,218
    • View Profile
    • Coding Snacks by Lanux128
    • Donate to Member
Re: Simple single exe to show/hide to taskbar
« Reply #16 on: May 21, 2009, 08:23:30 PM »
thanks. it works fine, hamradio. :up:

Martina

  • Participant
  • Joined in 2009
  • *
  • Posts: 3
    • View Profile
    • Donate to Member
Re: Simple single exe to show/hide to taskbar
« Reply #17 on: June 09, 2009, 06:54:22 AM »
Please help me!
I'm using Skrommel's PushToShow application in the .exe form and I have a small request. Since I use it as a "special button" on a dock bar is there anybody who could make it work as a taskbar toggler? Like:
 -I click on the icon -> the program starts and hides the taskbar as usual
 -I re-click on the icon -> the program checks if it is already running and if so it shuts down and makes the taskbar visible again

Indeed, the "special button" I mentioned before is a link to a .vbs script that calls a .bat file.

To start dock+PTS I have a link on the QuickLaunch that runs

    CreateObject("Wscript.Shell").Run """C:\\Documents and Settings\\Marco\Documenti\\Programmi portatili\\RK Launcher\\docklets\\Varie\\Avvia dock.bat""",0

which calls

    start "" "C:\Documents and Settings\Marco\Documenti\Programmi portatili\RK Launcher\docklets\Varie\PushToShow.exe"
  start "" "C:\Documents and Settings\Marco\Documenti\Programmi portatili\RK Launcher\RKLauncher.exe"

And this works fine. To shut down, as I wrote above, I've placed a link on the dock that runs

    CreateObject("Wscript.Shell").Run """C:\\Documents and Settings\\Marco\Documenti\\Programmi portatili\\RK Launcher\\docklets\\Varie\\Termina dock.bat""",0

which calls

    tskill RKLauncher
    ***and here I do not know what to put!!!***

Please help me!

Thanks in advance and please answer me,
Martina

lanux128

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 6,218
    • View Profile
    • Coding Snacks by Lanux128
    • Donate to Member
Re: Simple single exe to show/hide to taskbar
« Reply #18 on: June 09, 2009, 08:04:25 PM »
Since I use it as a "special button" on a dock bar is there anybody who could make it work as a taskbar toggler?

you can try hamradio's TaskShowHide which does act as a toggle button.

Martina

  • Participant
  • Joined in 2009
  • *
  • Posts: 3
    • View Profile
    • Donate to Member
Re: Simple single exe to show/hide to taskbar
« Reply #19 on: June 10, 2009, 03:16:22 AM »
Yeah I know but pushtoshow works far better for me, it makes the whole screen available for maximized windows without having to set "autohide taskbar" first, and also doesn't conflict with winamp tray icon.
Hope skrommel is reading this topic :)

hgondalf

  • Participant
  • Joined in 2010
  • *
  • gravatar avatar
  • Posts: 15
    • View Profile
    • Donate to Member
Re: Simple single exe to show/hide to taskbar
« Reply #20 on: May 11, 2010, 09:41:10 PM »
using autohotkey.exe, I have assigned skrommel’s runandhide to a hotkey — the right Winkey, actually — which hides and locks the taskbar.  I use it all the time.

Very simple to put the existing run and hide code between a hotkey assignment and a return statement.
rwinkey::
 {run and hide code }
return