Home THE HYPERCARD CENTER

HyperTalk Reference
Home » HyperTalk Reference » Functions

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

shiftKey

the shiftKey
Value returned: one of the constants up or down indicating whether the Shift key is up or down


Examples

if the shiftKey is up then ...

if (the mouse is down) and (the shiftKey is down) then...

wait until shiftKey() is up

Demo Script

on shiftKeyDemo
   -- Hold down the Shift key when you click Run the Script.
   answer "The Shift key is:" && the shiftKey
 end shiftKeyDemo

Related Topics

« selectedText | HyperTalk Reference | sin »


Version 0.7b1 (March 24, 2022)

Made with Macintosh

Switch to Modern View

Home
The HyperCard Center
HyperTalk Reference
Home » HyperTalk Reference » Functions

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

shiftKey

the shiftKey
Value returned: one of the constants up or down indicating whether the Shift key is up or down


Examples

if the shiftKey is up then ...

if (the mouse is down) and (the shiftKey is down) then...

wait until shiftKey() is up

Demo Script

on shiftKeyDemo
   -- Hold down the Shift key when you click Run the Script.
   answer "The Shift key is:" && the shiftKey
 end shiftKeyDemo

Related Topics

« selectedText | HyperTalk Reference | sin »

Version 0.7b1 (March 24, 2022)

Made with Macintosh

Switch to Retro View