Jump to content

Pause startup script


This topic is 8474 days old. Please don't post here. Open a new topic instead.

Recommended Posts

The best trick is to include a test in your startup script for Status(CurrentMofifierKey). This is used to check is some modifier key (option, shift, control, command) is held down and exit the script.

The following is reprinted from the FM 5 help system.

Format

Status (CurrentModifierKeys)

Parameters

None

Data type returned

number

Description

A number representing the keyboard modifier keys (for example, Shift) are being pressed by the user. The number is calculated by summing numbers representing each modifier key being pressed. The value assigned to the keys is:

Modifier key

Value

Shift

1

Caps Lock

2

Control (Mac OS)

Ctrl (Windows)

4

Option (Mac OS)

Alt (Windows)

8

Command (Mac OS)

16

Example

The user is pressing Shift+Alt on a computer running Windows. Status

Link to comment
Share on other sites

This topic is 8474 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.