Posted by member 234336 on 2005-11-22 06:35:39 link

xcal, he doesn't have a script module loaded, therefore I don't think any scriptings going on. He uses a pretty streamlined approach. I went ahead and loaded mzscript and copied the text above into the config file. He does have a winampstatus command that refers to the scrolling text box.

The changes that I've made so far have primarily been to the vk104 file and the config file using vbang. I thought that I might be able to use v-bang by basically adding

*Hotkey .none AMP_POWERON !AmpPowerOn

and adding the corresponding
AMP_POWERON , B3

in vk104

Problem I get with that is a bang error, I guess because it's looking for an either/or type configuration.

Here's what I've done. I'm sure it's frought with errors because it doesn't work so anyhelp is greatly appreciated.

*Label AmpInfo
*MainBarModuleHook !LabelLsBoxHook AmpInfo
AmpInfoAddToGroup Ampcontrols
AmpInfoAlwaysOnTop true
AmpInfoTransparencyMode true
AmpInfoX $AmpcontrolsbaseX$
AmpInfoY 3
AmpInfoHeight 22
AmpInfoWidth 215
AmpInfoImage "Amp-Info2.png"
AmpInfoLeftBorder 5
AmpInfoRightBorder 5
AmpInfoTopBorder 2
AmpInfoBottomBorder 3
AmpInfoText "[winampStatus]: [winampSong]"
AmpInfoToolTip "[if(winampPlaying)] You are listening to... \n\n Title: [winamptitle] \n Artist: [winampArtist] \n\n Remain: [winamptime] / [winamptotaltime]\n\n Bitrate: [winampbitrate]\n Samplerate: [Winampsamplerate]\n\n Volume [volume][endif]"
AmpInfoScroll left
AmpInfoScrollSpeed 2
AmpInfoOnLeftDoubleClick !amp_show
AmpInfoOnRightClick !Amp_MainMenuPopup

*Script bang !setampvar
*Script exec !LabelInfoExport "[winampstatus]" amptmp
*Script gotoif ( "%{winampPause}" = "Paused" ) paused
*Script gotoif ( "%{winampPlaying}" = "Playing" ) playing
*Script exit
*Script label paused
*Script exec !varset ampplaying 0
*Script exit
*Script label playing
*Script exec !varset ampplaying 1
*Script ~bang