Author |
Message |
Alice
Joined: 29 Jan 2015 Posts: 277
|
Posted: Thu Mar 17, 2016 9:38 pm Post subject: Display 'Please wait' msg during 'Run scripts before comp..' |
|
|
[ ViceVersa pro 2.5 - Build 2516 - (64-bit) with Windows 10 Pro ]
Hi, I have a group of graphic designers in my organisation who create and organise (sort) graphics files using a special piece of software. This software allows a 'drag and drop' then 'rename' visual view to arrange files linked to its own internal database, which plays havoc with the NTFS file system. So file '3.dwg' could in fact hold completely different data (to the copy on the server) by the time they have finished visually arranging and then renaming the files within the special software.
My workaround to backup these changes at the end of each day and ensure that 'what they see is what they get' the next day...is to completely delete all files in the 'Target' (Destination) server folder using VV - 'Run scripts before comparison' triggering a .bat to delete all files, then run a full 'Mirror' copy :
Code: | RD S:\-Serv~1\Utils\Image /S /Q
rem ping command waits 3 seconds to allow 'S:\-Serv~1\Utils\Image' to complete
ping localhost -n 3 > nul
exit |
During the time that the .bat is deleting files (measured in thousands) a Windows 'little blue spinning wheel' displays before control is returned to ViceVersa to run the file copy. Unfortunately, staff tend to turn the PC off as they think it has 'hung' (blue wheel spinning) before the .bat completes...
Simple question, is there a way to display a 'Please wait....' message on screen as VV executes a 'Run scripts before comparison' command....?
Tks
Alice |
|
Back to top |
|
|
TGRMN Software Site Admin
Joined: 10 Jan 2005 Posts: 8763
|
|
Back to top |
|
|
Alice
Joined: 29 Jan 2015 Posts: 277
|
Posted: Wed Mar 23, 2016 10:35 pm Post subject: |
|
|
Not sure I know what you mean
The .bat file is called via ViceVersa pro 2.5 - Build 2516 - (64-bit) (not Engine) :
[ File ] / [ Change Profile Settings...] / 'Execution' / 'Advanced Settings' / 'Custom Scripts' / 'Run scripts before comparison' |
|
Back to top |
|
|
TGRMN Software Site Admin
Joined: 10 Jan 2005 Posts: 8763
|
Posted: Sun Mar 27, 2016 5:38 am Post subject: |
|
|
Hi, the issue is that if you show a popup but run the profile silently / hidden via VVScheduler or VVEngine the profile could stop forever waiting for user input... _________________ --
TGRMN Software Support
http://www.tgrmn.com
http://www.compareandmerge.com |
|
Back to top |
|
|
Alice
Joined: 29 Jan 2015 Posts: 277
|
Posted: Mon Mar 28, 2016 12:24 pm Post subject: |
|
|
Hi and thanks for your comments and guidance.
I used the command msg under Windows 10 Pro with a /time:<Seconds> parameter in a .bat file as follows :
Code: |
msg Admin /time:25 Do not turn this PC off, 'copy job' loading within 30 seconds...
RD S:\-Serv~1\Utils\Image /S /Q
rem ping command waits 3 seconds to allow 'S:\-Serv~1\Utils\Image' to complete
ping localhost -n 3 > nul
exit
|
the custom message displays for 25 seconds and then disappears, at which point the Windows 'little blue spinning wheel' also disappears and the VV Pro job continues with the actual copy, a bit crude, but it seems to be accepted by the staff !
Tks
Alice |
|
Back to top |
|
|
TGRMN Software Site Admin
Joined: 10 Jan 2005 Posts: 8763
|
|
Back to top |
|
|
|