PLAY_A2.tmpl delete lock Revision 363966653635 (Mon Mar 16 2009 at 10:18) - Diff Link to this snippet: https://friendpaste.com/61oUlcmCYv2sCgzLi8JRiU Embed: manni perldoc borland colorful default murphy trac fruity autumn bw emacs pastie friendly Show line numbers Wrap lines 12345678910111213141516171819202122232425261271282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440##################################################;A2 - V0.8.5.1 (PLAY_A2.tmpl - amazon > google)##################################################[Variables]CURRENT="C:\Program Files\Rainmeter\Skins\A2\"PLAYER="C:\Program Files\Winamp\winamp.exe"@=A2UPDATE=43200!SHOW=!RainmeterShowMeter!HIDE=!RainmeterHideMeter!ENAB=!RainmeterEnableMeasure!DESA=!RainmeterDisableMeasure!PLUG=!RainmeterPluginBang<COLOR1>=97D7D799<COLOR2>=71CDCC99<BGCOLOR>=FFFFFFFF<TFONTCOLOR>=FFFFFFE5<SIGNCOLOR>=F6A13199<FONTCOLOR>=8A9999FFFONT="Tahoma"CUSTOM1="!RainmeterPluginBang "WINAMP SendMessage 273 40188 0""CUSTOM2="!RainmeterToggleConfig A2\LYRIC LYRIC.ini"##################################################[Rainmeter] Author=Kenz0 (mail2kenz0@gmail.com) BackgroundMode=2 SolidColor=00000001[WINAMP] Measure=Plugin Plugin=Plugins\WindowMessagePlugin.dll WindowClass=Winamp v1.x[VOLUME] Measure=Plugin Plugin=Plugins\WindowMessagePlugin.dll WindowClass=Winamp v1.x WindowMessage=1024 -666 122 MaxValue=255[SHUFFLE] Measure=Plugin Plugin=Plugins\WindowMessagePlugin.dll WindowClass=Winamp v1.x WindowMessage=1024 0 250[REPEAT] Measure=Plugin Plugin=Plugins\WindowMessagePlugin.dll WindowClass=Winamp v1.x WindowMessage=1024 0 251[FULL] Measure=Plugin Plugin=Plugins\WindowMessagePlugin.dll WindowClass=Winamp v1.x WindowMessage=1024 1 105[CURR] Measure=Plugin Plugin=Plugins\WindowMessagePlugin.dll WindowClass=Winamp v1.x WindowMessage=1024 0 105[CURR_M] Measure=Calc Formula=((CURR/1000+0.5)-((CURR/1000+0.5)%60))/600 Substitute=".":""[CURR_S] Measure=Calc Formula=((CURR/1000)%60)/10>=5.95?0:((CURR/1000)%60)/10 Substitute=".":"","-":""[CURR_R] Measure=Calc Formula=[DURATION] Measure=Calc Formula=(CURR<=0)?0:(CURR//(FULL*1000+1)) IfAboveValue=0.8 %?pos='%ll'<|IfAboveAction=!Execute [#!SHOW# (next_bg) #@#][#!SHOW# (next_title) #@#][#!SHOW# (next_artist) #@#][!RainmeterRedraw #@#]>[IMG_LOCAL] Measure=Plugin Plugin=Plugins\WebParser.dll UpdateRate=#UPDATE# Url="file://%fpath\$if(%4,$regrep(["/*;:\,\?\>\<\\], ,%4),$regrep(["/*;:\,\?\>\<\\], ,$regrep(\s+$,,$regmatch(%s,- *\([^\(]+\),1)))).jpg" FinishAction=!Execute [#!DESA# TRIGGER #@#][IMG_URL1] Measure=Plugin Plugin=Plugins\WebParser.dll UpdateRate=#UPDATE# Url="http://www.amazon.co.jp/s/ref=nb_ss_?url=search-alias%3Dpopular&__mk_ja_JP=カタカナ&field-keywords=$if(%4,$ue(%1 - %4),$ue($regmatch(%s,\(.*?\) *-,1)) - $ue($regrep(\s+$,,$regmatch(%s,- *\([^\(]+\),1))))" RegExp="(?siU)<td class=\"imageColumn\" width=\"\d+\">.+ src=\"http:(\S+)\._\S+_\.jpg\"" StringIndex=1 ErrorString=-1 IfBelowValue=0 IfBelowAction=!Execute [#!ENAB# IMG_URL2 #@#][#!DESA# IMG_URL1 #@#] Disabled=1[IMG_IMAGE1] Measure=Plugin Plugin=Plugins\WebParser.dll Url=http:[IMG_URL1]._AA108_SH40_.jpg StringIndex=1 Download=1 FinishAction=$if($mat(%sl,-1),,!Execute ["#CURRENT#Resource\image.vbs" "[IMG_IMAGE1]" "%fpath\$if(%4,$regrep(["/*;:\,\?\>\<\\], ,%4),$regrep(["/*;:\,\?\>\<\\], ,$regrep(\s+$,,$regmatch(%s,- *\([^\(]+\),1)))).jpg"])[IMG_URL2] Measure=Plugin Plugin=Plugins\WebParser.dll UpdateRate=#UPDATE# Url="http://www.google.com/musicsearch?q=$if(%4,$ue(%1 - %4),$ue($regmatch(%s,\(.*?\) *-,1)) - $ue($regrep(\s+$,,$regmatch(%s,- *\([^\(]+\),1))))" RegExp="(?siU)<img src=http://froogle\.google\.com/base_image\?size=2&q=music/image(\S+)\.jpg" StringIndex=1 ErrorString=-1 IfBelowValue=0 IfBelowAction=!Execute [#!HIDE# (load) #@#][#!SHOW# (not) #@#][!RainmeterRedraw #@#][#!DESA# IMG_URL2 #@#] Disabled=1[IMG_IMAGE2] Measure=Plugin Plugin=Plugins\WebParser.dll Url=http://froogle.google.com/base_image?size=2&q=music/image[IMG_URL2].jpg StringIndex=1 Download=1 FinishAction=$if($mat(%sl,-1),,!Execute ["#CURRENT#Resource\image.vbs" "[IMG_IMAGE2]" "%fpath\$if(%4,$regrep(["/*;:\,\?\>\<\\], ,%4),$regrep(["/*;:\,\?\>\<\\], ,$regrep(\s+$,,$regmatch(%s,- *\([^\(]+\),1)))).jpg"])[TRIGGER] Measure=Calc Formula=Counter % 6 IfEqualValue=5 IfEqualAction=!Execute [#!ENAB# IMG_URL1 #@#][#!DESA# TRIGGER #@#];[(background)]; Meter=IMAGE; X=9; Y=5; W=124; H=170; SolidColor=#<BGCOLOR>#[(load)] Meter=STRING X=71 Y=78 FontColor=#<FONTCOLOR># StringStyle=BOLDITALIC FontSize=7 FontFace="#FONT#" StringAlign=CENTER Antialias=1 Text="Loading..."[(not)] Meter=Button ButtonImage=Resource\na.png X=26 Y=72 ButtonCommand=!execute ["http://images.google.com/images?q=$if(%1,$ue(%1 %4),$ue($regmatch(%s,\(.*?\) *-,1) $regrep(\s+$,,$regmatch(%s,- *\([^\(]+\),1))))"] Hidden=1[(img2)] MeasureName=IMG_IMAGE2 Meter=IMAGE X=17 Y=29 W=108 H=108[(img1)] MeasureName=IMG_IMAGE1 Meter=IMAGE X=0r Y=0r W=108 H=108[(img)] ImageName="%fpath\$if(%4,$regrep(["/*;:\,\?\>\<\\], ,%4),$regrep(["/*;:\,\?\>\<\\], ,$regrep(\s+$,,$regmatch(%s,- *\([^\(]+\),1)))).jpg" Meter=IMAGE X=0r Y=0r W=108 H=108[(artist)] Meter=STRING X=71 Y=139 W=120 H=12 FontColor=#<FONTCOLOR># StringStyle=BOLD FontSize=7 FontFace="#FONT#" StringAlign=CENTER Antialias=1 ClipString=1 Text="$if(%1,%1,$regmatch(%s,\(.*?\) *-,1))"[(album)] Meter=STRING X=71 Y=150 W=120 H=12 FontColor=#<FONTCOLOR># StringStyle=BOLD FontSize=7 FontFace="#FONT#" StringAlign=CENTER Antialias=1 ClipString=1 Text="$if(%4,%4,)"[(next_bg)] Meter=IMAGE ImageName=Resource\nextsong.png X=17 Y=94 LeftMouseDownAction=!Execute [#!HIDE# (next_bg) #@#][#!HIDE# (next_title) #@#][#!HIDE# (next_artist) #@#][!RainmeterRedraw #@#] Hidden=1[(next_title)] Meter=STRING X=71 Y=108 W=108 H=14 FontColor=FFFFFFFF StringStyle=BOLD FontSize=8 FontFace="#FONT#" StringAlign=CENTER Antialias=1 ClipString=1 Text="$if(%2,$next(%2),$regrep(\s+$,,$regmatch($next(%s),- \([^\(]+\),1)))" Hidden=1[(next_artist)] Meter=STRING X=71 Y=121 W=108 H=12 FontColor=FFFFFFFF StringStyle=BOLD FontSize=7 FontFace="#FONT#" StringAlign=CENTER Antialias=1 ClipString=1 Text="$if(%1,$next(%1),$regmatch($next(%s),\(.*?\) *-,1))" Hidden=1[(ctrl1)] Meter=IMAGE X=9 Y=21 W=124 H=25 SolidColor=00000001 MouseOverAction=!Execute [#!SHOW# (power) #@#][#!SHOW# (open) #@#][#!SHOW# (list) #@#][#!SHOW# (custom) #@#][#!SHOW# (vol) #@#][#!SHOW# (custom) #@#][#!SHOW# (vol) #@#][#!SHOW# (vol_bg) #@#][#!SHOW# (vol_bar) #@#][!RainmeterRedraw #@#] MouseLeaveAction=!Execute [#!HIDE# (power) #@#][#!HIDE# (open) #@#][#!HIDE# (list) #@#][#!HIDE# (custom) #@#][#!HIDE# (vol) #@#][#!HIDE# (custom) #@#][#!HIDE# (vol) #@#][#!HIDE# (vol_bg) #@#][#!HIDE# (vol_bar) #@#][!RainmeterRedraw #@#][(ctrl2)] Meter=IMAGE X=9 Y=140 W=124 H=25 SolidColor=00000001 MouseOverAction=!Execute [#!SHOW# (prev) #@#][#!SHOW# (rew) #@#][#!SHOW# (play) #@#][#!SHOW# (pause) #@#][#!SHOW# (stop) #@#][#!SHOW# (ffwd) #@#][#!SHOW# (next) #@#][!RainmeterRedraw #@#] MouseLeaveAction=!Execute [#!HIDE# (prev) #@#][#!HIDE# (rew) #@#][#!HIDE# (play) #@#][#!HIDE# (pause) #@#][#!HIDE# (stop) #@#][#!HIDE# (ffwd) #@#][#!HIDE# (next) #@#][!RainmeterRedraw #@#][(power)] Meter=Button ButtonImage=Resource\power.png X=9 Y=21 ButtonCommand=!Execute ["#PLAYER#"] RightMouseUpAction=#!PLUG# "WINAMP SendMessage 273 40001 0" Hidden=1[(open)] Meter=Button ButtonImage=Resource\open.png X=22r Y=0r ButtonCommand=#!PLUG# "WINAMP SendMessage 273 40029 0" RightMouseUpAction=#!PLUG# "WINAMP SendMessage 273 40187 0" Hidden=1[(list)] Meter=Button ButtonImage=Resource\list.png X=16r Y=0r ButtonCommand=#!PLUG# "WINAMP SendMessage 273 40040 0" RightMouseUpAction=#!PLUG# "WINAMP SendMessage 273 23123 0" Hidden=1[(custom)] Meter=Button ButtonImage=Resource\custom.png X=16r Y=0r ButtonCommand=!execute [#CUSTOM1#] RightMouseUpAction=!execute [#CUSTOM2#] Hidden=1[(vol)] Meter=Button ButtonImage=Resource\vol.png X=16r Y=0r ButtonCommand=!Execute [#!PLUG# "WINAMP SendMessage 273 40059 0"][#!PLUG# "WINAMP SendMessage 273 40059 0"][#!PLUG# "WINAMP SendMessage 273 40059 0"][#!PLUG# "WINAMP SendMessage 273 40059 0"][#!PLUG# "WINAMP SendMessage 273 40059 0"][#!PLUG# "WINAMP SendMessage 273 40059 0"] RightMouseUpAction=!Execute [#!PLUG# "WINAMP SendMessage 273 40058 0"][#!PLUG# "WINAMP SendMessage 273 40058 0"][#!PLUG# "WINAMP SendMessage 273 40058 0"][#!PLUG# "WINAMP SendMessage 273 40058 0"][#!PLUG# "WINAMP SendMessage 273 40058 0"][#!PLUG# "WINAMP SendMessage 273 40058 0"] Hidden=1[(vol_bg)] Meter=IMAGE ImageName=Resource\volbg.png X=16r Y=0r Hidden=1[(vol_bar)] Meter=BAR MeasureName=VOLUME X=3r Y=8r W=26 H=8 BarColor=#<SIGNCOLOR># BarOrientation=HORIZONTAL Hidden=1[(prev)] Meter=Button ButtonImage=Resource\prev.png X=9 Y=140 ButtonCommand=#!PLUG# "WINAMP SendMessage 273 40044 0" Hidden=1[(rew)] Meter=Button ButtonImage=Resource\rew.png X=22r Y=0r ButtonCommand=!Execute [#!PLUG# "WINAMP SendMessage 273 40061 0"][#!PLUG# "WINAMP SendMessage 273 40061 0"][#!PLUG# "WINAMP SendMessage 273 40061 0"] Hidden=1[(play)] Meter=Button ButtonImage=Resource\play.png X=16r Y=0r ButtonCommand=#!PLUG# "WINAMP SendMessage 273 40045 0" Hidden=1[(pause)] Meter=Button ButtonImage=Resource\pause.png X=16r Y=0r ButtonCommand=#!PLUG# "WINAMP SendMessage 273 40046 0" Hidden=1[(stop)] Meter=Button ButtonImage=Resource\stop.png X=16r Y=0r ButtonCommand=#!PLUG# "WINAMP SendMessage 273 40047 0" Hidden=1[(ffwd)] Meter=Button ButtonImage=Resource\ffwd.png X=16r Y=0r ButtonCommand=!Execute [#!PLUG# "WINAMP SendMessage 273 40060 0"][#!PLUG# "WINAMP SendMessage 273 40060 0"][#!PLUG# "WINAMP SendMessage 273 40060 0"] Hidden=1[(next)] Meter=Button ButtonImage=Resource\next.png X=16r Y=0r ButtonCommand=#!PLUG# "WINAMP SendMessage 273 40048 0" Hidden=1;[(layer)]; Meter=IMAGE; ImageName=Resource\layer.png; X=0; Y=0;[(header)]; Meter=IMAGE; X=9; Y=5; W=124; H=16; SolidColor=#<COLOR1>#; SolidColor2=#<COLOR2>#; GradientAngle=90[(title)] Meter=STRING X=71 Y=6 W=120 H=14 FontColor=#<TFONTCOLOR># StringStyle=BOLD FontSize=8 FontFace="#FONT#" StringAlign=CENTER Antialias=1 ClipString=1 Text="$if(%2,%2,$regrep(\s+$,,$regmatch(%s,- *\([^\(]+\),1)))"[(progbar)] Meter=BAR MeasureName=DURATION X=9 Y=165 W=124 H=10 SolidColor=#<COLOR1># SolidColor2=#<COLOR2># GradientAngle=90 BarColor=0000004D BarOrientation=HORIZONTAL[(counter)] MeasureName=CURR MeasureName2=CURR MeasureName3=CURR MeasureName4=CURR MeasureName5=CURR MeasureName6=CURR MeasureName7=CURR MeasureName8=CURR_M MeasureName9=CURR_S Meter=STRING X=130 Y=165 W=100 H=10 FontColor=#<TFONTCOLOR># StringStyle=BOLD StringAlign=RIGHT FontSize=6 FONT="Arial" Antialias=1 ClipString=1 Scale=1.0 Text="$if($mat(%sl,-1),-stream-,%pos of %ll %8:%9 / %min~:%sec)"[(shuffle)] Meter=BAR MeasureName=SHUFFLE X=17 Y=165 W=3 H=8 SolidColor=7F7F7F7F BarColor=#<SIGNCOLOR># BarOrientation=HORIZONTAL LeftMouseDownAction=#!PLUG# "WINAMP SendMessage 273 40023 0"[(repeat)] Meter=BAR MeasureName=REPEAT X=26 Y=165 W=3 H=8 SolidColor=7F7F7F7F BarColor=#<SIGNCOLOR># BarOrientation=HORIZONTAL LeftMouseDownAction=#!PLUG# "WINAMP SendMessage 273 40022 0"