Author |
Message |
karam
Joined: 31 Dec 2012 Posts: 10
|
Posted: Sun Nov 01, 2015 3:38 pm Post subject: script local_auto_end.vbs for sound |
|
|
Hi,
It is impossible to make and start a script. It is necessary that after synchronization there was a sound and a window: "Synchronization took place successfully".
According to the instruction connected a script, but VVEngine v2.1 (Build 2105) does not finish work. It is reported that the script is executed - Status Details.
Possibly, I incorrectly made a script.
"HomeDesk_MobHDD_Docum_auto_end.vbs"
Code: | Set WMP = WScript.CreateObject("MediaPlayer.MediaPlayer","WMP_")
WMP.Open "c:\Windows\Media\Windows Exclamation.wav"
WMP.Play
MsgBox("Synchronization took place successfully " & WScript.ScriptFullName)
WScript.Sleep 100 |
I ask to help. |
|
Back to top |
|
|
TGRMN Software Site Admin
Joined: 10 Jan 2005 Posts: 8763
|
|
Back to top |
|
|
karam
Joined: 31 Dec 2012 Posts: 10
|
Posted: Mon Nov 02, 2015 2:46 pm Post subject: |
|
|
After start of a profile in VVEngine copying was made. Worked a sound from a script (but the window of the message did not appear).
And the profile did not come to the end. Therefore stopped manually.
Did different options of a script, but result identical.
But I do not know how to attach a log file to the message.
Tried to insert file reference, located on other server, but your site did not resolve it.
Contains in the last lines of the ravine:
2015-11-01 21:52:02 : Running script c:\Program Files\ViceVersa Pro\GlobalScripts\syncr_end.vbs
2015-11-01 21:57:01 : Script timeout.
2015-11-01 21:57:01 : Script Output:
2015-11-01 21:57:01 : ‘ҐаўҐа бжҐ аЁҐў Windows (Microsoft R) ўҐабЁп 5.8
2015-11-01 21:57:01 : c Љ®аЇ®а жЁп Њ ©Єа®б®дв (Microsoft Corp.), 1996-2001. ‚ᥠЇа ў § йЁйҐл.
2015-11-01 21:57:01 : End Script Output
2015-11-01 21:57:01 : Failed deleting script temp file C:\Windows\TEMP\~scBFBB.tmp
2015-11-01 21:57:01 : Exit Code: 4. Execution canceled by user. [ERROR]
2015-11-01 21:57:01 : ************************************************************
VVEngine is started from under the user with common laws (Windows 7 rus)
The script if to start manually, works normally. And among the user with common laws. |
|
Back to top |
|
|
TGRMN Software Site Admin
Joined: 10 Jan 2005 Posts: 8763
|
Posted: Mon Nov 02, 2015 10:42 pm Post subject: |
|
|
Hi, messages would not appear if run from VVEngine because VVEngine runs all profiles in the background without user interaction. _________________ --
TGRMN Software Support
http://www.tgrmn.com
http://www.compareandmerge.com |
|
Back to top |
|
|
karam
Joined: 31 Dec 2012 Posts: 10
|
Posted: Tue Nov 03, 2015 1:25 pm Post subject: |
|
|
It, of course, badly.
1. A problem also that work of the VVEngine profile does not come to the end automatically if the script stated above is connected.
How to make that after synchronization worked a script, and VVEngine successfully finished work in a profile.
2. Whether it is possible to make so that after all messages appeared. Can think up something in a script. |
|
Back to top |
|
|
TGRMN Software Site Admin
Joined: 10 Jan 2005 Posts: 8763
|
Posted: Tue Nov 03, 2015 11:33 pm Post subject: |
|
|
Hi, if you want the script message to appear you will need to use the VVScheduler tool (included in ViceVersa) and use the option /dialogautoexec _________________ --
TGRMN Software Support
http://www.tgrmn.com
http://www.compareandmerge.com |
|
Back to top |
|
|
karam
Joined: 31 Dec 2012 Posts: 10
|
Posted: Wed Nov 04, 2015 2:16 am Post subject: |
|
|
Thanks for the answer.
But problems remain.
1. How to be with a problem 1 of the previous message
2. For start of my profiles I do not use VVScheduler. My profiles are started automatically after connection of USB-HDD (setup in VVEngine). As far as I know, VVScheduler cannot be configured on start of a task after connection of USB-HDD.
Whether it is possible to enter into VVEngine something similar to the option/dialogautoexec? |
|
Back to top |
|
|
karam
Joined: 31 Dec 2012 Posts: 10
|
Posted: Mon Nov 09, 2015 7:13 am Post subject: Help |
|
|
Hello.
Problems remained not solved. I ask to help. |
|
Back to top |
|
|
TGRMN Software Site Admin
Joined: 10 Jan 2005 Posts: 8763
|
Posted: Wed Nov 11, 2015 10:48 pm Post subject: |
|
|
Hi , VVEngine only runs tasks completely hidden, it does not support having dialogs in the scripts. you could send an e-mail at the and of execution instead (see ViceVersa profile settings). thanks _________________ --
TGRMN Software Support
http://www.tgrmn.com
http://www.compareandmerge.com |
|
Back to top |
|
|
karam
Joined: 31 Dec 2012 Posts: 10
|
Posted: Thu Nov 12, 2015 2:13 pm Post subject: How to be? |
|
|
Thanks for the answer.
In that case the question 2 is removed (about a message window from a script).
But the question 1 is actual.
Why work of the VVEngine profile does not come to the end if the script only with a sound is provided in a profile.
Code: | Set WMP = WScript.CreateObject("MediaPlayer.MediaPlayer","WMP_")
WMP.Open "c:\Windows\Media\Windows Exclamation.wav"
WMP.Play
Do
WScript.Sleep 100
Loop Until WMP.playState = 1 |
It would be desirable that after connection of USB-HDD the profile was started, and then there was either a sound, or a window about the end of process.
Whether VVEngine can finish for this purpose? |
|
Back to top |
|
|
TGRMN Software Site Admin
Joined: 10 Jan 2005 Posts: 8763
|
Posted: Thu Nov 12, 2015 9:56 pm Post subject: |
|
|
Are you running VVEngine as a service? Under which account?
Does the script work correctly when the profile is run with
ViceVersa?
thanks _________________ --
TGRMN Software Support
http://www.tgrmn.com
http://www.compareandmerge.com |
|
Back to top |
|
|
karam
Joined: 31 Dec 2012 Posts: 10
|
Posted: Fri Nov 13, 2015 2:24 pm Post subject: ViceVersa does not work |
|
|
I have Windows 7 rus.
VVEngine is started as service.
As a rule, I work with the rights of the ordinary user.
If to start a script from the Explorer, it works normally.
If to start a script from ViceVersa, after synchronization there is a sound and ViceVersa ceases to respond. For closing of ViceVersa it is necessary to use a task manager.
ViceVersa is always started with the rights of the administrator (even if to start from under login with common laws). |
|
Back to top |
|
|
TGRMN Software Site Admin
Joined: 10 Jan 2005 Posts: 8763
|
Posted: Sun Nov 15, 2015 11:23 pm Post subject: |
|
|
Hi, thanks, it must be an issue with the sound in the script and running the profile (and the script) as a service (services have no console available). _________________ --
TGRMN Software Support
http://www.tgrmn.com
http://www.compareandmerge.com |
|
Back to top |
|
|
karam
Joined: 31 Dec 2012 Posts: 10
|
Posted: Mon Nov 16, 2015 1:19 pm Post subject: What's next? |
|
|
Hi, thanks, there are any ideas to solve a problem? |
|
Back to top |
|
|
TGRMN Software Site Admin
Joined: 10 Jan 2005 Posts: 8763
|
Posted: Tue Nov 17, 2015 12:41 am Post subject: |
|
|
Services cannot interact with the desktop (e.g. sounds , messages, etc). If you want to have sound / messages in the end script, you should run VVEngine as a normal start-up program instead of a service. Is that a possibility in your setup? thanks _________________ --
TGRMN Software Support
http://www.tgrmn.com
http://www.compareandmerge.com |
|
Back to top |
|
|
|