#!/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 "$@"  revArchive3"BBuu<, revstackfalseArchive Plugin  @Ums sans serifQDa8 cREVLoadInfoloadstartup cREVGeneralscriptChecksumُ B~ bookmarks handlerList tempScript prevHandler openStackscriptSelectionscript

cREVGeometryCachestackID1018 @<,cREVGeometryCacheIDs10083102775151017100788945274410121007889440829101110078894348081010100787719259410031007887317041100910078858849411008cREVGeometryCacheordertotal7Archive TopStack"CP Zon mouseUp if exists(fld "test") then put empty into it end if if the shiftKey is down then if the backdrop is not gray then set the backdrop to gray else set the backdrop to none end if exit mouseUp end if if the controlKey is down then if the platform is "Win32" then put the filename of the topstack into tfile #replace quote with empty in tfile replace "/" with "\" in tfile put "attrib"&& quote & tfile & quote && "-R" into DosCommand put DosCommand set the hideConsoleWindows to true put shell (DosCommand) end if exit mouseUp end if if the altKey is down then if the style of this stack is palette then set the style of this stack to topLevel else set the style of this stack to palette end if exit mouseUp end if put the short name of the topStack into StackName put the mainStack of stack StackName into StackName answer question "Archive Stack: " & StackName with "Cancel" and "Okay" if it is "Okay" then put empty into fld "test" of stack "revArchive" revSave StackName put the fileName of stack StackName into StackFileName put the fileName of stack StackName into folderPath --printmsg " "," " set itemDel to "/" put the last item of folderPath into fileName delete last item of folderPath put folderPath & "/" into folderPath set itemDel to "." delete the last item of fileName set itemDel to "," --printmsg "folderPath",folderPath --printmsg "fileName",fileName put the defaultFolder into savedDF set the defaultFolder to folderPath put the files into fileList --CHECK TO SEE IF ARCHIVE FOLDER EXISTS if there is not a folder "archive" then printMsg "making folder Archive","" create folder "archive" end if put folderpath & "archive/" into folderpath set the defaultFolder to folderPath repeat with count = 1 to 1000 if count < 10 then put fileName & "0000" & count & ".rev" into file2save else put fileName & "000" & count & ".rev" into file2save end if if there is not a file file2save then -- IF YOU UNCOMMENT THE BELOW YOU NEED TO COMMENT THESE THREE LINES put "binfile:" & StackFileName into file2copy printMsg "File to Copy", StackFileName put "binfile:" & folderpath & file2save into archiveFile printMsg "Archive File:" ,folderpath & file2save put url file2copy into url archiveFile -- BELOW WORKS ONLY FOR SINGLE STACKS BUT WILL SAVE, CLOSE AND OPEN STACKS WHICH IS USEFUL SOMETIMES -- save stack StackName as file2save -- if the result is not empty then -- answer "Can't save stack" && l && "due to an error:" & cr & the result -- else -- delete stack StackName -- open stack StackFileName -- end if exit repeat end if end repeat set the defaultFolder to savedDF end if end mouseUp on printMsg msg1 msg2 --NEED TO COMMENT OUT WHEN IT'S A PALETTE put msg1 & ":" & msg2 into line (the number of lines of fld "test" of stack "revArchive" + 1) of fld "test" of stack "revArchive" end printMsg @<, cREVGeneralscriptChecksum,Fٞ7 6 revUniqueID 1007877192594 bookmarks handlerListmouseUp printMsg tempScript prevHandlermouseUpscriptSelectionchar 362 to 361script

on mouseUp

if exists(fld "test") then

put empty into it

end if

if the shiftKey is down then

if the backdrop is not gray then

set the backdrop to gray

else

set the backdrop to none

end if

exit mouseUp

end if

if the controlKey is down then

if the platform is "Win32" then

put the filename of the topstack into tfile

#replace quote with empty in tfile

replace "/" with "\" in tfile

put "attrib"&& quote & tfile & quote && "-R" into DosCommand

put DosCommand

set the hideConsoleWindows to true

put shell (DosCommand)

end if

exit mouseUp

end if

if the altKey is down then

if the style of this stack is palette then

set the style of this stack to topLevel

else

set the style of this stack to palette

end if

exit mouseUp

end if

put the short name of the topStack into StackName

put the mainStack of stack StackName into StackName

answer question "Archive Stack: " & StackName with "Cancel" and "Okay"

if it is "Okay" then

put empty into fld "test" of stack "revArchive"

revSave StackName

put the fileName of stack StackName into StackFileName

put the fileName of stack StackName into folderPath

--printmsg " "," "

set itemDel to "/"

put the last item of folderPath into fileName

delete last item of folderPath

put folderPath & "/" into folderPath

set itemDel to "."

delete the last item of fileName

set itemDel to ","

--printmsg "folderPath",folderPath

--printmsg "fileName",fileName

put the defaultFolder into savedDF

set the defaultFolder to folderPath

put the files into fileList

--CHECK TO SEE IF ARCHIVE FOLDER EXISTS

if there is not a folder "archive" then

printMsg "making folder Archive",""

create folder "archive"

end if

put folderpath & "archive/" into folderpath

set the defaultFolder to folderPath

repeat with count = 1 to 1000

if count < 10 then

put fileName & "0000" & count & ".rev" into file2save

else

put fileName & "000" & count & ".rev" into file2save

end if

if there is not a file file2save then

-- IF YOU UNCOMMENT THE BELOW YOU NEED TO COMMENT THESE THREE LINES

put "binfile:" & StackFileName into file2copy

printMsg "File to Copy", StackFileName

put "binfile:" & folderpath & file2save into archiveFile

printMsg "Archive File:" ,folderpath & file2save

put url file2copy into url archiveFile

-- BELOW WORKS ONLY FOR SINGLE STACKS BUT WILL SAVE, CLOSE AND OPEN STACKS WHICH IS USEFUL SOMETIMES

-- save stack StackName as file2save

-- if the result is not empty then

-- answer "Can't save stack" && l && "due to an error:" & cr & the result

-- else

-- delete stack StackName

-- open stack StackFileName

-- end if

exit repeat

end if

end repeat

set the defaultFolder to savedDF

end if

end mouseUp

on printMsg msg1 msg2

--NEED TO COMMENT OUT WHEN IT'S A PALETTE

put msg1 & ":" & msg2 into line (the number of lines of fld "test" of stack "revArchive" + 1) of fld "test" of stack "revArchive"

end printMsg

 New Field 1)7on linkClicked pLink revGoURL pLink end linkClicked 04f cREVGeneralscriptChecksum%3zlo%4 revUniqueID 1007885884941 bookmarks handlerList linkClicked tempScript prevHandler linkClickedscriptSelectionchar 125 to 124scriptJ

on linkClicked pLink

revGoURL pLink

end linkClicked

v1.8 This Plugin will automatically Save the TopStack, then save a copy with a 000X.rev extension with X incrementing by 1 each time. It has been tested on Windows platforms, but not Mac or Linux.  For updates and comments: 8http://www.altuit.com/webs/altuit2/RunRev/Downloads.htm save.png@2<,(PNG  IHDR<,HLgAMA|Q cHRMz%u._:oi+IDATxb{O{}d#TB3"=?xc@1b5 &{ 0Ed0 @ }sw+;Vzҭ 8Vr̭ X;L%'c`N^RX@@G_=^~̵(s)>Rzԥ#7i`cYs ";-=C:yGʁFq->RxȥsAB7KnD Y-z}ƒE] =Sv̽8(zt7<s):Zt9S>m\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ZDLYv"e ۝ "c 5rۥo2_XtNɜI5{K6D, Z>30yZ`dISS&$MnhtlLJ1;,}^dⴚmYڏGT6_it6}.EHw4@1{xY[S. ؕ~2hV=iے'H(YX4hqRђ@`a|޼9sbsfΏ_X8xibr5)vd7e:u}f<#LĐ{2K~][mRYpqba"vĔo*Y6"oyxβEa@8,B. ]BsE@RKs, [*p}VImRܝE\J V9)c` 4:yiF#F22I/_/e4A?x~T9@ӬV+M㔷ϥ{Qײ#: 39rA=J&mu*I+-W'.LZbY/1hIK-WXL@s9&\ib;k!``F}VY[.90N|Vf 䘽1k}6:`kA#K#A-b\x׽\` ՟=[sܯO1>5i>4з_ ӁMgֵ\ lv~D˱Si .=){,%JK)/"%EJn#dӖ(/LXN,\Za@PFIENDB` cREVGeneral revUniqueID 1007889452744Mac Stack Height FlipperBLon mouseUp if the hilite of me then set the rect of this stack to the topLeft of this stack, the left of this stack + 317, the top of this stack + 157 else set the rect of this stack to the topLeft of this stack, the left of this stack + 60, the top of this stack + 44 end mouseUp on mouseDoubleUp mouseUp end mouseDoubleUp ) cContractedStackHeight400cExpandedStackHeight500 cREVGeneralscriptChecksummjFJf qCJf" revUniqueID 1007887317041 bookmarks handlerListmouseUp mouseDoubleUp tempScript prevHandler mouseDoubleUpscriptSelection char 1 to 284script

on mouseUp

if the hilite of me then set the rect of this stack to the topLeft of this stack, the left of this stack + 317, the top of this stack + 157

else set the rect of this stack to the topLeft of this stack, the left of this stack + 60, the top of this stack + 44

end mouseUp

on mouseDoubleUp

mouseUp

end mouseDoubleUp

 test)` *r cREVGeneral revUniqueID 1008310277515  +File to Copy:C:/Presentor/demoplayer05.rev 9Archive File::C:/Presentor/archive/demoplayer0500002.rev`@#p