Revision: 62176
Updated Code
at February 7, 2013 07:11 by lmontealegre
Updated Code
using System; using VisualWebRipper.Internal.SimpleHtmlParser; using VisualWebRipper; public class Script { //See help for a definition of WrInputTransformationArguments. public static string TransformInput(WrInputTransformationArguments args) { try { return DateTime.Now.ToString("dd/MM/yyyy"); } catch(Exception exp) { //Place error handling here args.WriteDebug(exp.Message); return "Custom script error"; } } }
Revision: 62175
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at February 6, 2013 07:46 by lmontealegre
Initial Code
using System; 02.using VisualWebRipper.Internal.SimpleHtmlParser; 03.using VisualWebRipper; 04.public class Script 05.{ 06. //See help for a definition of WrInputTransformationArguments. 07. public static string TransformInput(WrInputTransformationArguments args) 08. { 09. try 10. { 11. return DateTime.Now.ToString("dd/MM/yyyy"); 12. } 13. catch(Exception exp) 14. { 15. //Place error handling here 16. args.WriteDebug(exp.Message); 17. return "Custom script error"; 18. } 19. } 20.}
Initial URL
Initial Description
Script that simply returns the current date
Initial Title
Script that simply returns the current date
Initial Tags
Initial Language
C#