#!/bin/sh # MetaCard 2.4 stack # The following is not ASCII text, # so now would be a good time to q out of more exec mc $0 "$@" revAltBackdrop on altGetInfo answer "Version 0.9" end altGetInfo on altSetColor answer color set the altBackDropColor of me to it save me end altSetColor on toggleBackdrop if the backdrop is "none" then set the backdrop to the altBackdropColor of me else set the backdrop to none end if end toggleBackdrop on openStack if word 1 of the systemVersion is "NT" and word 2 of the systemVersion > 5 then put queryRegistry("HKEY_CURRENT_USER\Control Panel\Colors\MenuBar") into tColor if tColor <> "" then put word 1 of tColor,word 2 of tColor,word 3 of tColor into tColor set the backgroundColor of this stack to tColor end if end if end openStack s A altBackdropColor 0,128,192 cREVGeneral scriptChecksum Z&[Aiߖ^ bookmarks handlerList /altGetInfo altSetColor toggleBackdrop openStackscriptSelection char 657 to 656prevHandler toggleBackdroptempScript script
on altGetInfo
answer "Version 0.9"
end altGetInfo
on altSetColor
answer color
set the altBackDropColor of me to it
save me
end altSetColor
on toggleBackdrop
if the backdrop is "none" then
set the backdrop to the altBackdropColor of me
else
set the backdrop to none
end if
end toggleBackdrop
on openStack
if word 1 of the systemVersion is "NT" and word 2 of the systemVersion > 5 then
put queryRegistry("HKEY_CURRENT_USER\Control Panel\Colors\MenuBar") into tColor
if tColor <> "" then
put word 1 of tColor,word 2 of tColor,word 3 of tColor into tColor
set the backgroundColor of this stack to tColor
end if
end if
end openStack
@ s A altPlug.png @ altOpenVisible falsealtPlugFileName revAltBackdrop.rev altOnClickMe toggleBackdropaltMenu Info - Set ColoraltMenuHandlers altGetInfo altSetColor /toggles the backdrop, right-click to set color PNG IHDR szz gAMA a QIDATxM4gRd{ YpVRUPb.*l!o,$ٲ>vd[~-~%UD BQ hRp8B }> aeƻ L@2