Tech Tip: How to simulate the entry of a tab, a space, a backspace or carriage return
PRODUCT: 4D | VERSION: | PLATFORM: Mac & Win
Published On: May 2, 2003
Your current browser may not allow you to download the asset. We recommend Mozilla Firefox or Google Chrome.
Compatibility: Version 6.8.x and 2003
There are a number of ways to simulate these key strokes. The first way is to follow the manual and memorize the ASCII code and the second way is to cheat by using constants.
For example:
POST KEY(9) `Simulate a tab
POST KEY(tab) `Simulate a tab
POST KEY(32) `Simulate a space
POST KEY(space) `Simulate a space
POST KEY(8)`Simulate a backspace
POST KEY(backspace) `Simulate a backspace
POST KEY(13) `Simulate a Carriage return
POST KEY(carriage return) ` Simulate a Carriage return