Search found 223 matches

by ABooth
Mon Aug 24, 2009 2:25 pm
Forum: iMacros for Firefox
Topic: Feature Requests & Bug Fix Requests. ADD YOURS!
Replies: 363
Views: 438874

Re: Feature Requests & Bug Fix Requests. ADD YOURS!

How about block commenting? I've always hated VB commenting using the single quote ' It has never accommodated the ability to block comment (as well as messed up string syntax) Block commenting would be very useful for debugging macros, as well as adding detailed comments. I would suggest c style bl...
by ABooth
Mon Aug 24, 2009 1:50 pm
Forum: iMacros for Firefox
Topic: Insert text into a field
Replies: 4
Views: 9554

Re: Insert text into a field

Hey, Just went through the site and it does say how to insert new content, insert from text file and insert from database. But it does not talk about appending information. Lets say a text box named "tbox" has value "ABC" and I want to drop a "+" in front of whatever value it has. In this case it w...
by ABooth
Mon Aug 24, 2009 1:43 pm
Forum: iMacros for Firefox
Topic: How can I come up with greater than and less than a number?
Replies: 5
Views: 1823

Re: How can I come up with greater than and less than a number?

I meant is can iMacros decide if a number is greater than or less than a given number, ex. > or < 50, without predefining numbers, ex 49, 49.5, 50.3, 52, in a conditional statement: http://wiki.imacros.net/FAQ#Q:_Are_there_conditional_statements_like_if..._then...else_in_the_iMacros_macro_language....
by ABooth
Mon Aug 24, 2009 1:26 pm
Forum: iMacros for Firefox
Topic: iMacro suddenly will "GOTO URL" but will not fill & submit
Replies: 2
Views: 1921

Re: iMacro suddenly will "GOTO URL" but will not fill & submit

Normally, when it works, then doesn't, it's a timing issue. Because web pages respond intermittently, the script may wait for a short amount of time, then give up waiting. To fix this, you have 2 choices: - Choice 1: Immediately after the URL GOTO=http://www.rd.com/sweeps/ultimateVacation.do?sep_id=...
by ABooth
Mon Aug 24, 2009 1:00 pm
Forum: iMacros for Firefox
Topic: Feature Requests & Bug Fix Requests. ADD YOURS!
Replies: 363
Views: 438874

Re: Feature Requests & Bug Fix Requests. ADD YOURS!

How about the SAVEAS command saving the entire web page instead of just the visible region? In other words, saves the entire scrollable region.

An example would be a product like SnagIt
by ABooth
Thu Aug 20, 2009 5:46 pm
Forum: iMacros for Firefox
Topic: Increase Loop by 2 / Searching for Input Type
Replies: 3
Views: 2706

Re: Increase Loop by 2 / Searching for Input Type

May I know if it is possible to perform a Loop which increases by 2 instead of 1? Two solutions: - do the looping in a script, cf. http://wiki.imacros.net/VBS_looping#The_Script.27s_Source_Code (the "counter" variable is relevant, here) - use a helper variable to double the !LOOP variable's value: ...
by ABooth
Thu Aug 20, 2009 5:31 pm
Forum: iMacros for Firefox
Topic: Feature Requests & Bug Fix Requests. ADD YOURS!
Replies: 363
Views: 438874

Re: Feature Requests & Bug Fix Requests. ADD YOURS!

How about a script "Step" through button to execute the next script line instead of having to pause.

Perhaps enabling break points with a command, such as BREAKPOINT, that automatically activates the 'Pause' procedure?
by ABooth
Thu Aug 20, 2009 5:28 pm
Forum: iMacros for Firefox
Topic: Feature Requests & Bug Fix Requests. ADD YOURS!
Replies: 363
Views: 438874

Re: Feature Requests & Bug Fix Requests. ADD YOURS!

Enable Filename prefixing instead of just postfixing. ( pre_ filename instead of filename _post ) This would allow file grouping by test iteration. Example: - pages: MyPage.htm, AnotherPage.htm, Lastpage.htm SET !VAR1 <SP>Test-{{!LOOP}} SET !VAR2 C:\temp SAVEAS TYPE=PNG FOLDER={{!VAR2}} FILE=+{{!VAR...
by ABooth
Thu Aug 20, 2009 5:15 pm
Forum: How-To's and Examples for Firefox / JavaScript Scripting
Topic: Using (Sun) Java in iMacros for Firefox
Replies: 3
Views: 46923

Re: Using (Sun) Java in iMacros for Firefox

As this is the only JAVA thread, I thought I'd add a couple of javascript utility functions that use Java to access local files. Note: These functions should include exception handling. At present, their flow only includes the "happy path". To load a file //Load a file into a string // filePath exam...
by ABooth
Thu Aug 20, 2009 3:16 pm
Forum: How-To's and Examples for Firefox / JavaScript Scripting
Topic: Using (Sun) Java in iMacros for Firefox
Replies: 3
Views: 46923

Re: Using (Sun) Java in iMacros for Firefox

Thanks for the tip. Your script has focusing issues when launching the file browse dialog though. I tried the following, but simply could not get the fileDialog focus to be at the front: - var frame = new java.awt.Frame(); var fileDialog = new java.awt.FileDialog(frame, "Browse File", java.awt.FileD...
by ABooth
Fri Aug 14, 2009 2:55 pm
Forum: iMacros for Firefox
Topic: Imacro Browser HELP ME PLS
Replies: 1
Views: 1283

Imacro Browser HELP ME PLS

Hallo. Ich komme aus England. Verzeihung mein herr, mein Deutsch ist nicht gut. Ich würde 2 Makro verursachen und Javascript verwenden. Javascript würde einen Timer benutzen, um die Makro durchzuführen. Das erste Makro erhält den Bildnamen Das zweite Makro klickt das entsprechende Bild an Javascript...
by ABooth
Thu Aug 13, 2009 8:17 pm
Forum: iMacros for Firefox
Topic: Can I change #EANF# response to a custom text?
Replies: 5
Views: 2309

Re: Can I change #EANF# response to a custom text?

Where would it return to? If it's not coming from a script, it's useless no matter what, because nothing does anything with it. If it's from a script, such as VBScript or javascript, you can have a constant representation for it instead, with any name you like and use that. E.G: - const NOT_FOUND = ...
by ABooth
Mon Aug 10, 2009 4:38 pm
Forum: iMacros for Firefox
Topic: Feature Requests & Bug Fix Requests. ADD YOURS!
Replies: 363
Views: 438874

Re: Feature Requests & Bug Fix Requests. ADD YOURS!

When creating JavaScript macros, it is typical that several different tests might hit the same pages and so you would create several .js test scripts that have common code in them. Would it be possible to parse the .js files for Include tags, to import common libraries? In other words, an iMacros eq...