Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: Import/Export Lists #60

Open
ghost opened this issue May 18, 2014 · 10 comments
Open

Feature request: Import/Export Lists #60

ghost opened this issue May 18, 2014 · 10 comments

Comments

@ghost
Copy link

ghost commented May 18, 2014

Great work with the SCMBot there. Is it possible to get an import/export function for the listings and a chance to change the position of one single item in the list (move up and down)?

For now. Where are the settings/listings of the bot stored?

Also deleting a lot of items in a row does crash SCM (at least 10+, if deleting less at the same time it works).

@Maxx53
Copy link
Owner

Maxx53 commented May 18, 2014

Settings file stored in

for Windows 7
C:\Users\your_name\AppData\Local\Maxx53\

for Windows XP
C:\Documents and Settings\your_name\Local Settings\Application Data\Maxx53\

@l4m0r
Copy link

l4m0r commented Jun 6, 2014

Any idea where they are stored on Windows Server 2012 R2?

I'm using the latest version (with Settings.xml and cookies.dat) and after migrating to a new server and copying the bot from Windows Server 2008 R2 to 2012 R2 the cookie import works but the imported/copied item list doesn't work and both lists (to scan for) are empty.

There is no directory at C:\Users\your_name\AppData\Local\Maxx53\ though, as it's the new version of the bot already.

Any ideas?

@Maxx53
Copy link
Owner

Maxx53 commented Jun 6, 2014

The lastest commit has fully-portable settings, that stored in Settings.xml.
Migration of cookies.dat must work in theory.
Try to Export/Import scan lists manually (right click on scanListView -> Export/Import)

@l4m0r
Copy link

l4m0r commented Jun 6, 2014

Sorry, I did write some things wrong and edited. No problems with the cookie, just with the list. I have the first version that was supposed to have portable settings on the old server but I can't right click on scanListView (yet?). Didn't it work back then or am I doing smth wrong?

@Maxx53
Copy link
Owner

Maxx53 commented Jun 6, 2014

To migrate settings with first version, edit Settings.xml - change computer name.

@l4m0r
Copy link

l4m0r commented Jun 6, 2014

Worked like a charm, thanks :) Had to copy "setting name="saveTabs"" and "setting name="saveRecent"" into the lower list below "/localsettings" as well, to make it work.

My old Settings.xml didn't have "setting name="formParams"" though. What is it good for and what value should I "import" or put into that one?

Thanks a lot for the awesome support! :)

@Maxx53
Copy link
Owner

Maxx53 commented Jun 6, 2014

I recommend to use latest version.
Import/Export feature helps with back-ups or fast changing scan parameters.

@l4m0r
Copy link

l4m0r commented Jun 6, 2014

Yeah I use latest version now with the "patched" Settings.xml. I only wasn't sure what "setting name="FormParams" does, because old Settings.xml didn't have it. You think I could run into problems because of this?

Btw I just donated to say thank you for your project and awesome help :)

@Maxx53
Copy link
Owner

Maxx53 commented Jun 6, 2014

FormParams is not important, this section will be created after closing program.

@l4m0r
Copy link

l4m0r commented Jun 6, 2014

Ok all perfect then, thanks a lot :P

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants