Table of Contents

Hex To Number

Converts a string that contains a hexadecimal number into a standard AppleScript integer.

Usage:

hex to number (text, a string containing a hexadecimal number)
returns number

Example:

  set myNumber to (hex to number “A7EE22”)
  write log myNumber