-useragent

From iMacros
Jump to: navigation, search

This command is deprecated.

Please use !USERAGENT instead.



Specifies the user agent. On each request to a web server, the browser sends a user agent field which identifies the browser. With this switch you can set it to anything you like, e.g. to let the web server believe that your iMacro Browser is a WAP enable mobile phone.

If the user agent string contains whitespaces, please use double quotes around it.

Note: You can this this command line switch to change the user agent in the iMacros Browser but not in Internet Explorer. In iMacros for Firefox you can use SET !USERAGENT new<SP>agent.

Value

Any character or series of characters.

Examples

imacros.exe -macro test1 -useragent "Nokia6230/2.0+(04.43)" 

See Also

User Agent Test Page

!USERAGENT