Jump to content
Macro Express Forums

Macro To Call Javascript


tkent
 Share

Recommended Posts

I am trying to create a macro to control a company internal web application. The app uses javascript for navigation in an Internet Explorer window. Is there a way to get a macro to run the javascript command directly? This way I can create my own navigation by running a macro to get to a specific location.

 

Some of the javascript commands are:

java script:contentFrame.moveToLocation('topNavigation.do?method=myWork')

 

and

 

java script:moveToLocation('processActivityRequest.do?method=invokeNestedActivity&ActivityId=manageClaim.summary')

 

any help would be appreciated

Link to comment
Share on other sites

Welcome to the forum!

 

I am no expert on creating intranets, so I could be wrong. However, my understanding is that javascript is run internally using a browser and that it is imbedded in the HTML (or whatever) code. You can have external .js files that are read in by the browser, but they cannot be run externally or standalone, unlike VBSsript files. This means that Macro Express has no means to access them, at least not that I am of aware of.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...