Log File has value on blank lines

Technical support and scripting issues

Moderators: JRL, Dorian (MJT support)

User avatar
jpuziano
Automation Wizard
Posts: 1085
Joined: Sat Oct 30, 2004 12:00 am

Post by jpuziano » Wed Mar 04, 2009 1:09 am

Hi Bob,
Bob Hansen wrote:In your new format proposal you show easypatterns as optional, but I understand it is mandatory for 0/1, so it should also be bolded.
I was just using it as an example to show how one that was optional "might" look... I know that one is actually mandatory.
existing format is just fine wrote:HTTPRequest>URL,[LocalFilename],Method,[POST_Data],Result_Variable[,ProxyServer,ProxyPort,ProxyUsername,ProxyPassword]

Retrieves a web document via the HTTP protocol using either GET or POST methods.

URL: URL of document to retrieve

LocalFileName: Optional (may be left blank) - local file to save response to.
Hi Bob,

I should have looked a bit more... as shown by another out-take from the Help File above, the existing format is just fine... optional parameters that are not "at the end of the list"... for example, [LocalFileName] above... are also handled by enclosing them in square brackets. :oops:

However the idea to have the commands error out with an error message if a required parameter is omitted is a good one... and it came to light because of your post so it was well worth the time.
jpuziano

Note: If anyone else on the planet would find the following useful...
[Open] PlayWav command that plays from embedded script data
...then please add your thoughts/support at the above post - :-)

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts