Home THE HYPERCARD CENTER

HyperTalk Reference
Home » HyperTalk Reference » Properties

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

userLevel

set [the] userLevel to posInteger

where posInteger is 1, 2, 3, 4, or 5.

The userLevel property returns or sets the user level as follows:

1  = Browsing
2  = Typing
3  = Painting
4  = Authoring
5  = Scripting


HyperCard determines the default setting for userLevel from the Preferences card of the Home stack at startup and when HyperCard resumes after being suspended.


Demo Script

on whatUserLevel
   answer "The current user level is:" && the userLevel
 end whatUserLevel

Placeholders

posInteger
An expression that evaluates to a positive integer.

For example:
3
67 mod 13
the number of bg fields
the number of backgrounds
the number of cards div 2
See also: background, bkgnd, button, card, chunk, field, menu, and menuItem

Related Topics

« traceDelay | HyperTalk Reference | userModify »


Version 0.7b1 (March 24, 2022)

Made with Macintosh

Switch to Modern View

Home
The HyperCard Center
HyperTalk Reference
Home » HyperTalk Reference » Properties

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

userLevel

set [the] userLevel to posInteger

where posInteger is 1, 2, 3, 4, or 5.

The userLevel property returns or sets the user level as follows:

1  = Browsing
2  = Typing
3  = Painting
4  = Authoring
5  = Scripting


HyperCard determines the default setting for userLevel from the Preferences card of the Home stack at startup and when HyperCard resumes after being suspended.


Demo Script

on whatUserLevel
   answer "The current user level is:" && the userLevel
 end whatUserLevel

Placeholders

posInteger
An expression that evaluates to a positive integer.

For example:
3
67 mod 13
the number of bg fields
the number of backgrounds
the number of cards div 2
See also: background, bkgnd, button, card, chunk, field, menu, and menuItem

Related Topics

« traceDelay | HyperTalk Reference | userModify »

Version 0.7b1 (March 24, 2022)

Made with Macintosh

Switch to Retro View