Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: foo_DeleteCurrent (Read 40663 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

foo_DeleteCurrent

Reply #25
How can I prevent that foobar is maximised everytime the confirmation window appears?
I don't want to disable the confirmation itself, though.

Thanks!

foo_DeleteCurrent

Reply #26
How can I prevent that foobar is maximised everytime the confirmation window appears?
I don't want to disable the confirmation itself, though.

Thanks!


Unfortunately, the only way is to disable the confirmation. A message box must be attached to an existing window, otherwise it always appear behind other windows.

N.

foo_DeleteCurrent

Reply #27
Hey!
It's a great plugin. But it will be useful for me the folowing function:
Move the currently playing file to a specified folder.
Can you do that?
Thank you

foo_DeleteCurrent

Reply #28
Hey!
It's a great plugin. But it will be useful for me the folowing function:
Move the currently playing file to a specified folder.
Can you do that?
Thank you


Hello.

This could be the purpose of another component, but it is very unlikely I will be the one who creates this function.

Regards
Nicolas Hatier

foo_DeleteCurrent

Reply #29
^^ it´s possible with foo_fileops

foo_DeleteCurrent

Reply #30
The component has been updated with an option to delete without confirmation.

http://www.niversoft.com/downloads/foo_DeleteCurrent.zip
Hey, where can I find this option?

Hello,

I just have downloaded and installed the tool. Unfortunately, I still have the message appearing:

"Do you want to delete current playing song? The file will be moved in the Recycle Bin if possible."

In the Assigned shortcuts I have selected: "Playback => Delete current song"
Any ideas how to turn off this message?

foo_DeleteCurrent

Reply #31
Just registered here to say thank you again for creating this. I've been using it four about 3 years

Re: foo_DeleteCurrent

Reply #32
Here's how to disable the confirmation window when deleting songs to Recycle Bin using foo_DeleteCurrent plugin:

Menu toolbar Playback - uncheck Ask for confirmation before deleting.



Re: foo_DeleteCurrent

Reply #33
Hello Niver,

I just registered to thank you for making this plug-in. I like to listen to entire discographies and this function is incredibly useful.

Thank you!

Re: foo_DeleteCurrent

Reply #34
Yeah, very useful.

I used this function in the good old foo_AdvancedControls, where it was integrated.
Great to see, there is a standalone version! Thanks Nicolas from Niversoft!

Just to put some more information to my "thanks":

Hugh Tash made a nice screenshot from the menu, where you find new options, and
you always can find new options/functions via the "Feature Watcher" component foo_whatsnew by foosion.



Re: foo_DeleteCurrent

Reply #35
Is there any way to create a similar plugin that renames or moves the currently playing file?
foo_MoveCurrent
foo_RenameCurrent
One can make keyboard shortcuts to custom rename or move a file, but only when it is not currently playing. So one has to stop the playback first. 
It would be so helpful for speedy sorting through large folders of mp3s, to do that with the push of a single button.



Re: foo_DeleteCurrent

Reply #36
Is there any way to create a similar plugin that renames or moves the currently playing file?

I use Autohotkey to do this. Basically it:

Makes sure the foobar window exists and is activated
Sends the shortcut to stop playback.
Sends the shortcut whatever "Context -> File Operations -> Move to" you want
Handles the dialog window for the move operation
Resumes playback

I then also have a similar hotkey to use foo_DeleteCurrent which works the same way, allowing you to delete/move the currently playing file, without foobar window currently in focus, resume playback. Optionally you could return focus to whatever program windows you previously had focused.

Here is a messy example that you would need to tweak for your configuation.

Code: [Select]
; ---- FOOBAR Move Playing Track to Library
^Numpad0::
SetKeyDelay, 10, 10
IfWinNotexist, %Foobar%
return
IfWinExist, %Foobar%
{
WinGet, current_ID, ID, A
previous_ID := current_ID
WinActivate
WinWaitActive, %Foobar%, , 2
if ErrorLevel
{
    MsgBox, WinWait timed out (Foobar).
    return
}
else
;BlockInput On
Send {NumpadDot}

Sleep,500
Send {Alt Down}
Send m
;Send {Numpad0}
Send {Alt Up}      
WinWait, File Operation Preview, ,4
if ErrorLevel
{
    MsgBox, WinWait timed out (File Operation Preview).
;BlockInput Off
    return
}
Send {Space}
WinWaitClose
if ErrorLevel
{
    MsgBox, WinWaitClose timed out (File Operation Preview).
;BlockInput Off
    return
}
Sleep, 1000
SetKeyDelay, 10, 10
;ControlSend, , {Alt Down}{F11}{Alt Up}, ahk_class {97E27FAA-C0B3-4b8e-A693-ED7881E99FC1}
;Send {Delete}
Send {Numpad8}
;BlockInput Off
return
}
;BlockInp