Home THE HYPERCARD CENTER

HyperTalk Reference
Home » HyperTalk Reference » Commands

Note: This is a work in progress and will be formatting errors. Read more about the project on the home page.

unlock

unlock {screen|messages|recent}
unlock error dialogs
unlock screen with effect [speed ] ¬ [to image ] unlock screen with visual [effect] ¬ effect [speed ] [to image ]

Unlock screen
lets HyperCard update the screen after a lock screen command. (Click the placeholders effect, speed, and image to see their possible replacements.)

Optionally, you can add a single visual effect. You can lock the screen, perform

actions on the card, and then unlock the screen with a visual effect.

Unlock messages lets open, close, suspend, and resume messages traverse the message-passing path.

Unlock recent lets HyperCard keep a visual record of visited cards in the Recent Cards dialog box.

Unlock error dialogs lets HyperCard show error dialog boxes when an error occurs.


Examples

lock screen   -- same as "set lockScreen to TRUE"
unlock screen -- same as "set lockScreen to FALSE"

-- Use a visual effect, speed, and image:
unlock screen with dissolve slowly to inverse
unlock screen with visual effect dissolve
unlock screen with visual dissolve
unlock screen with dissolve

-- Use a variable to hold a visual effect:
put "visual effect dissolve" into effectVariable
unlock screen with effectVariable

unlock recent
unlock messages

Demo Script

on lockUnlockDemo
    -- Show and hide this field with visual effects:
    set cursor to watch
    lock screen
    hide field "Demo Script"
    unlock screen with shrink to center
    wait 1 second
    lock screen
    show field "Demo Script"
    unlock screen with stretch from center
 end lockUnlockDemo

Placeholders

effect
One of the following:

barn door open
barn door close
checkerboard
dissolve 
iris open
iris close
plain
push down
push up
push left
push right
scroll down
scroll up
scroll left
scroll right 
shrink to top
shrink to center
shrink to bottom
stretch from top
stretch from center
stretch from bottom
venetian blinds
wipe up
wipe down
wipe left
wipe right
zoom close
zoom in
zoom open
zoom out


image
One of the following:

black
card
gray
inverse
white


speed
One of the following:

fast
slow
slowly
very fast
very slow
very slowly


Note: Of all the speeds, only very fast will vary in speed depending on the computer. It means “as fast as the machine can go.”

Related Topics

« type | HyperTalk Reference | unmark »


Version 0.7b1 (March 24, 2022)

Made with Macintosh

Switch to Modern View

Home
The HyperCard Center
HyperTalk Reference
Home » HyperTalk Reference » Commands

Note: This is a work in progress and will be formatting errors. Read more about the project on the home page.

unlock

unlock {screen|messages|recent}
unlock error dialogs
unlock screen with effect [speed ] ¬ [to image ] unlock screen with visual [effect] ¬ effect [speed ] [to image ]

Unlock screen
lets HyperCard update the screen after a lock screen command. (Click the placeholders effect, speed, and image to see their possible replacements.)

Optionally, you can add a single visual effect. You can lock the screen, perform

actions on the card, and then unlock the screen with a visual effect.

Unlock messages lets open, close, suspend, and resume messages traverse the message-passing path.

Unlock recent lets HyperCard keep a visual record of visited cards in the Recent Cards dialog box.

Unlock error dialogs lets HyperCard show error dialog boxes when an error occurs.


Examples

lock screen   -- same as "set lockScreen to TRUE"
unlock screen -- same as "set lockScreen to FALSE"

-- Use a visual effect, speed, and image:
unlock screen with dissolve slowly to inverse
unlock screen with visual effect dissolve
unlock screen with visual dissolve
unlock screen with dissolve

-- Use a variable to hold a visual effect:
put "visual effect dissolve" into effectVariable
unlock screen with effectVariable

unlock recent
unlock messages

Demo Script

on lockUnlockDemo
    -- Show and hide this field with visual effects:
    set cursor to watch
    lock screen
    hide field "Demo Script"
    unlock screen with shrink to center
    wait 1 second
    lock screen
    show field "Demo Script"
    unlock screen with stretch from center
 end lockUnlockDemo

Placeholders

effect
One of the following:

barn door open
barn door close
checkerboard
dissolve 
iris open
iris close
plain
push down
push up
push left
push right
scroll down
scroll up
scroll left
scroll right 
shrink to top
shrink to center
shrink to bottom
stretch from top
stretch from center
stretch from bottom
venetian blinds
wipe up
wipe down
wipe left
wipe right
zoom close
zoom in
zoom open
zoom out


image
One of the following:

black
card
gray
inverse
white


speed
One of the following:

fast
slow
slowly
very fast
very slow
very slowly


Note: Of all the speeds, only very fast will vary in speed depending on the computer. It means “as fast as the machine can go.”

Related Topics

« type | HyperTalk Reference | unmark »

Version 0.7b1 (March 24, 2022)

Made with Macintosh

Switch to Retro View