if not (the name of this stack contains "Developer") then wrongStack
rescopy source, dest, "XFCN", "Order"
rescopy source, dest, "XCMD", "ShowDialog"
rescopy source, dest, "DITL", "XNet"
rescopy source, dest, "DLOG", "XNet"
rescopy source, dest, "XFCN", "Substitute"
if the result is not empty then
pop cd
setLocks false
put "Sorry, problems copying resources. Repair aborted." into str1
ShowDialog 2,7400,str1,"","","",70,105
hideMessage
exit to HyperCard
end if
set the script of this stack to stackScript
set the script of this bg to bgScript
repeat with i = 1 to the number of lines of theList
put cd fld (line i of thelist) into indexList
put substitute(",",return,indexList) into indexList
put order(indexList,return) into indexList
put stripReturn(indexList) into indexList
put indexList into cd fld (line i of theList)
end repeat
hide msg
pop cd
hideMessage
setLocks false
beep
ShowDialog 1,7671,"",true,55,110
end doRepair
on wrongStack
pop cd
setLocks false
put "Error! You cannot work on the stack you selected." into str1
beep
ShowDialog 2,7400,str1,"","","",70,105
hideMessage
exit to HyperCard
end wrongStack
-- part 6 (field)
-- low flags: 80
-- high flags: 0001
-- rect: left=156 top=120 right=205 bottom=356
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 9
-- style flags: 0
-- line height: 12
-- part name:
-- part 7 (button)
-- low flags: 00
-- high flags: A003
-- rect: left=153 top=73 right=95 bottom=350
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Please Read Me First...
----- HyperTalk script -----
on mouseUp
set the visible of cd fld id 11 to not the visible of cd fld id 11
end mouseUp
-- part 8 (field)
-- low flags: 81
-- high flags: 0002
-- rect: left=145 top=67 right=148 bottom=358
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
-- part 9 (field)
-- low flags: 81
-- high flags: 0002
-- rect: left=148 top=70 right=145 bottom=355
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
-- part 10 (field)
-- low flags: 81
-- high flags: 0002
-- rect: left=149 top=71 right=144 bottom=354
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 14
-- part name:
-- part 11 (field)
-- low flags: 81
-- high flags: 2007
-- rect: left=4 top=213 right=337 bottom=507
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 9
-- style flags: 0
-- line height: 12
-- part name:
----- HyperTalk script -----
on mouseUp
hide me
set the scroll of me to 0
end mouseUp
-- part 12 (button)
-- low flags: 00
-- high flags: 2000
-- rect: left=482 top=187 right=211 bottom=512
-- title width / last selected line: 0
-- icon id / first selected line: 19678 / 19678
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: About XNet...
----- HyperTalk script -----
on mouseUp
set the visible of cd fld id 14 to not the visible of cd fld id 14
end mouseUp
-- part 14 (field)
-- low flags: 81
-- high flags: 2002
-- rect: left=7 top=212 right=338 bottom=504
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 9
-- style flags: 0
-- line height: 12
-- part name:
----- HyperTalk script -----
on mouseUp
hide me
end mouseUp
-- part contents for card part 6
----- text -----
XFCNs
XCMDs
Functions
Scripts
Buttons
Quick Ref
Index
-- part contents for card part 11
----- text -----
DevStackFix 1.0 by Dean H. Wette, XNetΓäó, 24 February 1989
The Developer Stack version 1.2 has problems with HyperCard 1.2. It uses an external function XFCN
(Sortlines) that causes a system crash when the scrolling list dialog is invoked. This stack repairs Developer Stack by replacing those resources that cause the system error with newer, compatible ones. It also modifies some scripts to make Developer Stack work correctly with the new resources.
This stack will modify both the resource and data component of Developer Stack--WORK ONLY ON A COPY!
The repair is not guaranteed to work on modified copies of Developer Stack, although, in most cases, it should work fine. If you have modified Developer Stack and/or added resources to it, you may contact me directly for instructions on performing the repair manually. If you have added resources that share the same ID as the resources added by the repair, your original resources will be overwritten by the ones installed by the repair routine.
To invoke the repair, click the appropriate button above. A standard GetFile dialog will prompt you to select a copy of the Developer Stack to work on. The process itself takes only a few moments. An alert will inform you if error is encountered, or when the repair is completed successfully.
Please Note Well: You will need to RESTART HyperCard before the repair is functional. This is due to the way some resources are copied--they don't become active until after HyperCard is restarted.
DevStackFix uses some resources that are copyrighted by other developers. They are:
FileName XFCN by Steve Maller, Apple Computer
ShowDialog XCMD by Jay Hodgdon
Substitute and Order XFCNs by Eric Celeste
My thanks to all of them for their excellent work providing freeware and shareware external resources.
All other components of this stack, other than the non-modified parts of Developer Stack's scripts, are copyright ©1989 by Dean H. Wette. DevStackFix is an XNet™ product and is free of charge. It may be distributed freely only through non-profit channels, and through online services that do not charge for specific downloaded files. ShareWare/Freeware distributors, whose business is to distribute software, are forbidden from distributing DevStackFix or any other XNet product.
If you have any problems, or need to perform the repair manually you may contact me at the following:
MacNET: DWETTE
CIS: 72317,2034
GEnie: D.WETTE
Dean Wette
921 DeMun Ave.
Clayton MO 63105
-- part contents for card part 14
----- text -----
XNetΓäó is the HyperCard and Externals Developers Network, a coalition of developers in HyperTalk and of XCMD's and XFCN's. The members of the group are available via various ID's and Addresses on all the major networks and information services (CONNECT/MacNET, CompuServe, GEnie and AppleLink). Soon, the group as a whole, may be contacted through one central ID or Address on your service of preference. For now, inquire with the System Operator or Forum Manager of your service's HyperCard areas for info regarding the contacting of XNetΓäó members.
The group members, made up of a growing and changing number of experienced HyperTalk and Externals Developers, produce various freeware products for public distribution under the XNetΓäó name, as well as provide responsive assistance and information at both novice and expert levels of HyperCard Development.