MAPJe71 Posted October 25, 2013 Report Share Posted October 25, 2013 Is it possible (and when yes how) to assign a value to a variable in a C# command script? Thanx, Menno Link to comment Share on other sites More sharing options...
floele Posted November 21, 2013 Report Share Posted November 21, 2013 You can simply write "int x = 0;" or whatever kind of variable you need. Other than "int" you will probably need a "string" like string x = "a";. Link to comment Share on other sites More sharing options...
MAPJe71 Posted November 22, 2013 Author Report Share Posted November 22, 2013 Thanx for your response! I was looking for a way to read data from a cookie to address downloads from CodePlex (hence my other topics: 'C# command script API?' and 'Request for reading cookies'). The initial idea was to add a C# pre-download command to get cookie data and store this data in one or more variables. These variables are then used to retrieve the fixed download link from the websites. Just as 'normal' variables are used that are defined using the variable editor. As I was not sure it was possible I posted the cookie reading request to get a prettier / better / nicer implementation. Do you think the first idea is feasible? When not, I would rather put my effort in an attempt to implement the 'cookie data read' feature. That is, if you don't mind me doing so :-) Regards, Menno Link to comment Share on other sites More sharing options...
floele Posted November 23, 2013 Report Share Posted November 23, 2013 Doing this in a script might be a little difficult. Would not recommend Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now