Possible to re-open all windows & programs?

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
Visioneer
Posts: 140
Joined: 07 Oct 2013, 18:51

Possible to re-open all windows & programs?

11 May 2020, 04:26

Hi,

The Mac is loved for being able to re-open windows & programs on reboot.

I know that this can be somewhat accomplished with windows settings,
but it will then always do it on re-boot, which could be annoying to some.
So, I was wondering if it would be possible for AHK to do this, but not
on re-boot, but on-demand. It could have options to constantly update
the state. or explicitly call for the update on-demand. And to allow
the re-opening on demand. I could not find a third party program to
do this. I need it for W7, 8.1, 10

Maybe we could use the native Windows re-boot system to do this, but
hinder it by default, and allow the user to allow it only on-demand?

Thanks
poetbox
Posts: 112
Joined: 18 Apr 2018, 20:47

Re: Possible to re-open all windows & programs?

11 May 2020, 04:49

Visioneer wrote:
11 May 2020, 04:26
Hi,

The Mac is loved for being able to re-open windows & programs on reboot.

I know that this can be somewhat accomplished with windows settings,
but it will then always do it on re-boot, which could be annoying to some.
So, I was wondering if it would be possible for AHK to do this, but not
on re-boot, but on-demand. It could have options to constantly update
the state. or explicitly call for the update on-demand. And to allow
the re-opening on demand. I could not find a third party program to
do this. I need it for W7, 8.1, 10

Maybe we could use the native Windows re-boot system to do this, but
hinder it by default, and allow the user to allow it only on-demand?

Thanks
Instead of rebooting or shutting down your PC,you need click SLEEP to get it.
Visioneer
Posts: 140
Joined: 07 Oct 2013, 18:51

Re: Possible to re-open all windows & programs?

11 May 2020, 14:10

There are many reasons for old PC's to shutdown My PC sleeps after about
30 min no activity all day long. I only "reboot", "shutdown", when I have to.
Often I just have too many things running. It could be a lot of reasons.
Usually it is a freeze. Not often, maybe once a week. A real pain when it
does though.

Thanks anyway.
GEV
Posts: 1002
Joined: 25 Feb 2014, 00:50

Re: Possible to re-open all windows & programs?

11 May 2020, 17:27

You can open the recent items folder and choose which files you want re-open:

Code: Select all

RegRead, recent, HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders, Recent
Run % recent
poetbox
Posts: 112
Joined: 18 Apr 2018, 20:47

Re: Possible to re-open all windows & programs?

16 May 2020, 05:00

Visioneer wrote:
11 May 2020, 14:10
There are many reasons for old PC's to shutdown My PC sleeps after about
30 min no activity all day long. I only "reboot", "shutdown", when I have to.
Often I just have too many things running. It could be a lot of reasons.
Usually it is a freeze. Not often, maybe once a week. A real pain when it
does though.

Thanks anyway.
And cannot install a virtual machine, Vbox or VM?
Visioneer
Posts: 140
Joined: 07 Oct 2013, 18:51

Re: Possible to re-open all windows & programs?

21 May 2020, 22:11

Interesting idea poetbox, but so radical, it might compromise the so, so many things I am doing.
I know nothing about VM etc. anyway. Got any links to learn your suggestions?

I am using new Edge a lot lately, on W7 LOL. Works great. Can that get restored, or
10 notepad txt files opened, or 6+ PSPad files, 8 folders, 6-10 IE11 pages, 3 Core FTP LE,
a Helpndoc instance, 2 IE11 emails, and now an Apache Open Office or other Database
builder, and of course my own exe of AHK of links with notes saver w/4 browsers program.
Racing to setup Covid-19 responses.

This is slightly off topic, but I suspect my custom ahk exe program is conflicting with
Core FTP LE(usually 3 instances running) It seems I lose some functionality more
often, now that I am running that all the time.

Thanks
BoBo
Posts: 6564
Joined: 13 May 2014, 17:15

Re: Possible to re-open all windows & programs?

22 May 2020, 02:11

AFAIK, killing the explorer.exe-process and execute it is the equivalent of doing a restart. The challenge, identifying the currently active processes that you want to get restarted. Creating shortcut-clones within a private 'start-up'-folder every time you open an application, and removing these once its assigned application gets closed? ...
poetbox
Posts: 112
Joined: 18 Apr 2018, 20:47

Re: Possible to re-open all windows & programs?

23 May 2020, 02:02

Visioneer wrote:
21 May 2020, 22:11
Interesting idea poetbox, but so radical, it might compromise the so, so many things I am doing.
I know nothing about VM etc. anyway. Got any links to learn your suggestions?

I am using new Edge a lot lately, on W7 LOL. Works great. Can that get restored, or
10 notepad txt files opened, or 6+ PSPad files, 8 folders, 6-10 IE11 pages, 3 Core FTP LE,
a Helpndoc instance, 2 IE11 emails, and now an Apache Open Office or other Database
builder, and of course my own exe of AHK of links with notes saver w/4 browsers program.
Racing to setup Covid-19 responses.

This is slightly off topic, but I suspect my custom ahk exe program is conflicting with
Core FTP LE(usually 3 instances running) It seems I lose some functionality more
often, now that I am running that all the time.

Thanks
If you have VM or Vbox,you can easily restore anything in it's own way,you needn't to count the number of your appliations,whether you have opened 1000 notepad txt files, or 60+ PSPad files, 800 folders, 6-10 IE11 pages, 30 Core FTP LE, 2000 IE11 emails...

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: filipemb, wineguy and 378 guests