Any way to preview audio and control playback?

General discussion related to "Everything".
Post Reply
inthevoid
Posts: 13
Joined: Thu May 05, 2016 1:04 pm

Any way to preview audio and control playback?

Post by inthevoid »

Is there any way to preview audio files but control the start and stop playback? For example, choose the file in everything and instead of using the mouse to press the play button of the player, the audio file will play automatically as soon as its selected.

Or select an audio file but use Spacebar to initiate start and stop of the selected audio file.

Is it in any way possible?
raccoon
Posts: 1017
Joined: Thu Oct 18, 2018 1:24 am

Re: Any way to preview audio and control playback?

Post by raccoon »

I am not aware that Everything even facilitates audio playback of any kind, let alone automatically upon selecting a file. Please explain where you have found this preview audio feature.
inthevoid
Posts: 13
Joined: Thu May 05, 2016 1:04 pm

Re: Any way to preview audio and control playback?

Post by inthevoid »

View - > Preview

When selecting an audio file the player appears on the right side
raccoon
Posts: 1017
Joined: Thu Oct 18, 2018 1:24 am

Re: Any way to preview audio and control playback?

Post by raccoon »

Strange. Mine doesn't do that. (current version)

Maybe it's an OS level thing.
inthevoid
Posts: 13
Joined: Thu May 05, 2016 1:04 pm

Re: Any way to preview audio and control playback?

Post by inthevoid »

I'm on Windows.
vsub
Posts: 475
Joined: Sat Nov 12, 2011 11:51 am

Re: Any way to preview audio and control playback?

Post by vsub »

Everything don't have such feature but you can try this AutoHotkey Script that I just made...it works but I can't tell if you will encounter problems

When the preview feature is active and the WMP is loaded,AHK will click on the play button when I file is selected

Code: Select all

#IfWinActive,AHK_class EVERYTHING
~LButton::
Keywait,LButton
MouseGetPoS,,,,C
If C != SysListView321
Return
StatusBarGetText,Text,1,A
If Text contains objects
Return
SetTimer,Check,-1000
Return

Check:
IfWinNotActive,AHK_class EVERYTHING
Return
ControlGet,ID,HWND,,AtlAxWin1,A
If ID =
Return

ControlGetPos,X,Y,W,H,,Ahk_ID %ID%
MouseGetPoS,CX,CY
MouseMove,% X + ( W /2 ),% Y + H - 20,0
Click
MouseMove,% CX,% CY,0
Return

#If
It waits 1 second after clicking because sometimes the player need time to be loaded and if you click again on the same file,it will pause the player
froggie
Posts: 302
Joined: Wed Jun 12, 2013 10:43 pm

Re: Any way to preview audio and control playback?

Post by froggie »

Am I missing something in the question? Just double click on an audio file and it opens in your default player, with the player controls visible if you have your player configured like that. I use VLC but I expect it will work like that for other players.
vsub
Posts: 475
Joined: Sat Nov 12, 2011 11:51 am

Re: Any way to preview audio and control playback?

Post by vsub »

The point is to use the build in player in Everything(it's not exactly builded in),not something external.
I have a much more complicated script that uses WMP like Everything but in much better way(you have more control over the player)

For example if I search for some song in multiple folders,it is much easier to play the file in everything rather than opening another player and constantly switching between the player and everything

And something else but that just personal preference...I only double click on things that I want to keep in my "Home" page which is set to display first the things that I run at least once so I can run them again without having to search for them.
inthevoid
Posts: 13
Joined: Thu May 05, 2016 1:04 pm

Re: Any way to preview audio and control playback?

Post by inthevoid »

Thank you! I'll give it a shot.
ovg
Posts: 294
Joined: Thu Oct 27, 2016 7:19 pm

Re: Any way to preview audio and control playback?

Post by ovg »

https://www.winhelponline.com/blog/prev ... ows-vista/
Untitled.jpg
Untitled.jpg (252.87 KiB) Viewed 10822 times
inthevoid
Posts: 13
Joined: Thu May 05, 2016 1:04 pm

Re: Any way to preview audio and control playback?

Post by inthevoid »

The previewconfig tool does not work, at least for me on Window 10.
ovg
Posts: 294
Joined: Thu Oct 27, 2016 7:19 pm

Re: Any way to preview audio and control playback?

Post by ovg »

Sorry, i don't have W10. For me working fine (under W7).
vsub
Posts: 475
Joined: Sat Nov 12, 2011 11:51 am

Re: Any way to preview audio and control playback?

Post by vsub »

inthevoid wrote: Tue Sep 24, 2019 8:50 am The previewconfig tool does not work, at least for me on Window 10.
Can you tell me step by step what you are doing and show me how Everything looks like
Works fine here
I just run the script and when the player is visible,the script clicks on the play button

One reason I can think of why it is not working is if you are running Everything as admin...in this case AHK don't have the required privileges to do that)
You have to either run Everything as normal user and use the service or set a compatibility on the AutoHotkey.exe(right click=>properties=>compatibility)to be starter as admin when you run a script
inthevoid
Posts: 13
Joined: Thu May 05, 2016 1:04 pm

Re: Any way to preview audio and control playback?

Post by inthevoid »

Regarding the previewconfig tool
1) Open previewconfig, .mp3, Media File (audio,video) selected and applied
2) Run Everything as a service , not as admin

Preview opens the player but upon selecting an mp3 file, it doesn't play automatically or with the spacebar
Post Reply