This is a migrated thread and some comments may be shown as answers.

Script in AutoResponder

3 Answers 92 Views
Fiddler Classic
This is a migrated thread and some comments may be shown as answers.
Pär
Top achievements
Rank 1
Pär asked on 17 Mar 2014, 03:06 PM
Hi,

I'm trying to use a script for the action on an autoresponder, but I cannot get it to  work, and I cannot really find any information on how to do that. Is there some information around, or should I try to get the book?

/Pär

3 Answers, 1 is accepted

Sort by
0
Eric Lawrence
Telerik team
answered on 17 Mar 2014, 08:35 PM

Hi! Can you be more specific about what exactly you've tried?

Action Text

Explanation

Final?

*script:funcname

Invokes a function of the specified name in the FiddlerScript file. For example:

public static function RunAsARFilter(oS: Session)
{
 
oS["ui-backcolor"] = "red";
}

Functions whose names contain the word filter cause the rule to be treated as non-Final, allowing subsequent rules to apply.

maybe

 

 
0
Pär
Top achievements
Rank 1
answered on 17 Mar 2014, 09:36 PM
Hi,

Haven't tried that much yet.

Tried the example above, and got:
The FiddlerScript function 'RunAsARFilter' could not be executed as an AutoResponder action.
in my browser window. 

And when exiting Fiddler is says as the attached screenshot.

0
Eric Lawrence
Telerik team
answered on 18 Mar 2014, 04:53 PM

The error message in question suggests that you haven't added the exact text of the sample function provided to your FiddlerScript file.

 
Tags
Fiddler Classic
Asked by
Pär
Top achievements
Rank 1
Answers by
Eric Lawrence
Telerik team
Pär
Top achievements
Rank 1
Share this question
or