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.

optionKey

the optionKey
Value returned: one of the constants up or down indicating whether the Option key is up or down


Examples

if the optionKey is up then ...

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

wait until optionKey() is up

Demo Script

on optionKeyDemo
   -- Hold down the Option key when you click Run the Script.
   answer "The Option key is:" && the optionKey
 end optionKeyDemo

Related Topics

« offset | HyperTalk Reference | param »


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.

optionKey

the optionKey
Value returned: one of the constants up or down indicating whether the Option key is up or down


Examples

if the optionKey is up then ...

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

wait until optionKey() is up

Demo Script

on optionKeyDemo
   -- Hold down the Option key when you click Run the Script.
   answer "The Option key is:" && the optionKey
 end optionKeyDemo

Related Topics

« offset | HyperTalk Reference | param »

Version 0.7b1 (March 24, 2022)

Made with Macintosh

Switch to Retro View