Old 22nd May 2008, 22:23   #1
Stupifier
Major Dude
 
Join Date: Nov 2005
Posts: 596
Multiple Actions, One Hotkey

Does anyone have anything to link two actions to one global hotkey? Currently, this dishes out an error when you attempt to create two actions to a single hotkey. It would be really nice to be able to do this.

This question has already been asked a long time ago in the discussion below but was not really answered. DrO had a plug-in (a very nice one) for his specific situation and not the overall question (multi-hotkeys).

http://forums.winamp.com/showthread....hreadid=232430
Stupifier is offline   Reply With Quote
Old 22nd May 2008, 22:37   #2
DrO
 
Join Date: Sep 2003
Posts: 27,873
gen_hotkeys doesn't work that way and is why you're getting a registration error. to combine actions you're basically looking at having to make your own hotkey plugin to do it.

-daz
DrO is offline   Reply With Quote
Old 23rd May 2008, 03:54   #3
Stupifier
Major Dude
 
Join Date: Nov 2005
Posts: 596
OK, thankyou for the quick reply. I don't have much know how to make a plug-in for this sadly

What I might do as a workaround is use Autohotkey to create a macro hotkey for both actions.

I hope in the future that multiple hotkey action support will be available.
Stupifier is offline   Reply With Quote
Old 23rd May 2008, 12:05   #4
DrO
 
Join Date: Sep 2003
Posts: 27,873
i doubt such a change will happen but you never know. what actions are you trying to combine btw?

-daz
DrO is offline   Reply With Quote
Old 23rd May 2008, 17:52   #5
Stupifier
Major Dude
 
Join Date: Nov 2005
Posts: 596
1st Action - Bookmark Current Playing Song
2nd Action - Remove Song from Playlist (using your Playlist File Removal Plug-In)

When listenning to new music, I always preview it before adding it to my Media Library (reason, I sync an iPod with only 60GB space to my Entire Library).

Your Playlist Removal plug-in is great for this first listen as I can listen and move the bad songs out of the playlist and into a "Trashed Songs" folder.

But what about the good songs. I need to mark and remove the good songs as well so when I've actively listened to every song...the playlist is empty and I can move on. I couldn't use the same method above and just move the good songs to a "Good Songs" folder..because than they would lose their directory information (where they came from) which is important when labeling these new good songs. Instead, I decided I'd like to Bookmark The Song...than simply remove it from the playlist.

Maybe this is just a Feature Request for your Playlist Removal Plug-in. Bookmark and Remove Song From Playlist, I dunno.
Stupifier is offline   Reply With Quote
Old 26th May 2008, 09:24   #6
Stupifier
Major Dude
 
Join Date: Nov 2005
Posts: 596
If anyone is interested, I did write a small AutoHotkey script for this. Given you have the Playlist Removal plugin and the right Global Actions assigned, this script will:
1. Bookmark Current Playing Song
2. Remove Current playing song from playlist

I have the hotkey currently set to CTRL+Delete

This was the best I could do with my limited skills. Just reply here if you are interested and I'll find a way to upload it.
Stupifier is offline   Reply With Quote
Old 27th May 2008, 00:19   #7
DrO
 
Join Date: Sep 2003
Posts: 27,873
i've added this to the plfr todo list now that i'm forcing myselt to update the plugin due to the compatability issues that it now has with the current client version (so needs an update as things aren't going to be reverted in the client against what was broken)

-daz
DrO is offline   Reply With Quote
Old 27th May 2008, 05:50   #8
Stupifier
Major Dude
 
Join Date: Nov 2005
Posts: 596
THANKYOU! I'll keep checking the plfr discussion thread for updates. yay! Sorry to hear your plug-in has compatability issues though
Stupifier is offline   Reply With Quote
Old 27th May 2008, 12:35   #9
DrO
 
Join Date: Sep 2003
Posts: 27,873
might be able to do one better and give you a dev build since bookmarking an item is only a fe lines of additional code (and means i can check out the removal code at the same time).

yeah, well is one of those things i guess working on undocumented handling which has been a certain way for however many years (and the main point of failure now is an area that i doubt anyone would have expected to have seen be 'broken'). guess that's progress for you

-daz
DrO is offline   Reply With Quote
Old 27th May 2008, 22:07   #10
Stupifier
Major Dude
 
Join Date: Nov 2005
Posts: 596
Cool, keep me posted.
Stupifier is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > Winamp Development

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump