User Tools

Site Tools


action:Execute_a_JavaScript_in_Google_Chrome

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
action:Execute_a_JavaScript_in_Google_Chrome [2015/07/07 19:10]
mirazjordan created
action:Execute_a_JavaScript_in_Google_Chrome [2017/08/31 02:11] (current)
peternlewis
Line 1: Line 1:
-The Execute JavaScript in Safari or Google Chrome action allows you to execute a specified JavaScript, either from a file or text. For example,  +~~REDIRECT>​actionsExecute_a_JavaScript_in_Browser~~
- +
-//​alert("​hello"​)//​ +
- +
-and return the results. Options for the results of a JavaScript are: +
- +
-  *ignore results. +
-  *display results in a window. +
-  *display results briefly. +
-  *display results large. +
-  *type results. +
-  *paste results. +
-  *save results to variable. +
-  *save results to the system clipboard or a named clipboard. +
-  *save results asynchronously ​ — the action runs while the macro continues on. +
- +
-If the results are to be saved to a variable or a clipboard then further text areas appear in the action allowing you to specify the variable or specific clipboard. +
- +
-JavaScript can access variables by using the document.kmvar dictionary, see the Variables section. +
- +
-It is a short step from executing a script action to writing some Plug In Actions.+
  
action/Execute_a_JavaScript_in_Google_Chrome.1436310625.txt.gz · Last modified: 2015/07/07 19:10 by mirazjordan