#!/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 "$@" Simple Player BM Tabs false U ms sans serif " U ms sans serif " W ms sans serif @U ms sans serif cREVGeneral bookmarks handlerList tempScript prevHandler scriptSelection char 1 to 0script @ M cREVGeneral bookmarks handlerList tempScript prevHandler scriptSelection char 1 to 0script List )p1on mouseUp set the cursor to watch put (the defaultFolder & slash & the selectedText of me) into thePath if char -3 to -1 of thePath is ".gz" then put the decompress of URL ("binfile:" & thePath) into \ URL ("binfile:" & char 1 to -4 of thePath & ".rev") put char 1 to -4 of thePath & ".rev" into thePath end if if there is a file thePath then go to stack thePath in a new window else beep put "No such file" into me end if send mouseUp to button "Update List" of stack "SimplePlayer" in 1.5 seconds end mouseUp L Tabs false cREVGeneral scriptChecksum KL8lz? U B bookmarks revUniqueID 1043264633356handlerList mouseUpscriptSelection char 353 to 352prevHandler mouseUptempScript script '
on mouseUp
set the cursor to watch
put (the defaultFolder & slash & the selectedText of me) into thePath
if char -3 to -1 of thePath is ".gz" then
put the decompress of URL ("binfile:" & thePath) into \
URL ("binfile:" & char 1 to -4 of thePath & ".rev")
put char 1 to -4 of thePath & ".rev" into thePath
end if
if there is a file thePath then
go to stack thePath in a new window
else
beep
put "No such file" into me
end if
send mouseUp to button "Update List" of stack "SimplePlayer" in 1.5 seconds
end mouseUp