I would like to receive a sound alert at the completion of lengthy file searches ...
(or in any other time consuming operations...)
Is there any way to achieve this in XYplorer ?
Thanks !
Sound alert after lengthy file search operation ?
-
- Posts: 23
- Joined: 30 Jun 2013 17:41
-
- Site Admin
- Posts: 60602
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: Sound alert after lengthy file search operation ?
There is an old tweak that can play a sound of your choice when a backtground operation finishes:
And this one when ALL operations are completed:
Code: Select all
v9.50.0112 - 2010-09-30 12:03
...
+ 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.
Code: Select all
v9.50.0110 - 2010-09-28 20:24
+ 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! :)
FAQ | XY News RSS | XY Twitter
-
- Posts: 23
- Joined: 30 Jun 2013 17:41
Re: Sound alert after lengthy file search operation ?
Sorry to ask but i wasn't able to get that tweak to work ...
I suppose it's an entry to insert in xyplorer.ini (?)
Here's what i've done :
Am i forgetting anything ? Anything wrong with the file path ?
Thanks for your help.
I suppose it's an entry to insert in xyplorer.ini (?)
Here's what i've done :
Code: Select all
[Chris]
BJSoundJobDone="D:\[Documents-Chris]\Son et Vidéo\Sons\bells-tibetan-daniel-simon.wav"
BJSoundJobDuration=30
Thanks for your help.
-
- Site Admin
- Posts: 60602
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: Sound alert after lengthy file search operation ?
No, it works like this:
https://www.xyplorer.com/faq-topic.php?id=tweak
(should have posted that link right away, excuse my laziness)
https://www.xyplorer.com/faq-topic.php?id=tweak
(should have posted that link right away, excuse my laziness)
FAQ | XY News RSS | XY Twitter
-
- Posts: 23
- Joined: 30 Jun 2013 17:41
Re: Sound alert after lengthy file search operation ?
The tweak seems to work for tasks like files copy and paste operations but not for find files searches.
Is it the expected behaviour ?
Aren't find files searches "background operations" ?
Is it the expected behaviour ?
Aren't find files searches "background operations" ?
-
- Site Admin
- Posts: 60602
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: Sound alert after lengthy file search operation ?
Nope.
I might add it.
Who is using those sounds anyway?
I might add it.
Who is using those sounds anyway?
FAQ | XY News RSS | XY Twitter
Re: Sound alert after lengthy file search operation ?
Me! I have a weekly lengthy scripted sync job chain (*), where an end-of-chain noise would makes sense.
*: hmmm, scripted sync jobs [ sync() ] are background file ops, aren't they?
-
- Site Admin
- Posts: 60602
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: Sound alert after lengthy file search operation ?
For scripters there is the sound command.
FAQ | XY News RSS | XY Twitter