Loading Custom Database?

Support / help / discussion forum for twitter bot
Post Reply
bmanfacts
Posts: 175
Joined: Tue Mar 05, 2019 7:09 pm

Loading Custom Database?

Post by bmanfacts »

How do I load a custom DB that I saved after I close the program?
I noticed that the program only loads the default DB but there are no options for any others.
Used the search function to help but couldn't find anything relevant
User avatar
martin@rootjazz
Site Admin
Posts: 34627
Joined: Fri Jan 25, 2013 10:06 pm
Location: The Funk
Contact:

Re: Loading Custom Database?

Post by martin@rootjazz »

FILE > NEW DB INSTANCE

and enter the instance name


Or you can start it by passing the instance name to the .exe as an argument

right click the .exe file > CREATE SHORTCUT
it will put it on your desktop
right click the shortcut > properties

it will have a field
target: c:\program files (x86)\twitterdub\twitter.exe

change it to:
c:\program files (x86)\twitterdub\twitter.exe "instance_name"


then the instance will load when you double click the shortcut
bmanfacts
Posts: 175
Joined: Tue Mar 05, 2019 7:09 pm

Re: Loading Custom Database?

Post by bmanfacts »

martin@rootjazz wrote: Sat Mar 09, 2019 8:11 pm FILE > NEW DB INSTANCE

and enter the instance name


Or you can start it by passing the instance name to the .exe as an argument

right click the .exe file > CREATE SHORTCUT
it will put it on your desktop
right click the shortcut > properties

it will have a field
target: c:\program files (x86)\twitterdub\twitter.exe

change it to:
c:\program files (x86)\twitterdub\twitter.exe "instance_name"


then the instance will load when you double click the shortcut
I tried this but every time an error surfaces saying "The name c:\program files (x86)\twitterdub\twitter.exe "instance_name" (replacing instance_name with the actual instance name) specified in the Target box is not valid. Make sure the path and file name are correct."
Robertos
Posts: 78
Joined: Wed Nov 15, 2017 3:44 pm

Re: Loading Custom Database?

Post by Robertos »

Target text needs to be like this:
"C:\Program Files (x86)\Twitterdub\Twitter.exe" 1Test
where 1Test is the name of the instance

You can actually make shortcut first(or copy some old one), name it whatever you want, change the target text(add desired instance name), run it and TD will make an instance for you.
bmanfacts
Posts: 175
Joined: Tue Mar 05, 2019 7:09 pm

Re: Loading Custom Database?

Post by bmanfacts »

Robertos wrote: Tue Jun 25, 2019 10:29 am Target text needs to be like this:
"C:\Program Files (x86)\Twitterdub\Twitter.exe" 1Test
where 1Test is the name of the instance

You can actually make shortcut first(or copy some old one), name it whatever you want, change the target text(add desired instance name), run it and TD will make an instance for you.
That seemed to work. I'll update if it doesn't. Thanks!
User avatar
martin@rootjazz
Site Admin
Posts: 34627
Joined: Fri Jan 25, 2013 10:06 pm
Location: The Funk
Contact:

Re: Loading Custom Database?

Post by martin@rootjazz »

Robertos wrote: Tue Jun 25, 2019 10:29 am Target text needs to be like this:
"C:\Program Files (x86)\Twitterdub\Twitter.exe" 1Test
where 1Test is the name of the instance

You can actually make shortcut first(or copy some old one), name it whatever you want, change the target text(add desired instance name), run it and TD will make an instance for you.
Note, 1Test MUST NOT CONTAIN A SPACE.

"C:\Program Files (x86)\Twitterdub\Twitter.exe" 1Test

that is good, the first parameter passed in is 1Test

"C:\Program Files (x86)\Twitterdub\Twitter.exe" 1 Test

This is bad as you are now passing in TWO parameters
1
Test
Post Reply