topbanner_forum
  *

avatar image

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

Login with username, password and session length
  • Friday March 29, 2024, 2:11 am
  • Proudly celebrating 15+ 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: Closing window  (Read 4760 times)

ClipPete

  • Participant
  • Joined in 2014
  • *
  • default avatar
  • Posts: 15
    • View Profile
    • Donate to Member
Closing window
« on: September 26, 2014, 08:52 PM »
Hi Folks,

I had CH&S set up to accomplish one particular task. It was working nicely.
The program I was using it with, changed their code and is now giving me problems.

In order to fix the problem I would like to know how I can close the CH&S window using keystrokes?

I know I can open the CH&S window by using the hotkey: Crtl-Alt-W.
What is the hotkey to close the CH&S window?

Right now the only way I can find to close it is by mouse clicking the 'x' in the top right corner.
I don't want to close the program, just the window.

TIA!





mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,896
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Closing window
« Reply #1 on: September 26, 2014, 08:56 PM »
If I make ctrl+alt+W toggle the window closed if it is already showing, would that solve your problem?

ClipPete

  • Participant
  • Joined in 2014
  • *
  • default avatar
  • Posts: 15
    • View Profile
    • Donate to Member
Re: Closing window
« Reply #2 on: September 26, 2014, 09:03 PM »
If I make ctrl+alt+W toggle the window closed if it is already showing, would that solve your problem?

Yes that would solve my problem! 
If you could do it that would be great.  :)

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,896
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Closing window
« Reply #3 on: September 26, 2014, 09:15 PM »
i will add it for next release (ill try to get a beta out this weekend).

ClipPete

  • Participant
  • Joined in 2014
  • *
  • default avatar
  • Posts: 15
    • View Profile
    • Donate to Member
Re: Closing window
« Reply #4 on: September 26, 2014, 09:21 PM »
i will add it for next release (ill try to get a beta out this weekend).

Thanks very much mouser, I really appreciate it.   :)

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,896
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member

ClipPete

  • Participant
  • Joined in 2014
  • *
  • default avatar
  • Posts: 15
    • View Profile
    • Donate to Member
Re: Closing window
« Reply #6 on: October 01, 2014, 04:47 PM »
Try beta:

Thanks Mouser for that!
I tried out the code with my script and it is working nicely.

As I was working with my script (AutoHotKey) just now, trying to fix up a couple of other things, I noticed another line in my CH&S code that jumped out at me.
It was: Send, !{F4}

Sure enough when I tried it out, (it was code that I had been using later on in my script) it also was capable of closing CH&S. :)
Usually Alt-F4 will close down a program, but for some reason it just closes the CH&S window (which is exactly what I wanted).

I noticed that the .exe is quite a bit larger than the previous version, so I hope you made a few more adjustments besides the Ctrl-Alt-W.  :)

Thanks again for your help, I really appreciate it.

It took a while before I was able to get your program to copy a few fields and store them so I could later retrieve them for use in Excel (all with keystrokes), but I finally figured it out earlier this year.
Yours was the only clip program I tried that could accomplish this.  :)