Jump to content

load grinder profile c#


derbauer

Recommended Posts

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
Share on other sites

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
Share on other sites

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
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...