Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.



Note
titleContent Freeze

As of July 25th, 2023, there is a content freeze on this page.

This function detects if the user is currently on a specific screen. It can be used inside a JavaScript if statement. If the screen is successfully detected, true is returned. Otherwise, false is returned.

...

Code Block
javascript
javascript

if (detectScreen("D_1_2", "INV011FM", "D_1_35", "Confirm Invoices")) {
  pressKey("Enter");
}

...