# File AGTMacOsX.rb, line 39
def apple_fixnum (the_key)

  old_auto_delay = @robot.getAutoDelay
  @robot.setAutoDelay(0)

  wait 10
  @robot.keyPress VK_META
  wait 10
  @robot.keyPress the_key
  wait 200
  @robot.keyRelease the_key
  wait 10
  @robot.keyRelease VK_META
  wait 50

  # return to the previous auto_delay

  @robot.setAutoDelay(old_auto_delay)

end