I am developing a bot where i am in situation where i need to perform a specific activity for a x number of times, where x is a variable.
Means just believe a situation where i need to send a hotkey for x no of time. here value of x changes every time. i.e. if X=3 then send hotkey activity should be performed 3 times. if X= 7 then send hotkey activity should be performed 7 times.
Please help me to develop this logic…