Re: playing sounds with personnalised file operations
Posted: 19 May 2013 22:19
But the tweak doesn't?cslevine wrote:OK this works well.Simply paste something like this into the address bar (of course with a file you have):
Forum for XYplorer Users and Developers
https://www.xyplorer.com/xyfc/
But the tweak doesn't?cslevine wrote:OK this works well.Simply paste something like this into the address bar (of course with a file you have):
still no working, for me.But the tweak doesn't?
Could you please explain step-by-step how exactly you set the tweak?cslevine wrote:still no working, for me.But the tweak doesn't?
OK : There is a part of my XYplorer.iniCould you please explain step-by-step how exactly you set the tweak?
And what exact file operation you are performing and expecting the BJ sound.
Code: Select all
; Tweak: time (in ms) between consecutive background jobs
MsecDelayNextQueuedJob=0
BJSoundAllDone="test.wav"
BJSoundAllDuration=0
BJSoundJobDone="test.wav"
BJSoundJobDuration=0
FileOpProgressModeless=1
NoDeleteConfirmation=0
PreservePermissionsOnMove=1
; Tweak: turn off safety check on move uphiadmin wrote:There are some tweaks for this:Some info from the change log:Code: Select all
BJSoundAllDone= BJSoundAllDuration=0 BJSoundJobDone= BJSoundJobDuration=0Code: Select all
+ Tweak to define a sound to be played after the completion of each background job *if* the job was at least of a configurable duration. BJSoundJobDone=<full or portable path to a WAV file> BJSoundJobDuration=<number of seconds> BJSoundJobDuration defines the number of seconds a job has to take at least in order to trigger the sound defined in BJSoundJobDone. For example: BJSoundJobDone="bum.wav" BJSoundJobDuration=66 Now each background file operation that takes at least 66 seconds would trigger playing "<xypath>\bum.wav" on completion. + Tweak to define a minimal duration of all background jobs within one queue until the sound defined in BJSoundAllDone is played. BJSoundAllDuration=<number of seconds> + Tweak to define a sound to be played when all pending background jobs are completed. BJSoundAllDone=<full or portable path to a WAV file> FYI, a "portable path" supports environment variables and native variables, and, if not full, is resolved relative to app path. Note that the sound will be asynchronously (=non-blocking) played one time to its full length and at the current system volume for WAV output. The only way to stop it prematurely would be to execute this script line: ::sound; // stop any playing sound Hence the tip: choose a short sound! :)
If you mean events, then no. These tweaks only play when either one job has completed or all jobs have completed (depending on tweak) and then only if they are as long as the duration tweaks specify.giuliastar wrote:but is there a list of evens?
for exampleTheQwerty wrote:The instructions here tell you exactly how to tweak your configuration. Whether your install is portable or not makes no difference in this.
If you mean events, then no. These tweaks only play when either one job has completed or all jobs have completed (depending on tweak) and then only if they are as long as the duration tweaks specify.giuliastar wrote:but is there a list of evens?
No, at this time the sound is played for all operations regardless of type.giuliastar wrote:can i configure 1 sound for copy, 1 sound for move and 1 sound for wipe?
thanksTheQwerty wrote:No, at this time the sound is played for all operations regardless of type.giuliastar wrote:can i configure 1 sound for copy, 1 sound for move and 1 sound for wipe?