Macrium Support Forum

This forum is for Version 5 of Macrium Reflect.
Version 6 users should join our new forum here.

Version 5 support expired on 17 February 2016.

Find out more
Macrium Support Forum
Macrium Support Forum    RSS 2.0  RSS Feed      KB
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
 All Forums
 Reflect v4
 Wish List
 Popup end of backup
 Forum Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

luka70
New Member

Italy
27 Posts

Posted - February 13 2010 :  18:31:07  Show Profile
Is possible at the end of the backup, display a popup on the desktop with success or failure of the backup? Tray bar message is displayed only for a few seconds.
Thanks

Luca

zfactor
New Member

USA
16 Posts

Posted - February 13 2010 :  22:19:14  Show Profile
actually that would be a nice feature especially for say my wife who never would bother to actually check to see if any errors showed up ever till its to late
Go to Top of Page

Nick
Moderator

United Kingdom
6303 Posts

Posted - February 14 2010 :  09:08:56  Show Profile
Hi

You can add a popup message using VBScript:

After the line:
' Handle backup error 
Add:
WScript.Echo("Backup Failed")
After the line:
' Everything OK
Add:
WScript.Echo("Successful Backup")


Hope this helps

Nick - Macrium Support

Go to Top of Page

luka70
New Member

Italy
27 Posts

Posted - February 14 2010 :  11:07:05  Show Profile
Hi Nick,
your suggestion is perfect!
You are always very polite and efficient.
Thanks

Best Regards


Luca
Go to Top of Page

Luca
Frequent Poster

Italy
137 Posts

Posted - May 13 2011 :  11:47:32  Show Profile
quote:
Originally posted by Nick

Hi

You can add a popup message using VBScript:

After the line:
' Handle backup error 
Add:
WScript.Echo("Backup Failed")
After the line:
' Everything OK
Add:
WScript.Echo("Successful Backup")


Hope this helps

Nick - Macrium Support




Nick,
can you enter a timeout of 10 seconds to popup?
This is possible?

Thanks
Regards


Luca
Go to Top of Page

alan9182
Advanced Member

United Kingdom
527 Posts

Posted - May 13 2011 :  13:22:59  Show Profile
When I have launched a backup I have far better things to do than sit at the computer waiting for a pop-up that lasts only 10 seconds.

When I have done the better things I want to see the status.

I consider PAUSE awaiting my keyboard entry to be a better solution.

I always follow a backup with a DIR to see how this Incremental compares with the previous.

Thanks for this topic, it has solved my needs.
After Decades of using DOS and BATCH I have just used the Convert XML to Batch option, and simply appended these two lines to the script

DIR "E:\Master Images"\*.mrimg /O:D | FIND "/"
PAUSE


Regards
Alan


O/S: Microsoft Windows 7 Ultimate *64 SP1
Graphics: HIS ATI Radeon HD 4670 1GB GDDR3
Motherboard: ASUS M3A32-MVP DELUXE AMD 790FX
Processor: AMD Phemom 9500 Quad Core 2206 Mhz
Hard Drive: Samsung HD103SJ, 931GB, MBR, 32MB Cache
Hard Drive: WD Caviar Black, 640GB, GPT, 32MB Cache
RAM: Corsair XMS 6400 4GB (2X2GB) 800mhz
Go to Top of Page

Luca
Frequent Poster

Italy
137 Posts

Posted - May 13 2011 :  14:13:56  Show Profile
quote:
Originally posted by alan9182

When I have launched a backup I have far better things to do than sit at the computer waiting for a pop-up that lasts only 10 seconds.

When I have done the better things I want to see the status.

I consider PAUSE awaiting my keyboard entry to be a better solution.

I always follow a backup with a DIR to see how this Incremental compares with the previous.

Thanks for this topic, it has solved my needs.
After Decades of using DOS and BATCH I have just used the Convert XML to Batch option, and simply appended these two lines to the script

DIR "E:\Master Images"\*.mrimg /O:D | FIND "/"
PAUSE


Regards
Alan


O/S: Microsoft Windows 7 Ultimate *64 SP1
Graphics: HIS ATI Radeon HD 4670 1GB GDDR3
Motherboard: ASUS M3A32-MVP DELUXE AMD 790FX
Processor: AMD Phemom 9500 Quad Core 2206 Mhz
Hard Drive: Samsung HD103SJ, 931GB, MBR, 32MB Cache
Hard Drive: WD Caviar Black, 640GB, GPT, 32MB Cache
RAM: Corsair XMS 6400 4GB (2X2GB) 800mhz



Alan,
thanks for your comments, but I would need what I asked.

Regards


Luca
Go to Top of Page

Nick
Moderator

United Kingdom
6303 Posts

Posted - May 14 2011 :  07:43:18  Show Profile
Hi Luca

I'm afraid this is not possible.

There is a VBScript function WshShell.Popup, but it has a bug and it seems to ignore the timeout.

http://msdn.microsoft.com/en-us/library/x83z1d9f(v=vs.85).aspx

Kind Regards

Nick - Macrium Support

Go to Top of Page

Luca
Frequent Poster

Italy
137 Posts

Posted - May 14 2011 :  08:48:42  Show Profile
quote:
Originally posted by Nick

Hi Luca

I'm afraid this is not possible.

There is a VBScript function WshShell.Popup, but it has a bug and it seems to ignore the timeout.

http://msdn.microsoft.com/en-us/library/x83z1d9f(v=vs.85).aspx

Kind Regards

Nick - Macrium Support




Nick,
I found this workaround:

WScript.Echo("Backup Failed")
WScript.Timeout

then we must define the time in the registry:
HKEY_CURRENT_USER\Software\Microsoft\Windows Script Host\Settings\Timeout

Regards

Luca

Edited by - Luca on May 14 2011 08:50:00
Go to Top of Page

Luca
Frequent Poster

Italy
137 Posts

Posted - May 14 2011 :  19:02:27  Show Profile
Eureka!!!
I found the solution.

' Handle backup error 
Dim wshShell, Result
set WshShell = CreateObject("WScript.Shell")
Result = WshShell.Popup("Backup Failed", 10, "Information", 64 + 4096)

		objShell.LogEvent 1, "Macrium Reflect - Backup Failed"
	elseif objExecObject.exitcode = 0 then
' Everything OK
set WshShell = CreateObject("WScript.Shell")
Result = WshShell.Popup("Successful Backup", 10, "Information", 64 + 4096)

		objShell.LogEvent 0, "Macrium Reflect - Successful Backup"

Regards

Luca

Edited by - Luca on May 16 2011 13:12:56
Go to Top of Page
  Previous Topic Topic Next Topic  
 Forum Locked
 Printer Friendly
Jump To:
Macrium Support Forum © Paramount Software UK Ltd Go To Top Of Page
This page was generated in 0.3 seconds. Snitz Forums 2000