#!/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 "$@"  revHappySnap Pon preOpenStack put stackList() into btn "Stack" of stack "revHappySnap" end preOpenStack function stackList put the openStacks into tStacks if not (the hilite of btn "show revolution stacks" of stack "revPreferences") then repeat with i=the number of lines of tStacks down to 1 if char 1 to 3 of line i of tStacks is "rev" then delete line i of tStacks end repeat end if return tStacks end stackList on hideRev put the openStacks into tStacks if (the hilite of btn "hide") then repeat with i=the number of lines of tStacks down to 1 if char 1 to 3 of line i of tStacks is "rev" and \ the visible of stack line i of tStacks then hide stack line i of tStacks put line i of tStacks & cr after tHiddenList end if end repeat set the cHiddenList of this stack to tHiddenList end if end hideRev on showRev repeat for each line tLine in the cHiddenList of this stack show stack tLine end repeat end showRev on newImage repeat with X=1 to the number of images put the short name of image X into tName put tName & cr after tImageList end repeat delete the last char of tImageList put tImageList into fld "image list" of stack "revHappySnap" set the hilitedLine of fld "image list" of stack "revHappySnap" to 1 send mouseUp to fld "image list" of stack "revHappySnap" updateImagePanel line 1 of tImageList end newImage on upDateImagePanel tImage if tImage <> "" then set the useSystemDate to true put word -1 of tImage into tImageDate convert tImageDate to abbrev date and time put ""&word 1 to -2 of tImage&"Date: "&\ tImageDate&"

" into tXML set the xmlText of fld "display" of stack "revHappySnap" to tXML else put "" into fld "display" of stack "revHappySnap" end if end upDateImagePanel on resizeStack if the width of this stack < 495 then set the topLeft of group "stack" to the bottomLeft of group "card" else set the topLeft of group "stack" to the topRight of group "Card" end if revUpdateGeometry end resizeStack on revPreOpenStack put stackList() into btn "Stack" end revPreOpenStack on revCloseStack put stackList() into btn "Stack" end revCloseStack on revResumeStack put stackList() into btn "Stack" end revResumeStack  revstackfalse cHiddenListon preOpenStack

put stackList() into btn "Stack" of stack "revScreenGrabber"

end preOpenStack

function stackList

put the openStacks into tStacks

if not (the hilite of btn "show revolution stacks" of stack "revPreferences") then

repeat with i=the number of lines of tStacks down to 1

if char 1 to 3 of line i of tStacks is "rev" then delete line i of tStacks

end repeat

end if

return tStacks

end stackList

on hideRev

put the openStacks into tStacks

if (the hilite of btn "hide") then

repeat with i=the number of lines of tStacks down to 1

if char 1 to 3 of line i of tStacks is "rev" and \

the visible of stack line i of tStacks then

hide stack line i of tStacks

put line i of tStacks & cr after tHiddenList

end if

end repeat

set the cHiddenList of this stack to tHiddenList

end if

end hideRev

on showRev

repeat for each line tLine in the cHiddenList of this stack

show stack tLine

end repeat

end showRev

on newImage

repeat with X=1 to the number of images

put the short name of image X into tName

put tName & cr after tImageList

end repeat

delete the last char of tImageList

put tImageList into fld "image list" of stack "revScreenGrabber"

set the hilitedLine of fld "image list" of stack "revScreenGrabber" to 1

send mouseUp to fld "image list" of stack "revScreenGrabber"

updateImagePanel line 1 of tImageList

end newImage

on upDateImagePanel tImage

if tImage <> "" then

set the useSystemDate to true

put word -1 of tImage into tImageDate

convert tImageDate to abbrev date and time

put "<heading>"&word 1 to -2 of tImage&"</heading><subhead>Date: "&\

tImageDate&"</subhead><p><img src="& the id of image tImage&" />" into tXML

set the xmlText of fld "display" of stack "revScreenGrabber" to tXML

else

put "" into fld "display" of stack "revScreenGrabber"

end if

end upDateImagePanel

on resizeStack

if the width of this stack < 495 then

set the topLeft of group "stack" to the bottomLeft of group "card"

else

set the topLeft of group "stack" to the topRight of group "Card"

end if

revUpdateGeometry

end resizeStack

on revPreOpenStack

put stackList() into btn "Stack"

end revPreOpenStack

on revCloseStack

put stackList() into btn "Stack"

end revCloseStack

on revResumeStack

put stackList() into btn "Stack"

end revResumeStack

cREVGeometryCachestackID1213stack @ cREVGeneral bookmarks handlerListscriptSelection char 1 to 0 prevHandler tempScriptscriptcREVGeometryCacheIDs102551020916810221025583240873120310255217040611141102551638997411161025515619108110110255152109421099102551633128411141025512084151103010255122064351032102551205539610291025512120514103110255840018651207102558331615012041025583272870110810255112025471004102558334461212051025516294683111310255163766961115102551100625510241025583796498120610255156150241100cREVGeometrycacheordertotal21KLMT  image list)pon mouseUp updateImagePanel line (the hilitedLine of me) of me end mouseUp on arrowKey send mouseUp to me in 5 ticks pass arrowKey end arrowKey M cREVGeometryMaster,scaleBottomObjectSideBottomMastertrueMaster,scaleLeftObjectRefMaster,scaletopObjectRef 1025515615024Master,scaleBottomObjectRefCardMaster,scaleBottomAbsolutetrueMaster,scaleBottomtrueMaster,scaleLeftObjectSidecenterMaster,scaleTopObjectSideBottomMaster,expectedRect 6,29,139,304Master,scalebottomDistance-78 Master,scaletrueMaster,scaleRightAbsolutetrueMaster,scaleRighttrueMaster,scalerightDistance-3Master,scaleTopAbsolutetrueMaster,scaleRightObjectRef 1025515210942Master,scaleRightObjectSideCenterMaster,scaleLeftAbsolutefalseMaster,scaleToptrueMaster,scaleLeftfalseMaster,cardRanking1Master,scaleleftDistance0Master,scaletopDistance0 cREVGeneralscriptChecksumBX.5QL:( bookmarks revUniqueID 1025510209168 handlerListmouseUp arrowKeyscriptSelectionchar 122 to 121 prevHandlermouseUp tempScriptscript

on mouseUp

updateImagePanel line (the hilitedLine of me) of me

end mouseUp

on arrowKey

send mouseUp to me in 5 ticks

pass arrowKey

end arrowKey

`@zK display+`8M htmlTextXMLTextcard "card id 1002" of stack "iCoach Browser"Date: Tue, 2 Jul 2002 3:00 PM

 cREVGeometryMaster,scaleBottomObjectSideBottomMastertrueMaster,scaleLeftObjectRef 1025515210942Master,scaletopObjectRef 1025515615024Master,scaleBottomObjectRefcardMaster,scaleBottomAbsolutetrueMaster,scaleBottomtrueMaster,scaleLeftObjectSideCenterMaster,scaleTopObjectSideBottomMaster,expectedRect145,29,566,304Master,scalebottomDistance-78 Master,scaletrueMaster,scaleRightAbsolutetrueMaster,scaleRighttrueMaster,scalerightDistance-6Master,scaleTopAbsolutetrueMaster,scaleRightObjectRefCardMaster,scaleRightObjectSideRightMaster,scaleLeftAbsolutetrueMaster,scaleToptrueMaster,scaleLefttrueMaster,cardRanking2Master,scaleleftDistance3Master,scaletopDistance0 StyleXMLheadingArial,18,blue,White b

psubhead Arial,14,Gray35,White b,i

pstrongArial,12,Black,White b  cREVGeneral revUniqueID 1025511006255  `@< a@Y'Ktest"@ local lMoving, lDistance on mouseLeave set the lockcursor to false end mouseLeave on mouseDown put true into lMoving set the lockcursor to true set the cursor to 230021 end mouseDown on mouseUp put false into lMoving unlock cursor end mouseUp on mouseRelease put false into lMoving unlock Cursor end mouseRelease on mouseMove if lMoving then lock screen put the mouseH into tH if tH > the width of this cd - the cRightConstraint of me then put the width of this cd - the cRightConstraint of me into tH if tH < the cLeftConstraint of me then put the cLeftConstraint of me into tH set the loc of me to tH, item 2 of the loc of me revUpdateGeometry unlock screen end if set the lockcursor to true set the cursor to 230021 end mouseMove @cLeftConstraint100cRightConstraint100 cREVGeometryMaster,scaleBottomObjectSideBottomMastertrueMaster,scaletopObjectRefMaster,scaleLeftObjectRefMaster,scaleBottomObjectRefCardMaster,scaleBottomAbsolutetrueMaster,scaleBottomtrueMaster,scaleTopObjectSidecenterMaster,scaleLeftObjectSidecenterMaster,scalebottomDistance-23Master,expectedRect128,30,140,412Master,scaleRightAbsolutefalseMaster,scaleRightfalseMaster,scalerightDistance0Master,scaleLeftAbsolutefalseMaster,scaleRightObjectSidecenterMaster,scaleRightObjectRefMaster,scaleTopAbsolutefalseMaster,scaleLeftfalseMaster,scaleTopfalseMaster,cardRanking1Master,scaletopDistance0Master,scaleleftDistance0 cREVGeneralscriptChecksum"6sn revUniqueID 1025515210942 bookmarks handlerList3mouseLeave mouseDown mouseUp mouseRelease mouseMove tempScript prevHandler mouseDownscriptSelectionscript,

local lMoving, lDistance

on mouseLeave

set the lockcursor to false

end mouseLeave

on mouseDown

put true into lMoving

set the lockcursor to true

set the cursor to 230021

end mouseDown

on mouseUp

put false into lMoving

unlock cursor

end mouseUp

on mouseRelease

put false into lMoving

unlock Cursor

end mouseRelease

on mouseMove

if lMoving then

lock screen

put the mouseH into tH

if tH > the width of this cd - the cRightConstraint of me then put the width of this cd - the cRightConstraint of me into tH

if tH < the cLeftConstraint of me then put the cLeftConstraint of me into tH

set the loc of me to tH, item 2 of the loc of me

revUpdateGeometry

unlock screen

end if

set the lockcursor to true

set the cursor to 230021

end mouseMove

Lstacki cREVGeometryMaster,scaleBottomObjectSideMastertrueMaster,scaleLeftObjectRefMaster,scaletopObjectRefMaster,scaleBottomObjectRefMaster,scaleBottomAbsoluteMaster,scaleBottomfalseMaster,scaleLeftObjectSideMaster,scaleTopObjectSideMaster,expectedRect 238,-2,492,34Master,scalebottomDistanceMaster,scaleRightAbsoluteMaster,scaleRightfalseMaster,scalerightDistanceMaster,scaleTopAbsoluteMaster,scaleRightObjectRefMaster,scaleRightObjectSideMaster,scaleLeftAbsoluteMaster,scaleTopfalseMaster,scaleLeftfalseMaster,cardRanking0Master,scaleleftDistanceMaster,scaletopDistance cREVGeneral revUniqueID 1025515615024stack u!on menuPick pStack repeat with x=1 to the number of cds of stack pStack put the abbrev name of cd X of stack pStack & cr after tCds end repeat delete the last char of tCds put "all cards"&cr&"the current card"&cr&tCds into btn "card" end menuPick  revSavinghrevSaving revMenubar revTools revApplicationOverview revHappySnap iCoach Browser revScriptLibraryLoader cREVGeneralscriptChecksumloN5%` ' bookmarks revUniqueID 1025511202547 handlerListmenuPickscriptSelectionchar 245 to 244 prevHandler insetRect tempScriptscript 

on menuPick pStack

repeat with x=1 to the number of cds of stack pStack

put the abbrev name of cd X of stack pStack & cr after tCds

end repeat

delete the last char of tCds

put "all cards"&cr&"the current card"&cr&tCds into btn "card"

end menuPick

GrabGTon mouseUp lock messages put the label of btn "stack" into tStack put the label of btn "card" into tCard put getRect(tStack) into tRect hideRev switch tCard case "all cards" repeat with x=1 to the number of cds of stack tStack go cd X of stack tStack getImage tStack,tRect end repeat break case "the current card" go this cd of stack tStack getImage tStack,tRect break default go tCard of stack tStack getImage tStack,tRect break end switch showRev end mouseUp on getImage pStack,pRect lock screen set the defaultStack to "revHappySnap" import snapshot from rect pRect put (the abbrev name the current cd of stack pStack & " of stack " "e&pStack"e&&the long seconds) into tName set the name of image (the number of imgs of this stack) to tName hide img tName unlock screen choose browse tool newImage end getImage function insetRect pRect,pInset repeat with X=1 to 4 subtract item X of pInset from item X of pRect end repeat return pRect end insetRect function getRect pStack switch the label of btn "snapshot style" case "Estimated Window Rect" put the cWindow[the style of the stack pStack] of this stack into tWindow put item 2 of tWindow,item 1 of tWindow,-item 2 of tWindow,-item 2 of tWindow into tInset return insetRect(the rect of stack pStack,tInset) break case "Stack Rect" return the rect of stack pStack break case "Window Bounding Rect" return the windowBoundingRect break case "Screen Rect" return the screenRect break end switch end getRect @BN  cREVGeneralscriptChecksum}K+l revUniqueID 1025512084151 bookmarks handlerList"mouseUp getImage insetRect getRect tempScript prevHandlergetImagescriptSelectionchar 1623 to 1622script

on mouseUp

lock messages

put the label of btn "stack" into tStack

put the label of btn "card" into tCard

put getRect(tStack) into tRect

hideRev

switch tCard

case "all cards"

repeat with x=1 to the number of cds of stack tStack

go cd X of stack tStack

getImage tStack,tRect

end repeat

break

case "the current card"

go this cd of stack tStack

getImage tStack,tRect

break

default

go tCard of stack tStack

getImage tStack,tRect

break

end switch

showRev

end mouseUp

on getImage pStack,pRect

lock screen

set the defaultStack to "revScreenGrabber"

import snapshot from rect pRect

put (the abbrev name the current cd of stack pStack & " of stack " &quote&pStack&quote&&the long seconds) into tName

set the name of image (the number of imgs of this stack) to tName

hide img tName

unlock screen

choose browse tool

newImage

end getImage

function insetRect pRect,pInset

repeat with X=1 to 4

subtract item X of pInset from item X of pRect

end repeat

return pRect

end insetRect

function getRect pStack

switch the label of btn "snapshot style"

case "Estimated Window Rect"

put the cWindow[the style of the stack pStack] of this stack into tWindow

put item 2 of tWindow,item 1 of tWindow,-item 2 of tWindow,-item 2 of tWindow into tInset

return insetRect(the rect of stack pStack,tInset)

break

case "Stack Rect"

return the rect of stack pStack

break

case "Window Bounding Rect"

return the windowBoundingRect

break

case "Screen Rect"

return the screenRect

break

end switch

end getRect

 New Field 1 " cREVGeneral revUniqueID 1025512206435 of Mcardi cREVGeneral revUniqueID 1025515619108card e` all cards/all cards the current card card "card id 1002" cREVGeneralscriptChecksumُ B~ revUniqueID 1025512055396 bookmarks handlerList tempScript prevHandler insetRectscriptSelection char 1 to 0script

 New Field 1 ^ cREVGeneral revUniqueID 1025512120514 Grab image(s) of TDeletei qXA cREVGeometry!Master,movehDistance -0.295388Master,scaleLeftObjectRefMaster,scaletopObjectRefMaster,moveVAbsolutetrueMaster,scaleBottomAbsoluteMaster,movevDistance-39Master,scalebottomDistanceMaster,scaleRightAbsoluteMaster,scalerightDistanceMaster,scaleLeftfalseMaster,scaleTopfalseMaster,cardRanking1 Master,moveHfalseMaster,moveVObjectSideBottomMaster,scaleBottomObjectSideMastertrueMaster,moveVObjectRefcardMaster,scaleBottomObjectRefMaster,moveHObjectRef Master,moveVtrueMaster,scaleBottomfalseMaster,scaleLeftObjectSideMaster,scaleTopObjectSideMaster,expectedRect 6,311,94,376Master,moveHObjectSidecenterMaster,scaleRightfalseMaster,scaleLeftAbsoluteMaster,scaleRightObjectSideMaster,scaleRightObjectRefMaster,scaleTopAbsoluteMaster,moveHAbsolutefalseMaster,scaleleftDistanceMaster,scaletopDistance cREVGeneral revUniqueID 1025583272870Y SelectedGon mouseUp if fld "image list" <> "" then delete img line (the hilitedLine of fld "image list") of fld "image list" delete line (the hilitedLine of fld "image list") of fld "image list" updateImagePanel end if end mouseUp @ LN# cREVGeneralscriptChecksumjQ%TI}2r bookmarks revUniqueID 1025516294683 handlerListmouseUpscriptSelection char 48 to 47 prevHandlermouseUp tempScriptscriptO

on mouseUp

if fld "image list" <> "" then

delete img line (the hilitedLine of fld "image list") of fld "image list"

delete line (the hilitedLine of fld "image list") of fld "image list"

updateImagePanel

end if

end mouseUp

Z All ImagesGon mouseUp repeat for each line tLine in fld "image list" delete img tLine end repeat put "" into fld "image list" updateImagePanel end mouseUp @ LN# cREVGeneralscriptChecksumVOFI revUniqueID 1025516331284 bookmarks handlerListmouseUp tempScript prevHandlermouseUpscriptSelection char 29 to 28script

on mouseUp

repeat for each line tLine in fld "image list"

delete img tLine

end repeat

put "" into fld "image list"

updateImagePanel

end mouseUp

Savei dqA cREVGeometryMaster,movevDistance-39Master,expectedRect100,311,249,376Master,moveVObjectSideBottomMaster,movehDistance -0.195804Master,moveHObjectSidecenterMastertrueMaster,moveVObjectRefcardMaster,moveHObjectRefMaster,cardRanking1Master,moveVAbsolutetrue Master,moveVtrueMaster,moveAbsolutefalseMaster,moveHAbsolutefalse Master,moveHfalse cREVGeneral revUniqueID 1025583316150[Save Image As...Gon mouseUp if fld "image list" <> "" then switch the platform case "MacOS" put "JPEG" into tFilter break default put "JPEG Images (*.jpg),*.jpg" into tFilter break end switch ask file "Save image as:" with filter tFilter if it is "" or the result is cancel then exit to top set the itemDel to "." put it into tSave if the number of items of tSave > 1 then if item -1 of tSave <> "jpg" then put ".jpg" after tSave end if else put ".jpg" after tSave end if export img (line (the hilitedLine of fld "image list") of fld "image list") to url ("binfile:"&tSave) as JPEG end if end mouseUp @jN! cREVGeneralscriptChecksumFSʠHĄ bookmarks revUniqueID 1025516376696 handlerListmouseUpscriptSelection char 14 to 46 prevHandlergetImage tempScriptscript

on mouseUp

if fld "image list" <> "" then

switch the platform

case "MacOS"

put "JPEG" into tFilter

break

default

put "JPEG Images (*.jpg),*.jpg" into tFilter

break

end switch

ask file "Save image as:" with filter tFilter

if it is "" or the result is cancel then exit to top

set the itemDel to "."

put it into tSave

if the number of items of tSave > 1 then

if item -1 of tSave <> "jpg" then

put ".jpg" after tSave

end if

else

put ".jpg" after tSave

end if

export img (line (the hilitedLine of fld "image list") of fld "image list") to url ("binfile:"&tSave) as JPEG

end if

end mouseUp

\Save All To Folder...Gon mouseUp if fld "image list" <> "" then answer folder "Save all images to folder:" if it is "" or the result is cancel then exit to top put it into tSave repeat for each line tLine in fld "image list" export img tLine to url ("binfile:"&tSave&"/"&saveFileName(tLine)&".jpg") as JPEG end repeat end if end mouseUp function saveFileName tFile replace " " with "_" in tFile replace quote with "" in tFile replace "/" with "" in tFile replace "\" with "" in tFile return tFile end saveFileName @kN" cREVGeneralscriptChecksum<1N3 revUniqueID 1025516389974 bookmarks handlerListmouseUp saveFileName tempScript prevHandlermouseUpscriptSelectionchar 321 to 320script

on mouseUp

if fld "image list" <> "" then

answer folder "Save all images to folder:"

if it is "" or the result is cancel then exit to top

put it into tSave

repeat for each line tLine in fld "image list"

export img tLine to url ("binfile:"&tSave&"/"&saveFileName(tLine)&".jpg") as JPEG

end repeat

end if

end mouseUp

function saveFileName tFile

replace " " with "_" in tFile

replace quote with "" in tFile

replace "/" with "" in tFile

replace "\" with "" in tFile

return tFile

end saveFileName

 Preferences q*A cREVGeometry Master,movevDistance-39Master,expectedRect255,310,553,376Master,moveVObjectSideBottomMaster,movehDistance0.206294Master,moveHObjectSidecenterMastertrueMaster,moveVObjectRefcardMaster,moveHObjectRefMaster,cardRanking1Master,moveVAbsolutetrue Master,moveVtrueMaster,moveHAbsolutefalse Master,moveHfalse cREVGeneral bookmarks revUniqueID 1025583344612 handlerListscriptSelection prevHandler tempScriptscriptu JPEG QualityG1on mouseUp palette "JPEG quality" end mouseUp @^N$ cREVGeneralscriptChecksumFMh =hMc bookmarks revUniqueID 1025521704061 handlerListmouseUpscriptSelection char 21 to 20 prevHandlermouseUp tempScriptscript

on mouseUp

palette "JPEG quality"

end mouseUp

Hide"e @N$Hide SG & Revolution cREVGeneralscriptChecksumُ B~ revUniqueID 1025583240873 bookmarks handlerList tempScript prevHandlermouseUpscriptSelection char 1 to 0script

snapshot style }pon menuPick pWhich if pWhich is "Estimated Window Rect" then palette "Window Rect" end if end menuPick @N$Estimated Window RectBWindow Bounding Rect Screen Rect Stack Rect Estimated Window Rect cREVGeneralscriptChecksumg7MJ94-4Fա bookmarks revUniqueID 1025583796498 handlerListmenuPickscriptSelection char 98 to 97 prevHandlermouseUp tempScriptscript?

on menuPick pWhich

if pWhich is "Estimated Window Rect" then

palette "Window Rect"

end if

end menuPick

 t cREVGeneral bookmarks revUniqueID 1025584001865 handlerListscriptSelection prevHandler tempScriptscript Grab image(s) of: JPEG quality on suspendStack close this stack end suspendStack on preOpenStack set the loc of this stack to the screenmouseLoc set the thumbpostionion of scrollBar 1 to the jpegQuality end preOpenStack ), revscrollbarfalse revstackfalse  cREVGeneralscriptChecksums)LC bookmarks handlerListsuspendStack preOpenStack tempScript prevHandler preOpenStackscriptSelection char 20 to 19scriptY

on suspendStack

close this stack

end suspendStack

on preOpenStack

set the loc of this stack to the screenmouseLoc

set the thumbpostionion of scrollBar 1 to the jpegQuality

end preOpenStack

 card id 1002 `, cREVGeneral bookmarks handlerList tempScript prevHandlerscriptSelection char 1 to 0scriptN#N N"N!N$N# delete.gif@yh201341GIF89afff3LLLXXX|||!,n 4(B#JtHЀhH"Byb(80`eK&OPA$ `f͛9w&iNDJhPM 3ѩ]jeă;N image.gif@H201061GIF89a3f3333f333ff3fffff3f3f̙3f3333f3333333333f3333333f3f33ff3f3f3f3333f3333333f3̙333333f333ff3ffffff3f33f3ff3f3f3ffff3fffffffffff3fffffff3fff̙ffff3fffff3f̙3333f33̙3ff3ffff̙f3f̙3f̙̙3f̙3f3333f333ff3fffff̙̙3̙f̙̙̙3f̙3f3f3333f333ff3fffff3f3f̙3f(((444@@@LLLXXXdddppp|||𠠤!,{ݢv[adn-Jŋ1]wl`H$ID\G.;„!)惍aέK-~2 JR-{p\M1 J-&X)7oWCv=6[ARpÇ, `Ç>T \p1z1:gˆ| N1֡9ΆTH߿r3gRrƉC8;N" open.gif@202364GIF89a33ffff333f!,H XHC #.`a%ZqC  $\Ѥ̗"oon scrollBardrag x

set the jpegQuality to x

end scrollBardrag

N$ visible.gif@|" GIF89a ĸ3fffXXX444!, L P0@*DX  (8 X0@ 8 $ː,[ 0bƈ(aĉ ; cREVGeneral revUniqueID 965964946957 Window Rect-  @  New Field 1 , cREVGeneral revUniqueID 1025584476173 nYou may wish to edit the default settings for window title and border as they are different on each platform. topleveli 9* cREVGeneral revUniqueID 1025584757334 topLevel border)p on closeField end closeField J cMinValue0 cMaxValue1000 cREVGeneralscriptChecksumrcsf =Ġ bookmarks revUniqueID 1025584745778 handlerList closeFieldscriptSelection char 32 to 31 prevHandler tempScriptscriptn

on closeField

end closeField

 4 topLevel title)p on closeField end closeField EJ cMinValue0 cMaxValue1000 cREVGeneralscriptChecksumrcsf =Ġ bookmarks revUniqueID 1025584564787 handlerList closeFieldscriptSelection char 1 to 0 prevHandler tempScriptscriptQ

on closeField

end closeField

 30Little Arrows"B local lTrackingIcon, lTracking, lCancelID on mouseUp cancel lCancelID put false into lTracking set the icon of me to the cIcon of me end mouseUp on mouseDoubleUp mouseUp end mouseDoubleUp on mouseDoubleDown mouseDown end mouseDoubleDown on mouseMove x,y if lTracking then put x,y into tLoc if within (me,tLoc) then if the icon of me is not lTrackingIcon then set the icon of me to lTrackingIcon if lTrackingIcon is the cUpIcon of me then hAddToField else if lTrackingIcon is the cDownIcon of me then hSubtractFromField end if else set the icon of me to the cIcon of me end if end if pass mouseMove end mouseMove on mousedown if the mouseV < (the top of me + 10) then put the cUpIcon of me into lTrackingIcon else put the cDownIcon of me into lTrackingIcon set the icon of me to lTrackingIcon if lTrackingIcon is the cUpIcon of me then hAddToField else if lTrackingIcon is the cDownIcon of me then hSubtractFromField put true into lTracking if "hTimeMove" is not in the pendingMessages then send "hTimeMove" to me in 250 milliseconds put the result into lCancelID end mousedown on hTimeMove if not lTracking then exit hTimeMove if the icon of me is the cUpIcon of me then hAddToField else if the icon of me is the cDownIcon of me then hSubtractFromField if "hTimeMove" is not in the pendingMessages then send "hTimeMove" to me in 50 milliseconds put the result into lCancelID end hTimeMove on mouseRelease mouseUp end mouseRelease on hAddToField if the text of the fld (the cTargetField of me) < the cMaxValue of fld (the cTargetField of me) then add 1 to fld (the cTargetField of me) send "closeField" to fld (the cTargetField of me) end hAddToField on hSubtractFromField if the text of the fld (the cTargetField of me) > the cMinValue of fld (the cTargetField of me) then subtract 1 from fld (the cTargetField of me) send "closeField" to fld (the cTargetField of me) end hSubtractFromField bIcUpIcon201319 revButtonfalse cDownIcon201318cIcon201317 cTargetFieldtopLevel title revbasicfalsee cREVGeneralscriptChecksum8P )}n\K bookmarks revUniqueID 1025584460819 handlerListomouseUp mouseDoubleUp mouseDoubleDown mouseMove mousedown hTimeMove mouseRelease hAddToField hSubtractFromField tempScript prevHandler mouseMovescriptSelectionchar 677 to 676script

local lTrackingIcon, lTracking, lCancelID

on mouseUp

cancel lCancelID

put false into lTracking

set the icon of me to the cIcon of me

end mouseUp

on mouseDoubleUp

mouseUp

end mouseDoubleUp

on mouseDoubleDown

mouseDown

end mouseDoubleDown

on mouseMove x,y

if lTracking then

put x,y into tLoc

if within (me,tLoc) then

if the icon of me is not lTrackingIcon then

set the icon of me to lTrackingIcon

if lTrackingIcon is the cUpIcon of me then hAddToField

else if lTrackingIcon is the cDownIcon of me then hSubtractFromField

end if

else

set the icon of me to the cIcon of me

end if

end if

pass mouseMove

end mouseMove

on mousedown

if the mouseV < (the top of me + 10) then put the cUpIcon of me into lTrackingIcon

else put the cDownIcon of me into lTrackingIcon

set the icon of me to lTrackingIcon

if lTrackingIcon is the cUpIcon of me then hAddToField

else if lTrackingIcon is the cDownIcon of me then hSubtractFromField

put true into lTracking

if "hTimeMove" is not in the pendingMessages then send "hTimeMove" to me in 250 milliseconds

put the result into lCancelID

end mousedown

on hTimeMove

if not lTracking then exit hTimeMove

if the icon of me is the cUpIcon of me then hAddToField

else if the icon of me is the cDownIcon of me then hSubtractFromField

if "hTimeMove" is not in the pendingMessages then send "hTimeMove" to me in 50 milliseconds

put the result into lCancelID

end hTimeMove

on mouseRelease

mouseUp

end mouseRelease

on hAddToField

if the text of the fld (the cTargetField of me) < the cMaxValue of fld (the cTargetField of me) then add 1 to fld (the cTargetField of me)

send "closeField" to fld (the cTargetField of me)

end hAddToField

on hSubtractFromField

if the text of the fld (the cTargetField of me) > the cMinValue of fld (the cTargetField of me) then subtract 1 from fld (the cTargetField of me)

send "closeField" to fld (the cTargetField of me)

end hSubtractFromField

  New Field 3 I* cREVGeneral revUniqueID 1025584587313 Title  New Field 3 I* cREVGeneral revUniqueID 1025584621472 BorderLittle Arrows"B local lTrackingIcon, lTracking, lCancelID on mouseUp cancel lCancelID put false into lTracking set the icon of me to the cIcon of me end mouseUp on mouseDoubleUp mouseUp end mouseDoubleUp on mouseDoubleDown mouseDown end mouseDoubleDown on mouseMove x,y if lTracking then put x,y into tLoc if within (me,tLoc) then if the icon of me is not lTrackingIcon then set the icon of me to lTrackingIcon if lTrackingIcon is the cUpIcon of me then hAddToField else if lTrackingIcon is the cDownIcon of me then hSubtractFromField end if else set the icon of me to the cIcon of me end if end if pass mouseMove end mouseMove on mousedown if the mouseV < (the top of me + 10) then put the cUpIcon of me into lTrackingIcon else put the cDownIcon of me into lTrackingIcon set the icon of me to lTrackingIcon if lTrackingIcon is the cUpIcon of me then hAddToField else if lTrackingIcon is the cDownIcon of me then hSubtractFromField put true into lTracking if "hTimeMove" is not in the pendingMessages then send "hTimeMove" to me in 250 milliseconds put the result into lCancelID end mousedown on hTimeMove if not lTracking then exit hTimeMove if the icon of me is the cUpIcon of me then hAddToField else if the icon of me is the cDownIcon of me then hSubtractFromField if "hTimeMove" is not in the pendingMessages then send "hTimeMove" to me in 50 milliseconds put the result into lCancelID end hTimeMove on mouseRelease mouseUp end mouseRelease on hAddToField if the text of the fld (the cTargetField of me) < the cMaxValue of fld (the cTargetField of me) then add 1 to fld (the cTargetField of me) send "closeField" to fld (the cTargetField of me) end hAddToField on hSubtractFromField if the text of the fld (the cTargetField of me) > the cMinValue of fld (the cTargetField of me) then subtract 1 from fld (the cTargetField of me) send "closeField" to fld (the cTargetField of me) end hSubtractFromField I revButtonfalsecUpIcon201319cIcon201317 cDownIcon201318 cTargetFieldtopLevel border revbasicfalsee cREVGeneralscriptChecksum8P )}n\K revUniqueID 1025584745776 bookmarks handlerListomouseUp mouseDoubleUp mouseDoubleDown mouseMove mousedown hTimeMove mouseRelease hAddToField hSubtractFromFieldscriptSelectionchar 677 to 676 prevHandler hAddToField tempScriptscript

local lTrackingIcon, lTracking, lCancelID

on mouseUp

cancel lCancelID

put false into lTracking

set the icon of me to the cIcon of me

end mouseUp

on mouseDoubleUp

mouseUp

end mouseDoubleUp

on mouseDoubleDown

mouseDown

end mouseDoubleDown

on mouseMove x,y

if lTracking then

put x,y into tLoc

if within (me,tLoc) then

if the icon of me is not lTrackingIcon then

set the icon of me to lTrackingIcon

if lTrackingIcon is the cUpIcon of me then hAddToField

else if lTrackingIcon is the cDownIcon of me then hSubtractFromField

end if

else

set the icon of me to the cIcon of me

end if

end if

pass mouseMove

end mouseMove

on mousedown

if the mouseV < (the top of me + 10) then put the cUpIcon of me into lTrackingIcon

else put the cDownIcon of me into lTrackingIcon

set the icon of me to lTrackingIcon

if lTrackingIcon is the cUpIcon of me then hAddToField

else if lTrackingIcon is the cDownIcon of me then hSubtractFromField

put true into lTracking

if "hTimeMove" is not in the pendingMessages then send "hTimeMove" to me in 250 milliseconds

put the result into lCancelID

end mousedown

on hTimeMove

if not lTracking then exit hTimeMove

if the icon of me is the cUpIcon of me then hAddToField

else if the icon of me is the cDownIcon of me then hSubtractFromField

if "hTimeMove" is not in the pendingMessages then send "hTimeMove" to me in 50 milliseconds

put the result into lCancelID

end hTimeMove

on mouseRelease

mouseUp

end mouseRelease

on hAddToField

if the text of the fld (the cTargetField of me) < the cMaxValue of fld (the cTargetField of me) then add 1 to fld (the cTargetField of me)

send "closeField" to fld (the cTargetField of me)

end hAddToField

on hSubtractFromField

if the text of the fld (the cTargetField of me) > the cMinValue of fld (the cTargetField of me) then subtract 1 from fld (the cTargetField of me)

send "closeField" to fld (the cTargetField of me)

end hSubtractFromField

 modelessi j* cREVGeneral revUniqueID 1025585218559 modeless border)p on closeField end closeField { cMinValue0 cMaxValue1000 cREVGeneralscriptChecksumrcsf =Ġ revUniqueID 1025584745778 bookmarks handlerList closeField tempScript prevHandlerscriptSelection char 32 to 31scriptn

on closeField

end closeField

 4 modeless title)p on closeField end closeField E{ cMinValue0 cMaxValue1000 cREVGeneralscriptChecksumrcsf =Ġ revUniqueID 1025584564787 bookmarks handlerList closeField tempScript prevHandlerscriptSelection char 1 to 0scriptQ

on closeField

end closeField

 20Little Arrows"B local lTrackingIcon, lTracking, lCancelID on mouseUp cancel lCancelID put false into lTracking set the icon of me to the cIcon of me end mouseUp on mouseDoubleUp mouseUp end mouseDoubleUp on mouseDoubleDown mouseDown end mouseDoubleDown on mouseMove x,y if lTracking then put x,y into tLoc if within (me,tLoc) then if the icon of me is not lTrackingIcon then set the icon of me to lTrackingIcon if lTrackingIcon is the cUpIcon of me then hAddToField else if lTrackingIcon is the cDownIcon of me then hSubtractFromField end if else set the icon of me to the cIcon of me end if end if pass mouseMove end mouseMove on mousedown if the mouseV < (the top of me + 10) then put the cUpIcon of me into lTrackingIcon else put the cDownIcon of me into lTrackingIcon set the icon of me to lTrackingIcon if lTrackingIcon is the cUpIcon of me then hAddToField else if lTrackingIcon is the cDownIcon of me then hSubtractFromField put true into lTracking if "hTimeMove" is not in the pendingMessages then send "hTimeMove" to me in 250 milliseconds put the result into lCancelID end mousedown on hTimeMove if not lTracking then exit hTimeMove if the icon of me is the cUpIcon of me then hAddToField else if the icon of me is the cDownIcon of me then hSubtractFromField if "hTimeMove" is not in the pendingMessages then send "hTimeMove" to me in 50 milliseconds put the result into lCancelID end hTimeMove on mouseRelease mouseUp end mouseRelease on hAddToField if the text of the fld (the cTargetField of me) < the cMaxValue of fld (the cTargetField of me) then add 1 to fld (the cTargetField of me) send "closeField" to fld (the cTargetField of me) end hAddToField on hSubtractFromField if the text of the fld (the cTargetField of me) > the cMinValue of fld (the cTargetField of me) then subtract 1 from fld (the cTargetField of me) send "closeField" to fld (the cTargetField of me) end hSubtractFromField bz revButtonfalsecUpIcon201319cIcon201317 cDownIcon201318 cTargetFieldmodeless title revbasicfalsee cREVGeneralscriptChecksum8P )}n\K revUniqueID 1025584460819 bookmarks handlerListomouseUp mouseDoubleUp mouseDoubleDown mouseMove mousedown hTimeMove mouseRelease hAddToField hSubtractFromFieldscriptSelectionchar 677 to 676 prevHandler mouseMove tempScriptscript

local lTrackingIcon, lTracking, lCancelID

on mouseUp

cancel lCancelID

put false into lTracking

set the icon of me to the cIcon of me

end mouseUp

on mouseDoubleUp

mouseUp

end mouseDoubleUp

on mouseDoubleDown

mouseDown

end mouseDoubleDown

on mouseMove x,y

if lTracking then

put x,y into tLoc

if within (me,tLoc) then

if the icon of me is not lTrackingIcon then

set the icon of me to lTrackingIcon

if lTrackingIcon is the cUpIcon of me then hAddToField

else if lTrackingIcon is the cDownIcon of me then hSubtractFromField

end if

else

set the icon of me to the cIcon of me

end if

end if

pass mouseMove

end mouseMove

on mousedown

if the mouseV < (the top of me + 10) then put the cUpIcon of me into lTrackingIcon

else put the cDownIcon of me into lTrackingIcon

set the icon of me to lTrackingIcon

if lTrackingIcon is the cUpIcon of me then hAddToField

else if lTrackingIcon is the cDownIcon of me then hSubtractFromField

put true into lTracking

if "hTimeMove" is not in the pendingMessages then send "hTimeMove" to me in 250 milliseconds

put the result into lCancelID

end mousedown

on hTimeMove

if not lTracking then exit hTimeMove

if the icon of me is the cUpIcon of me then hAddToField

else if the icon of me is the cDownIcon of me then hSubtractFromField

if "hTimeMove" is not in the pendingMessages then send "hTimeMove" to me in 50 milliseconds

put the result into lCancelID

end hTimeMove

on mouseRelease

mouseUp

end mouseRelease

on hAddToField

if the text of the fld (the cTargetField of me) < the cMaxValue of fld (the cTargetField of me) then add 1 to fld (the cTargetField of me)

send "closeField" to fld (the cTargetField of me)

end hAddToField

on hSubtractFromField

if the text of the fld (the cTargetField of me) > the cMinValue of fld (the cTargetField of me) then subtract 1 from fld (the cTargetField of me)

send "closeField" to fld (the cTargetField of me)

end hSubtractFromField

  New Field 3 z* cREVGeneral revUniqueID 1025584587313 Title  New Field 3 z* cREVGeneral revUniqueID 1025584621472 BorderLittle Arrows"B local lTrackingIcon, lTracking, lCancelID on mouseUp cancel lCancelID put false into lTracking set the icon of me to the cIcon of me end mouseUp on mouseDoubleUp mouseUp end mouseDoubleUp on mouseDoubleDown mouseDown end mouseDoubleDown on mouseMove x,y if lTracking then put x,y into tLoc if within (me,tLoc) then if the icon of me is not lTrackingIcon then set the icon of me to lTrackingIcon if lTrackingIcon is the cUpIcon of me then hAddToField else if lTrackingIcon is the cDownIcon of me then hSubtractFromField end if else set the icon of me to the cIcon of me end if end if pass mouseMove end mouseMove on mousedown if the mouseV < (the top of me + 10) then put the cUpIcon of me into lTrackingIcon else put the cDownIcon of me into lTrackingIcon set the icon of me to lTrackingIcon if lTrackingIcon is the cUpIcon of me then hAddToField else if lTrackingIcon is the cDownIcon of me then hSubtractFromField put true into lTracking if "hTimeMove" is not in the pendingMessages then send "hTimeMove" to me in 250 milliseconds put the result into lCancelID end mousedown on hTimeMove if not lTracking then exit hTimeMove if the icon of me is the cUpIcon of me then hAddToField else if the icon of me is the cDownIcon of me then hSubtractFromField if "hTimeMove" is not in the pendingMessages then send "hTimeMove" to me in 50 milliseconds put the result into lCancelID end hTimeMove on mouseRelease mouseUp end mouseRelease on hAddToField if the text of the fld (the cTargetField of me) < the cMaxValue of fld (the cTargetField of me) then add 1 to fld (the cTargetField of me) send "closeField" to fld (the cTargetField of me) end hAddToField on hSubtractFromField if the text of the fld (the cTargetField of me) > the cMinValue of fld (the cTargetField of me) then subtract 1 from fld (the cTargetField of me) send "closeField" to fld (the cTargetField of me) end hSubtractFromField zcUpIcon201319 revButtonfalse cDownIcon201318cIcon201317 cTargetFieldmodeless border revbasicfalsee cREVGeneralscriptChecksum8P )}n\K bookmarks revUniqueID 1025584745776 handlerListomouseUp mouseDoubleUp mouseDoubleDown mouseMove mousedown hTimeMove mouseRelease hAddToField hSubtractFromField tempScript prevHandler hAddToFieldscriptSelectionchar 677 to 676script

local lTrackingIcon, lTracking, lCancelID

on mouseUp

cancel lCancelID

put false into lTracking

set the icon of me to the cIcon of me

end mouseUp

on mouseDoubleUp

mouseUp

end mouseDoubleUp

on mouseDoubleDown

mouseDown

end mouseDoubleDown

on mouseMove x,y

if lTracking then

put x,y into tLoc

if within (me,tLoc) then

if the icon of me is not lTrackingIcon then

set the icon of me to lTrackingIcon

if lTrackingIcon is the cUpIcon of me then hAddToField

else if lTrackingIcon is the cDownIcon of me then hSubtractFromField

end if

else

set the icon of me to the cIcon of me

end if

end if

pass mouseMove

end mouseMove

on mousedown

if the mouseV < (the top of me + 10) then put the cUpIcon of me into lTrackingIcon

else put the cDownIcon of me into lTrackingIcon

set the icon of me to lTrackingIcon

if lTrackingIcon is the cUpIcon of me then hAddToField

else if lTrackingIcon is the cDownIcon of me then hSubtractFromField

put true into lTracking

if "hTimeMove" is not in the pendingMessages then send "hTimeMove" to me in 250 milliseconds

put the result into lCancelID

end mousedown

on hTimeMove

if not lTracking then exit hTimeMove

if the icon of me is the cUpIcon of me then hAddToField

else if the icon of me is the cDownIcon of me then hSubtractFromField

if "hTimeMove" is not in the pendingMessages then send "hTimeMove" to me in 50 milliseconds

put the result into lCancelID

end hTimeMove

on mouseRelease

mouseUp

end mouseRelease

on hAddToField

if the text of the fld (the cTargetField of me) < the cMaxValue of fld (the cTargetField of me) then add 1 to fld (the cTargetField of me)

send "closeField" to fld (the cTargetField of me)

end hAddToField

on hSubtractFromField

if the text of the fld (the cTargetField of me) > the cMinValue of fld (the cTargetField of me) then subtract 1 from fld (the cTargetField of me)

send "closeField" to fld (the cTargetField of me)

end hSubtractFromField

palettei * cREVGeneral revUniqueID 1025585227537 palette border)p on closeField end closeField  cMinValue0 cMaxValue1000 cREVGeneralscriptChecksumrcsf =Ġ bookmarks revUniqueID 1025584745778 handlerList closeFieldscriptSelection char 32 to 31 prevHandler tempScriptscriptn

on closeField

end closeField

 4 palette title)p on closeField end closeField E cMinValue0 cMaxValue1000 cREVGeneralscriptChecksumrcsf =Ġ bookmarks revUniqueID 1025584564787 handlerList closeFieldscriptSelection char 1 to 0 prevHandler tempScriptscriptQ

on closeField

end closeField

 20Little Arrows"B local lTrackingIcon, lTracking, lCancelID on mouseUp cancel lCancelID put false into lTracking set the icon of me to the cIcon of me end mouseUp on mouseDoubleUp mouseUp end mouseDoubleUp on mouseDoubleDown mouseDown end mouseDoubleDown on mouseMove x,y if lTracking then put x,y into tLoc if within (me,tLoc) then if the icon of me is not lTrackingIcon then set the icon of me to lTrackingIcon if lTrackingIcon is the cUpIcon of me then hAddToField else if lTrackingIcon is the cDownIcon of me then hSubtractFromField end if else set the icon of me to the cIcon of me end if end if pass mouseMove end mouseMove on mousedown if the mouseV < (the top of me + 10) then put the cUpIcon of me into lTrackingIcon else put the cDownIcon of me into lTrackingIcon set the icon of me to lTrackingIcon if lTrackingIcon is the cUpIcon of me then hAddToField else if lTrackingIcon is the cDownIcon of me then hSubtractFromField put true into lTracking if "hTimeMove" is not in the pendingMessages then send "hTimeMove" to me in 250 milliseconds put the result into lCancelID end mousedown on hTimeMove if not lTracking then exit hTimeMove if the icon of me is the cUpIcon of me then hAddToField else if the icon of me is the cDownIcon of me then hSubtractFromField if "hTimeMove" is not in the pendingMessages then send "hTimeMove" to me in 50 milliseconds put the result into lCancelID end hTimeMove on mouseRelease mouseUp end mouseRelease on hAddToField if the text of the fld (the cTargetField of me) < the cMaxValue of fld (the cTargetField of me) then add 1 to fld (the cTargetField of me) send "closeField" to fld (the cTargetField of me) end hAddToField on hSubtractFromField if the text of the fld (the cTargetField of me) > the cMinValue of fld (the cTargetField of me) then subtract 1 from fld (the cTargetField of me) send "closeField" to fld (the cTargetField of me) end hSubtractFromField bcUpIcon201319 revButtonfalse cDownIcon201318cIcon201317 cTargetField palette title revbasicfalsee cREVGeneralscriptChecksum8P )}n\K bookmarks revUniqueID 1025584460819 handlerListomouseUp mouseDoubleUp mouseDoubleDown mouseMove mousedown hTimeMove mouseRelease hAddToField hSubtractFromField tempScript prevHandler mouseMovescriptSelectionchar 677 to 676script

local lTrackingIcon, lTracking, lCancelID

on mouseUp

cancel lCancelID

put false into lTracking

set the icon of me to the cIcon of me

end mouseUp

on mouseDoubleUp

mouseUp

end mouseDoubleUp

on mouseDoubleDown

mouseDown

end mouseDoubleDown

on mouseMove x,y

if lTracking then

put x,y into tLoc

if within (me,tLoc) then

if the icon of me is not lTrackingIcon then

set the icon of me to lTrackingIcon

if lTrackingIcon is the cUpIcon of me then hAddToField

else if lTrackingIcon is the cDownIcon of me then hSubtractFromField

end if

else

set the icon of me to the cIcon of me

end if

end if

pass mouseMove

end mouseMove

on mousedown

if the mouseV < (the top of me + 10) then put the cUpIcon of me into lTrackingIcon

else put the cDownIcon of me into lTrackingIcon

set the icon of me to lTrackingIcon

if lTrackingIcon is the cUpIcon of me then hAddToField

else if lTrackingIcon is the cDownIcon of me then hSubtractFromField

put true into lTracking

if "hTimeMove" is not in the pendingMessages then send "hTimeMove" to me in 250 milliseconds

put the result into lCancelID

end mousedown

on hTimeMove

if not lTracking then exit hTimeMove

if the icon of me is the cUpIcon of me then hAddToField

else if the icon of me is the cDownIcon of me then hSubtractFromField

if "hTimeMove" is not in the pendingMessages then send "hTimeMove" to me in 50 milliseconds

put the result into lCancelID

end hTimeMove

on mouseRelease

mouseUp

end mouseRelease

on hAddToField

if the text of the fld (the cTargetField of me) < the cMaxValue of fld (the cTargetField of me) then add 1 to fld (the cTargetField of me)

send "closeField" to fld (the cTargetField of me)

end hAddToField

on hSubtractFromField

if the text of the fld (the cTargetField of me) > the cMinValue of fld (the cTargetField of me) then subtract 1 from fld (the cTargetField of me)

send "closeField" to fld (the cTargetField of me)

end hSubtractFromField

  New Field 3 * cREVGeneral revUniqueID 1025584587313 Title  New Field 3 * cREVGeneral revUniqueID 1025584621472 BorderLittle Arrows"B local lTrackingIcon, lTracking, lCancelID on mouseUp cancel lCancelID put false into lTracking set the icon of me to the cIcon of me end mouseUp on mouseDoubleUp mouseUp end mouseDoubleUp on mouseDoubleDown mouseDown end mouseDoubleDown on mouseMove x,y if lTracking then put x,y into tLoc if within (me,tLoc) then if the icon of me is not lTrackingIcon then set the icon of me to lTrackingIcon if lTrackingIcon is the cUpIcon of me then hAddToField else if lTrackingIcon is the cDownIcon of me then hSubtractFromField end if else set the icon of me to the cIcon of me end if end if pass mouseMove end mouseMove on mousedown if the mouseV < (the top of me + 10) then put the cUpIcon of me into lTrackingIcon else put the cDownIcon of me into lTrackingIcon set the icon of me to lTrackingIcon if lTrackingIcon is the cUpIcon of me then hAddToField else if lTrackingIcon is the cDownIcon of me then hSubtractFromField put true into lTracking if "hTimeMove" is not in the pendingMessages then send "hTimeMove" to me in 250 milliseconds put the result into lCancelID end mousedown on hTimeMove if not lTracking then exit hTimeMove if the icon of me is the cUpIcon of me then hAddToField else if the icon of me is the cDownIcon of me then hSubtractFromField if "hTimeMove" is not in the pendingMessages then send "hTimeMove" to me in 50 milliseconds put the result into lCancelID end hTimeMove on mouseRelease mouseUp end mouseRelease on hAddToField if the text of the fld (the cTargetField of me) < the cMaxValue of fld (the cTargetField of me) then add 1 to fld (the cTargetField of me) send "closeField" to fld (the cTargetField of me) end hAddToField on hSubtractFromField if the text of the fld (the cTargetField of me) > the cMinValue of fld (the cTargetField of me) then subtract 1 from fld (the cTargetField of me) send "closeField" to fld (the cTargetField of me) end hSubtractFromField  revButtonfalsecUpIcon201319cIcon201317 cDownIcon201318 cTargetFieldpalette border revbasicfalsee cREVGeneralscriptChecksum8P )}n\K revUniqueID 1025584745776 bookmarks handlerListomouseUp mouseDoubleUp mouseDoubleDown mouseMove mousedown hTimeMove mouseRelease hAddToField hSubtractFromFieldscriptSelectionchar 677 to 676 prevHandler hAddToField tempScriptscript

local lTrackingIcon, lTracking, lCancelID

on mouseUp

cancel lCancelID

put false into lTracking

set the icon of me to the cIcon of me

end mouseUp

on mouseDoubleUp

mouseUp

end mouseDoubleUp

on mouseDoubleDown

mouseDown

end mouseDoubleDown

on mouseMove x,y

if lTracking then

put x,y into tLoc

if within (me,tLoc) then

if the icon of me is not lTrackingIcon then

set the icon of me to lTrackingIcon

if lTrackingIcon is the cUpIcon of me then hAddToField

else if lTrackingIcon is the cDownIcon of me then hSubtractFromField

end if

else

set the icon of me to the cIcon of me

end if

end if

pass mouseMove

end mouseMove

on mousedown

if the mouseV < (the top of me + 10) then put the cUpIcon of me into lTrackingIcon

else put the cDownIcon of me into lTrackingIcon

set the icon of me to lTrackingIcon

if lTrackingIcon is the cUpIcon of me then hAddToField

else if lTrackingIcon is the cDownIcon of me then hSubtractFromField

put true into lTracking

if "hTimeMove" is not in the pendingMessages then send "hTimeMove" to me in 250 milliseconds

put the result into lCancelID

end mousedown

on hTimeMove

if not lTracking then exit hTimeMove

if the icon of me is the cUpIcon of me then hAddToField

else if the icon of me is the cDownIcon of me then hSubtractFromField

if "hTimeMove" is not in the pendingMessages then send "hTimeMove" to me in 50 milliseconds

put the result into lCancelID

end hTimeMove

on mouseRelease

mouseUp

end mouseRelease

on hAddToField

if the text of the fld (the cTargetField of me) < the cMaxValue of fld (the cTargetField of me) then add 1 to fld (the cTargetField of me)

send "closeField" to fld (the cTargetField of me)

end hAddToField

on hSubtractFromField

if the text of the fld (the cTargetField of me) > the cMinValue of fld (the cTargetField of me) then subtract 1 from fld (the cTargetField of me)

send "closeField" to fld (the cTargetField of me)

end hSubtractFromField

modali * cREVGeneral revUniqueID 1025585240470  modal border)p on closeField end closeField  cMinValue0 cMaxValue1000 cREVGeneralscriptChecksumrcsf =Ġ revUniqueID 1025584745778 bookmarks handlerList closeField tempScript prevHandlerscriptSelection char 32 to 31scriptn

on closeField

end closeField

 4  modal title)p on closeField end closeField E cMinValue0 cMaxValue1000 cREVGeneralscriptChecksumrcsf =Ġ revUniqueID 1025584564787 bookmarks handlerList closeField tempScript prevHandlerscriptSelection char 1 to 0scriptQ

on closeField

end closeField

 20Little Arrows"B local lTrackingIcon, lTracking, lCancelID on mouseUp cancel lCancelID put false into lTracking set the icon of me to the cIcon of me end mouseUp on mouseDoubleUp mouseUp end mouseDoubleUp on mouseDoubleDown mouseDown end mouseDoubleDown on mouseMove x,y if lTracking then put x,y into tLoc if within (me,tLoc) then if the icon of me is not lTrackingIcon then set the icon of me to lTrackingIcon if lTrackingIcon is the cUpIcon of me then hAddToField else if lTrackingIcon is the cDownIcon of me then hSubtractFromField end if else set the icon of me to the cIcon of me end if end if pass mouseMove end mouseMove on mousedown if the mouseV < (the top of me + 10) then put the cUpIcon of me into lTrackingIcon else put the cDownIcon of me into lTrackingIcon set the icon of me to lTrackingIcon if lTrackingIcon is the cUpIcon of me then hAddToField else if lTrackingIcon is the cDownIcon of me then hSubtractFromField put true into lTracking if "hTimeMove" is not in the pendingMessages then send "hTimeMove" to me in 250 milliseconds put the result into lCancelID end mousedown on hTimeMove if not lTracking then exit hTimeMove if the icon of me is the cUpIcon of me then hAddToField else if the icon of me is the cDownIcon of me then hSubtractFromField if "hTimeMove" is not in the pendingMessages then send "hTimeMove" to me in 50 milliseconds put the result into lCancelID end hTimeMove on mouseRelease mouseUp end mouseRelease on hAddToField if the text of the fld (the cTargetField of me) < the cMaxValue of fld (the cTargetField of me) then add 1 to fld (the cTargetField of me) send "closeField" to fld (the cTargetField of me) end hAddToField on hSubtractFromField if the text of the fld (the cTargetField of me) > the cMinValue of fld (the cTargetField of me) then subtract 1 from fld (the cTargetField of me) send "closeField" to fld (the cTargetField of me) end hSubtractFromField b revButtonfalsecUpIcon201319cIcon201317 cDownIcon201318 cTargetField modal title revbasicfalsee cREVGeneralscriptChecksum8P )}n\K revUniqueID 1025584460819 bookmarks handlerListomouseUp mouseDoubleUp mouseDoubleDown mouseMove mousedown hTimeMove mouseRelease hAddToField hSubtractFromFieldscriptSelectionchar 677 to 676 prevHandler mouseMove tempScriptscript

local lTrackingIcon, lTracking, lCancelID

on mouseUp

cancel lCancelID

put false into lTracking

set the icon of me to the cIcon of me

end mouseUp

on mouseDoubleUp

mouseUp

end mouseDoubleUp

on mouseDoubleDown

mouseDown

end mouseDoubleDown

on mouseMove x,y

if lTracking then

put x,y into tLoc

if within (me,tLoc) then

if the icon of me is not lTrackingIcon then

set the icon of me to lTrackingIcon

if lTrackingIcon is the cUpIcon of me then hAddToField

else if lTrackingIcon is the cDownIcon of me then hSubtractFromField

end if

else

set the icon of me to the cIcon of me

end if

end if

pass mouseMove

end mouseMove

on mousedown

if the mouseV < (the top of me + 10) then put the cUpIcon of me into lTrackingIcon

else put the cDownIcon of me into lTrackingIcon

set the icon of me to lTrackingIcon

if lTrackingIcon is the cUpIcon of me then hAddToField

else if lTrackingIcon is the cDownIcon of me then hSubtractFromField

put true into lTracking

if "hTimeMove" is not in the pendingMessages then send "hTimeMove" to me in 250 milliseconds

put the result into lCancelID

end mousedown

on hTimeMove

if not lTracking then exit hTimeMove

if the icon of me is the cUpIcon of me then hAddToField

else if the icon of me is the cDownIcon of me then hSubtractFromField

if "hTimeMove" is not in the pendingMessages then send "hTimeMove" to me in 50 milliseconds

put the result into lCancelID

end hTimeMove

on mouseRelease

mouseUp

end mouseRelease

on hAddToField

if the text of the fld (the cTargetField of me) < the cMaxValue of fld (the cTargetField of me) then add 1 to fld (the cTargetField of me)

send "closeField" to fld (the cTargetField of me)

end hAddToField

on hSubtractFromField

if the text of the fld (the cTargetField of me) > the cMinValue of fld (the cTargetField of me) then subtract 1 from fld (the cTargetField of me)

send "closeField" to fld (the cTargetField of me)

end hSubtractFromField

  New Field 3 * cREVGeneral revUniqueID 1025584587313 Title  New Field 3 * cREVGeneral revUniqueID 1025584621472 BorderLittle Arrows"B local lTrackingIcon, lTracking, lCancelID on mouseUp cancel lCancelID put false into lTracking set the icon of me to the cIcon of me end mouseUp on mouseDoubleUp mouseUp end mouseDoubleUp on mouseDoubleDown mouseDown end mouseDoubleDown on mouseMove x,y if lTracking then put x,y into tLoc if within (me,tLoc) then if the icon of me is not lTrackingIcon then set the icon of me to lTrackingIcon if lTrackingIcon is the cUpIcon of me then hAddToField else if lTrackingIcon is the cDownIcon of me then hSubtractFromField end if else set the icon of me to the cIcon of me end if end if pass mouseMove end mouseMove on mousedown if the mouseV < (the top of me + 10) then put the cUpIcon of me into lTrackingIcon else put the cDownIcon of me into lTrackingIcon set the icon of me to lTrackingIcon if lTrackingIcon is the cUpIcon of me then hAddToField else if lTrackingIcon is the cDownIcon of me then hSubtractFromField put true into lTracking if "hTimeMove" is not in the pendingMessages then send "hTimeMove" to me in 250 milliseconds put the result into lCancelID end mousedown on hTimeMove if not lTracking then exit hTimeMove if the icon of me is the cUpIcon of me then hAddToField else if the icon of me is the cDownIcon of me then hSubtractFromField if "hTimeMove" is not in the pendingMessages then send "hTimeMove" to me in 50 milliseconds put the result into lCancelID end hTimeMove on mouseRelease mouseUp end mouseRelease on hAddToField if the text of the fld (the cTargetField of me) < the cMaxValue of fld (the cTargetField of me) then add 1 to fld (the cTargetField of me) send "closeField" to fld (the cTargetField of me) end hAddToField on hSubtractFromField if the text of the fld (the cTargetField of me) > the cMinValue of fld (the cTargetField of me) then subtract 1 from fld (the cTargetField of me) send "closeField" to fld (the cTargetField of me) end hSubtractFromField cUpIcon201319 revButtonfalse cDownIcon201318cIcon201317 cTargetField modal border revbasicfalsee cREVGeneralscriptChecksum8P )}n\K bookmarks revUniqueID 1025584745776 handlerListomouseUp mouseDoubleUp mouseDoubleDown mouseMove mousedown hTimeMove mouseRelease hAddToField hSubtractFromField tempScript prevHandler hAddToFieldscriptSelectionchar 677 to 676script

local lTrackingIcon, lTracking, lCancelID

on mouseUp

cancel lCancelID

put false into lTracking

set the icon of me to the cIcon of me

end mouseUp

on mouseDoubleUp

mouseUp

end mouseDoubleUp

on mouseDoubleDown

mouseDown

end mouseDoubleDown

on mouseMove x,y

if lTracking then

put x,y into tLoc

if within (me,tLoc) then

if the icon of me is not lTrackingIcon then

set the icon of me to lTrackingIcon

if lTrackingIcon is the cUpIcon of me then hAddToField

else if lTrackingIcon is the cDownIcon of me then hSubtractFromField

end if

else

set the icon of me to the cIcon of me

end if

end if

pass mouseMove

end mouseMove

on mousedown

if the mouseV < (the top of me + 10) then put the cUpIcon of me into lTrackingIcon

else put the cDownIcon of me into lTrackingIcon

set the icon of me to lTrackingIcon

if lTrackingIcon is the cUpIcon of me then hAddToField

else if lTrackingIcon is the cDownIcon of me then hSubtractFromField

put true into lTracking

if "hTimeMove" is not in the pendingMessages then send "hTimeMove" to me in 250 milliseconds

put the result into lCancelID

end mousedown

on hTimeMove

if not lTracking then exit hTimeMove

if the icon of me is the cUpIcon of me then hAddToField

else if the icon of me is the cDownIcon of me then hSubtractFromField

if "hTimeMove" is not in the pendingMessages then send "hTimeMove" to me in 50 milliseconds

put the result into lCancelID

end hTimeMove

on mouseRelease

mouseUp

end mouseRelease

on hAddToField

if the text of the fld (the cTargetField of me) < the cMaxValue of fld (the cTargetField of me) then add 1 to fld (the cTargetField of me)

send "closeField" to fld (the cTargetField of me)

end hAddToField

on hSubtractFromField

if the text of the fld (the cTargetField of me) > the cMinValue of fld (the cTargetField of me) then subtract 1 from fld (the cTargetField of me)

send "closeField" to fld (the cTargetField of me)

end hSubtractFromField

DoneEpon mouseUp put fld "toplevel title",fld "toplevel border" into tArray["toplevel"] put fld "modeless title",fld "modeless border" into tArray["modeless"] put fld "palette title",fld "palette border" into tArray["palette"] put fld "modal title",fld "modal border" into tArray["modal"] set the customProperties["cWindow"} of stack "revScreenGrabber" to tArray close this stack end mouseUp 6 cREVGeneralscriptChecksum#E ˲roI\ bookmarks revUniqueID 1025585560390 handlerListmouseUpscriptSelectionchar 367 to 366 prevHandler tempScriptscript

on mouseUp

put fld "toplevel title",fld "toplevel border" into tArray["toplevel"]

put fld "modeless title",fld "modeless border" into tArray["modeless"]

put fld "palette title",fld "palette border" into tArray["palette"]

put fld "modal title",fld "modal border" into tArray["modal"]

set the customProperties["cWindow"} of stack "revScreenGrabber" to tArray

close this stack

end mouseUp