Navigation:  Macroses >

JavaScript and Debug

Previous pageReturn to chapter overviewNext page
Show/Hide Hidden Text

 

Execute JavaScript

This macro executes the script written in JavaScript. It runs separately without calling the Web-page. The execution result will always be in the last used variable.

 

Example

 

JavaScript

"qwe"=="qwe1"

 

Macro

{-JS.Execute-|-"qwe"=="qwe1"-}

 

Result

false

 

Prepare text for the JavaScript

This macro prepares the text to be inserted as a string in JavaScript execution macro. ProjectMaker has JavaScript tester which can check (test) your code.

 

Alert

This macro is designed to show your messages during debugging, for example, about a potential error. Specify the text that will emerge in the pop-up window. For example, it is possible to insert a macro link and get the macro execution result.