Script in AutoResponder

4 posts, 0 answers
  1. Pär
    Pär avatar
    2 posts
    Member since:
    Mar 2014

    Posted 17 Mar 2014 Link to this post

    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
  2. Eric Lawrence
    Admin
    Eric Lawrence avatar
    833 posts

    Posted 17 Mar 2014 Link to this post

    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

     

     
  3. Pär
    Pär avatar
    2 posts
    Member since:
    Mar 2014

    Posted 17 Mar 2014 in reply to Eric Lawrence Link to this post

    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.

  4. Eric Lawrence
    Admin
    Eric Lawrence avatar
    833 posts

    Posted 18 Mar 2014 Link to this post

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

     
Back to Top