#!/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 "$@" AppBrowserPatch 2 @X, uPaypalURL Chttps%3A%2F%2Fwww.paypal.com%2Fcgi-bin%2Fwebscr%3Fcmd%3D_xclick%26business%3Deric%252echatonet%2540sosmartsoftware%252ecom%26item_name%3DEric%2520Chatonet%26item_number%3DDev%2520Support%26no_shipping%3D0%26no_note%3D1%26tax%3D0%26currency_code%3DEUR%26return%3Dhttp%3A%2F%2Fwww.sosmartsoftware.com%2F%26charset%3DUTF%252d8 2Application Browser Patch for Rev 2.5.1 or Higher U Lucida Grande U Lucida Grande W Lucida Grande @U Lucida Grande U Georgia U Georgia cREVGeometryCache stackID 1017 cREVGeneral bookmarks debugObjects handlerList prevHandler tempScript script X /* App Browser 2.5.1 to 2.6 Patch by Eric Chatonet sosmartsoftware.com July 2005 */ on preOpenStack set the loc of this stack to the screenloc set the style of this stack to modeless end preOpenStack --------------------------------- on openStack switch case BadRevVersion() -- answer error "This patch is for Rev 2.5.1 or higher." with "Sorry" as sheet disable btn "Apply Patch" break case "-- put tControls into lControlCache[pCard]" is in the script of stack AppBrowserPath() -- answer info "This patch has been already applied." as sheet disable btn "Apply Patch" break default enable btn "Apply Patch" end switch end openStack --------------------------------- function BadRevVersion put revAppVersion() into tVersion if tVersion = "2.5.1" then return false if char 1 to 3 of tVersion >= 2.6 then return false return true end BadRevVersion --------------------------------- function AppBrowserPath local tFilePath ----- put the stacks into tFilePath filter tFilePath with "*revmenubar.rev" if tFilePath = empty then answer error "Could not find the right path." with "Sorry" exit to top else set the itemDel to slash put "revApplicationOverview.rev" into item -1 of tFilePath if there is a file tFilePath then return tFilePath answer error "Could not find revApplicationOverview.rev stack." with "Sorry" exit to top end if end AppBrowserPath , cREVGeometryCacheIDs 1109926194716 10051109926471772 10071110548807876 10141119423709526 10161110540770416 16001121422230856 1017 cREVGeometrycache total 6order cREVGeneral scriptChecksum M40 >TJ G bookmarks breakPoints handlerList 3preOpenStack openStack BadRevVersion AppBrowserPathscriptSelection char 1213 to 1234prevHandler openStacktempScript script
/*
App Browser 2.5.1 to 2.6 Patch by Eric Chatonet
sosmartsoftware.com
July 2005
*/
on preOpenStack
set the loc of this stack to the screenloc
set the style of this stack to modeless
end preOpenStack
---------------------------------
on openStack
switch
case BadRevVersion() --
answer error "This patch is for Rev 2.5.1 or higher." with "Sorry" as sheet
disable btn "Apply Patch"
break
case "-- put tControls into lControlCache[pCard]" is in the script of stack AppBrowserPath() --
answer info "This patch has been already applied." as sheet
disable btn "Apply Patch"
break
default
enable btn "Apply Patch"
end switch
end openStack
---------------------------------
function BadRevVersion
put revAppVersion() into tVersion
if tVersion = "2.5.1" then return false
if char 1 to 3 of tVersion >= 2.6 then return false
return true
end BadRevVersion
---------------------------------
function AppBrowserPath
local tFilePath
-----
put the stacks into tFilePath
filter tFilePath with "*revmenubar.rev"
if tFilePath = empty then
answer error "Could not find the right path." with "Sorry"
exit to top
else
set the itemDel to slash
put "revApplicationOverview.rev" into item -1 of tFilePath
if there is a file tFilePath then return tFilePath
answer error "Could not find revApplicationOverview.rev stack." with "Sorry"
exit to top
end if
end AppBrowserPath
@ Apply Patch Epon mouseUp local tCurPath,tSavePath,tFileType,tNewScript,tNewCardScript,tPrompt ----- set the cursor to watch ----- saving current app browser: put AppBrowserPath() into tCurPath -- C put tCurPath into tSavePath set the itemDel to slash put "revApplicationOverview old.rev" into item -1 of tSavePath if the platform = "MacOS" then put the fileType into tFileType set the fileType to "revoRSTK" end if put url("binfile:" & tCurPath) into url("binfile:" & tSavePath) put the result into tResult if the platform = "MacOS" then set the fileType to tFileType if tResult <> empty then answer error "An error occured when saving a backup of your current App Browser stack." \ & cr & cr & "Process has been stopped." with "Sorry" as sheet exit mouseUp end if ------ set the script of stack "revApplicationOverview" to the script of btn "NewScript" save stack "revApplicationOverview" ----- cleaning up: disable the target put "Answer Dialog patch has been applied succesfully.
" & cr \ & cr & "To ensure the security, a copy of your previous App Browser stack has been saved as
" & tSavePath & ".
" into tPrompt replace cr with cr & "" & cr in tPrompt answer info tPrompt end mouseUp 2 d cREVGeneral scriptChecksum #=dbreakPoints handlerList mouseUpscriptSelection char 151 to 150revUniqueID 1109926194716 bookmarks tempScript prevHandler mouseUpscripton mouseUp
local tCurPath,tSavePath,tFileType,tNewScript,tNewCardScript,tPrompt
-----
set the cursor to watch
----- saving current app browser:
put AppBrowserPath() into tCurPath -- C
put tCurPath into tSavePath
set the itemDel to slash
put "revApplicationOverview old.rev" into item -1 of tSavePath
if the platform = "MacOS" then
put the fileType into tFileType
set the fileType to "revoRSTK"
end if
put url("binfile:" & tCurPath) into url("binfile:" & tSavePath)
put the result into tResult
if the platform = "MacOS" then set the fileType to tFileType
if tResult <> empty then
answer error "An error occured when saving a backup of your current App Browser stack." \
& cr & cr & "Process has been stopped." with "Sorry" as sheet
exit mouseUp
end if
------
set the script of stack "revApplicationOverview" to the script of btn "NewScript"
save stack "revApplicationOverview"
----- cleaning up:
disable the target
put "<p><b>Answer Dialog patch has been applied succesfully.</b></p>" & cr \
& cr & "<p><i>To ensure the security, a copy of your previous App Browser stack has been saved as</i></p><p><i>" & tSavePath & ".</i></p>" into tPrompt
replace cr with cr & "<p></p>" & cr in tPrompt
answer info tPrompt
end mouseUp
Info x on linkClicked revmail "feedback@sosmartsoftware.com",,"About Answer Dialog Patch","Thanks for giving me your feedback!" & cr & cr end linkClicked (| cREVGeneral scriptChecksum :ԝ4u10o bookmarks revUniqueID 1109926471772handlerList linkClickedscriptSelection char 80 to 79prevHandler linkClickedtempScript scripton linkClicked
revmail "feedback@sosmartsoftware.com",,"About Answer Dialog Patch","Thanks for giving me your feedback!" & cr & cr
end linkClicked
cThis patch for Revolution/DreamCard 2.5.1 and 2.6 forces the Application Browser lists to refresh. $ $ 1 1 ( Just click on the Apply Patch button. @ 1600 3 Note that the patch saves first a backup of your components/ tools/revapplicationoverview.rev stack as revapplicationoverview old.rev : so you will be able to revert to the previous state if you wish it by trashing the revapplicationoverview.rev stack and suppressing the old suffix from the backup name. @ 1600 2 3 , _ i U Eric Chatonet @ Flche2.png q PNG IHDR Kpl_ pHYs gAMA |Q cHRM z% u0 ` : o_F IDATxb?,Xv$ϯ.?~~e'P#@ 11 @?~23_k_?V@p /÷>|()%ţ,%-F2\@ *n wJU牓/_ o_ū(II` b`AM]Nk5 _,? d +@ 021~K?@fӬ ~W XXY};w<|||߿}Kw^W@ koǑ74;Gڷo_߿uLL7qe`&Fqϟ_sPuFFf bA8`(10r =zk~TxNP `=l|, IENDB` cREVGeneral revUniqueID 1110540770416 SSS.png Jon mouseDown revGoUrl "http://www.sosmartsoftware.com/" end mouseDown " -PNG IHDR " . pHYs .# .#x?v 9iCCPPhotoshop ICC profile xڝwTTϽwz0z.0. Qf Ml@DEHb!(`HPb0dFJ|yyǽgs{. $O./ 'z8WGб x 0Y驾A@$/7z HeOOҬT _lN:K"N3"$F/JPrb[䥟}Qd[Sl1x{#bG\NoX3I[ql2 $8xtr p/8pCfq.Knjm͠{r28?.)ɩL^6 g,qm"[Z[Z~Q7%" 3R `̊j[~ : w! $E}kyhyRm333: }=#vʉe tqX)I)B>== <8Xȉ9