home *** CD-ROM | disk | FTP | other *** search
- <?xml version="1.0" encoding="utf-8" ?>
- <!DOCTYPE stack PUBLIC "-//Apple, Inc.//DTD stack V 2.0//EN" "" >
- <stack>
- <name>in</name>
- <id>-1</id>
- <cardCount>6</cardCount>
- <cardID>6552</cardID>
- <listID>5851</listID>
- <cantModify><false /></cantModify>
- <cantDelete><false /></cantDelete>
- <cantAbort><false /></cantAbort>
- <cardSize>
- <width>512</width>
- <height>342</height>
- </cardSize>
- <script>on xy -- puts the mouse location in the message box until a mouse click
- repeat until the mouse is down
- put the mouseLoc
- end repeat
- end xy
-
- on c
- choose browse tool
- doMenu "Card Info..."
- end c
-
- on b
- choose browse tool
- doMenu "Bkgnd Info..."
- end b
-
- on s
- choose browse tool
- doMenu "Stack Info..."
- end s
-
- on startUp
- getHomeInfo
- pass startUp -- to a startUp XCMD, if present
- end startUp
-
- on resume
- getHomeInfo
- pass resume -- to a resume XCMD, if present
- end resume
-
- on getHomeInfo
- global stacks,applications,documents,userName
- set lockScreen to true
- set lockMessages to true
- push this card
- go to card "User Preferences" of stack "Home"
- put card field "User Name" into userName
- set userLevel to card field "User Level"
- set powerKeys to the hilite of button "Power Keys"
- set textArrows to the hilite of button "Text Arrows"
- set blindTyping to the hilite of button "Blind Typing"
- put field "paths" of card "stacks" into stacks
- put field "paths" of card "applications" into applications
- put field "paths" of card "documents" into documents
- pop card
- set lockScreen to false
- set lockMessages to false
- end getHomeInfo
-
- on searchScript pattern,stackName -- search all scripts of a stack
- set lockMessages to true
- if stackName is not empty then go to stack stackName
-
- if the script of this stack contains pattern
- then edit script of this stack
-
- repeat with i = 1 to the number of bkgnds
- go to card 1 of bkgnd i
- if the script of this bkgnd contains pattern
- then edit script of bkgnd
-
- repeat with j = 1 to the number of bkgnd buttons
- if the script of bkgnd button j contains pattern
- then edit script of bkgnd button j
- end repeat
-
- repeat with j = 1 to the number of bkgnd fields
- if the script of bkgnd field j contains pattern
- then edit script of bkgnd field j
- end repeat
-
- end repeat
-
- repeat with i = 1 to the number of cards
- go card i
- if the script of this card contains pattern
- then edit script of this card
-
- repeat with j = 1 to the number of card buttons
- if the script of card button j contains pattern
- then edit script of card button j
- end repeat
-
- repeat with j = 1 to the number of card fields
- if the script of card field j contains pattern
- then edit script of card field j
- end repeat
-
- end repeat
- set lockMessages to false
- end searchScript
-
- </script>
- <background id="2663" file="background_2663.xml" name="Simple Substitution" />
- <background id="3860" file="background_3860.xml" name="Vigenere" />
- <background id="6165" file="background_6165.xml" name="" />
- <background id="7539" file="background_7539.xml" name="" />
- <card id="6552" file="card_6552.xml" marked="false" name="" owner="6165" />
- <card id="2906" file="card_2906.xml" marked="false" name="" owner="2663" />
- <card id="5494" file="card_5494.xml" marked="false" name="" owner="2663" />
- <card id="4943" file="card_4943.xml" marked="false" name="" owner="3860" />
- <card id="3620" file="card_3620.xml" marked="false" name="" owner="3860" />
- <card id="7846" file="card_7846.xml" marked="false" name="" owner="7539" />
- </stack>
-