derbauer 0 Posted May 25, 2017 Share Posted May 25, 2017 Hello community! I would like to know how to load a profile after the bot died. Or just how to load a new profile with c# Link to comment https://wrobot.eu/forums/topic/5952-load-grinder-profile-c/ Share on other sites More sharing options...
reapler 154 Posted May 25, 2017 Share Posted May 25, 2017 Hello, this should work: Grinder.Bot.GrinderSetting.CurrentSetting.ProfileName = "your profile"; //uncomment here if profile still not changed /* Grinder.Bot.GrinderSetting.CurrentSetting.Save(); Grinder.Bot.GrinderSetting.Load(); Products.ProductRestart(); //maybe needed */ Link to comment https://wrobot.eu/forums/topic/5952-load-grinder-profile-c/#findComment-27058 Share on other sites More sharing options...
derbauer 0 Posted May 26, 2017 Author Share Posted May 26, 2017 hey thanks for the answer but the first line does nothing and if i use Products.ProductRestart(); the bot just stops. If i start the bot manually after it stopped the profile is changed Link to comment https://wrobot.eu/forums/topic/5952-load-grinder-profile-c/#findComment-27080 Share on other sites More sharing options...
Droidz 2738 Posted May 26, 2017 Share Posted May 26, 2017 Link to comment https://wrobot.eu/forums/topic/5952-load-grinder-profile-c/#findComment-27081 Share on other sites More sharing options...
derbauer 0 Posted May 26, 2017 Author Share Posted May 26, 2017 this works now the last thing i would to know is how to change the setting "back to last profile position" in the code? I tried it with Grinder.Bot.GrinderSetting.CurrentSetting.BackToLastProfilePosition = false; but it didnt work Link to comment https://wrobot.eu/forums/topic/5952-load-grinder-profile-c/#findComment-27082 Share on other sites More sharing options...
Droidz 2738 Posted May 27, 2017 Share Posted May 27, 2017 You cannot for curent session Link to comment https://wrobot.eu/forums/topic/5952-load-grinder-profile-c/#findComment-27094 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