URL GOTO=javascript

Support for iMacros. The iMacros software is the unique solution for automating every activity inside a web browser, for data extraction and web testing.
Forum rules
iMacros EOL - Attention!

The renewal maintenance has officially ended for Progress iMacros effective November 20, 2023 and all versions of iMacros are now considered EOL (End-of-Life). The iMacros products will no longer be supported by Progress (aside from customer license issues), and these forums will also no longer be moderated from the Progress side.

Thank you again for your business and support.

Sincerely,
The Progress Team

Before asking a question or reporting an issue:
1. Please review the list of FAQ's.
2. Use the search box (at the top of each forum page) to see if a similar problem or question has already been addressed.
3. Try searching the iMacros Wiki - it contains the complete iMacros reference as well as plenty of samples and tutorials.
4. We can respond much faster to your posts if you include the following information: CLICK HERE FOR IMPORTANT INFORMATION TO INCLUDE IN YOUR POST
Post Reply
OrkyDD
Posts: 11
Joined: Thu Sep 20, 2007 2:57 pm

URL GOTO=javascript

Post by OrkyDD » Thu Sep 20, 2007 7:24 pm

I read on another thread that you can execute a javascript function without leaving the page using that syntax. Why doesn't this work:

VERSION BUILD=6000818
CLEAR
TAB CLOSEALLOTHERS
SET !ERRORCONTINUE YES
SET !TIMEOUT 10
URL GOTO=www.iopus.com
URL GOTO=javascript:Alert("Hello World");

I get a popup box that says Error #340.

Any explanation?
User avatar
Tech Support
Posts: 4948
Joined: Tue Sep 20, 2005 7:25 pm
Contact:

Post by Tech Support » Thu Sep 20, 2007 8:36 pm

I read on another thread that you can execute a javascript function without leaving the page
What thread was this?

Just to clarify: Do you want to trigger a function that is already inside the page or something else?
OrkyDD
Posts: 11
Joined: Thu Sep 20, 2007 2:57 pm

Post by OrkyDD » Thu Sep 20, 2007 10:05 pm

Tech Support wrote:
I read on another thread that you can execute a javascript function without leaving the page
What thread was this?
http://forum.imacros.net/viewtopic.php?t= ... script+url
Just to clarify: Do you want to trigger a function that is already inside the page or something else?
It would be great to be able to change the values of page elements via javascript from the imacro.
Nik
Posts: 14
Joined: Wed Jun 20, 2007 11:35 pm

Post by Nik » Thu Nov 15, 2007 10:43 pm

Yeah that would be awesome!
I want this too
my2testing
Posts: 21
Joined: Tue Oct 30, 2007 6:57 am
Contact:

Post by my2testing » Wed Jan 09, 2008 2:57 am

Code: Select all

VERSION BUILD=6000818
CLEAR
TAB CLOSEALLOTHERS
SET !ERRORCONTINUE YES
SET !TIMEOUT 60
URL GOTO=www.iopus.com
URL GOTO=javascript:openDemo('shared/flash/imacros1',820,650);
Post Reply