BinaryWorks.it Official Forum
BinaryWorks.it Official Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 eXtreme Movie Manager (Rel. 7), No More Updates
 Information
 Multiple instance of XMM

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
   

T O P I C    R E V I E W
magician62 Posted - 17 Jul 2011 : 16:21:14
In an attempt to overcome an issue I thought to try an experiment.

Data on external drive
I created two installations of XMM one for my 'movies db' and the other 'series db'

\XMM7m
\XMM7s

The idea was to use a shortcut to the appropriate
'eXtreme Movie Manager.exe'
which on execution would load the last used mdb by that installation..

What seems to be happening is that whichever 'eXtreme Movie Manager.exe' I run, I still get the last mdb that was opened, and not the last mdb opened by that specific installation.

This leads me to believe there is a config file somewhere else on my system being used, and not the config.ini in the installation folder

Is this a bug, am i doing it wrong, and /or is there a way to overcome this

What I want to achive is launch XMM and open a specific database, and then taking it a stage further build that all into a shortcut or somthing similar
7   L A T E S T    R E P L I E S    (Newest First)
magician62 Posted - 08 Sep 2011 : 21:59:51
OK had a play with your AHK code, and came up with the following which when compiled into an AHK script can be placed on an external drive, it seems to work.

RegWrite, REG_SZ, HKEY_CURRENT_USER, Software\eXtremeMovieManager, DatabaseFile, %A_ScriptDir%\eXMM\Databases\videos.mdb
Run %A_ScriptDir%\eXMM\eXtreme Movie Manager.exe


Basic process
e.g.
Drive F:\\
'F' is used for example purposes only. It could be any letter

Create a folder ++++EMM
so you get
F:\\++++EMM\
The ++++ has been used to put the folder at the top of the window, so its easier to find :)

Now Create a folder eXMM inside this folder so you get
F:\\++++EMM\eXMM\
Where eXMM is the installation folder for eXtreme Movie Manager (I shortened it as the path was getting quite long)

Install eXMM

You should then see
F:\\++++EMM\eXMM\eXtreme Movie Manager.exe
and
F:\\++++EMM\eXMM\Databases\videos.mdb

Place the compiled AHK script and its .ini file in the folder
F:\\++++EMM\
I called my compiled script eXmmLauncher.exe

You could probably place an autorun.inf on the drive to launch on connection
magician62 Posted - 08 Sep 2011 : 19:31:57
Some iteresting thoughts here. I have recently downloaded Autohotkey, so that looks like the best option at present. I may have to investigate further as if the files are on an external drive, the letter may change, but I cant see why the current drive letter can't be grabbed and added too
bug_white Posted - 05 Sep 2011 : 21:58:53
I have 2 separate movie databases and it always bothered me that I couldn't select which one to open but had to start the program with the last database to opened running. So I downloaded AutoHotKey (a windows scripting program downloadable at http://www.autohotkey.com/) and wrote this simple script:

RegWrite, REG_SZ, HKEY_CURRENT_USER, Software\eXtremeMovieManager, DatabaseFile, C:\Users\Paul\Documents\eXtreme Movie Manager 7\Databases\movies.mdb
Run C:\Users\Paul\Documents\eXtreme Movie Manager 7\eXtreme Movie Manager.exe

where movies.mdb is the name of the database you want to open. This opens movies.mdb regardless of what database was last opened. The first line rewrites the windows registry to set the default database. The second line starts XMM. Both lines are based on the default install location on my machine, change as appropriate for your installation).
Michael Clarke Posted - 22 Jul 2011 : 21:51:07
You could run a vb script or batch that clears the registry entry everytime you login to the pc, or you could write a vb script for each installation that you have, that enters the correct db file to the registry before launching the xmm.exe.
Just a thought
Alessio Viti Posted - 22 Jul 2011 : 18:33:40
I have move the Database name to Registry because there are some problems with databases with UTF8 Names.

I will try.

Ale
magician62 Posted - 18 Jul 2011 : 13:53:02
Hi Ale, thanks for the update.

Maybe in the future it could be considered to have the option to read from the config.ini or Windows Registry?

This would be perfect in allowing an external drive to have its movies, XMM, and database in one location. making the whole thing completely portable. When the drive is plugged in, it could even be set to autorun XMM, and using its local config.ini, then open the appropriate database on the drive.
Alessio Viti Posted - 18 Jul 2011 : 10:04:42
Hello,

I am sorry, but all EXE will read the "last" database used from the Windows Register, this is why doesn't work as you expect.

Note that only the Last Database open is load from register, all other configuration settings are load from the config.ini

Ale

BinaryWorks.it Official Forum © Binaryworks.it Go To Top Of Page
Generated in 0.09 sec. Powered By: Snitz Forums 2000 Version 3.4.07