#!/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 "$@" PropertyNames on preOpenStack if the platform is "MacOS" then set the accelText of btn 2 of cd 1 to "opt-M" else set the accelText of btn 2 of cd 1 to "alt-M" end if end preOpenStack R e U Lucida Grande U ,japanese U Lucida Grande U Geneva U Osaka,Japanese U Osaka,Japanese U Geneva cREVGeneral scriptChecksum jxZO bookmarks debugObjects handlerList preOpenStackscriptSelection char 168 to 167prevHandler preOpenCardtempScript script
on preOpenStack
if the platform is "MacOS" then
set the accelText of btn 2 of cd 1 to "opt-M"
else
set the accelText of btn 2 of cd 1 to "alt-M"
end if
end preOpenStack
P"function myPropList pObject put the properties of pObject into myProp combine myProp using return and "=" put myProp into tPropList put lineOffset("colors",tPropList) into colorLineNum delete line colorLineNum to (lineOffset("default", tPropList)-1) of tPropList put cr&"colors="&cr after line (colorLineNum -1) of tPropList return tPropList end myPropList function colorsList pObject put "foregroundColor,backgroundColor,hiliteColor,borderColor," &\ "topColor,bottomColor,shadowColor,focusColor" into colorlistNames split colorlistNames by comma put "colors="&cr into tList repeat with i=1 to the num of lines of the keys of colorlistNames put tab& colorlistNames[i] &"="& the colorlistNames[i] of pObject&cr after tList end repeat return tList end colorsList cREVGeneral scriptChecksum kV=ߪm bookmarks handlerList myPropList colorsListtempScript prevHandler colorsListscriptSelection char 800 to 799script 9function myPropList pObject
put the properties of pObject into myProp
combine myProp using return and "="
put myProp into tPropList
put lineOffset("colors",tPropList) into colorLineNum
delete line colorLineNum to (lineOffset("default", tPropList)-1) of tPropList
put cr&"colors="&cr after line (colorLineNum -1) of tPropList
return tPropList
end myPropList
function colorsList pObject
put "foregroundColor,backgroundColor,hiliteColor,borderColor," &\
"topColor,bottomColor,shadowColor,focusColor" into colorlistNames
split colorlistNames by comma
put "colors="&cr into tList
repeat with i=1 to the num of lines of the keys of colorlistNames
put tab& colorlistNames[i] &"="& the colorlistNames[i] of pObject&cr after tList
end repeat
return tList
end colorsList
colorList )` cREVGeneral scriptChecksum ُ B~revUniqueID 1084100230064 bookmarks handlerList tempScript prevHandler mouseUpscriptSelection char 1 to 0script ` w propList )` &