I've encountered a few problems with the script. First is in the section where it checks to see if a local copy is already open. currently the code reads
Code:
SetTitleMatchMode 2
IfWinExist %PARTFILE%_%username%
it should probably be
Code:
SetTitleMatchMode 2
IfWinExist, Revit, %PARTFILE%_%username%
The reason for the change is that the first method will only return a True value if the local file is currently the active window in the Revit session. If you have windows tiled or have a family or other file open, it won't find it because it only looks in the title of the window. My proposed alternate looks for" Revit" in the title and the local file name in the text of the window. I've tested this with 2008-32bit and 2009-64bit
This may be because I'm running XP-64bit but when opening a 2009 file by specifying worksets it would always detach the file for some reason. I found that by adding the {Jrn.Command "Internal"...} line to the journal
Code:
Set Jrn = CrsJournalScript
Jrn.Command "Internal" , "Show or hide recent files , ID_STARTUP_PAGE"
Jrn.Command "Menu" , "Open an existing project , 57601 , ID_REVIT_FILE_OPEN"
it would function correctly however the recent file window would be open. not that big a deal but an annoyance none the less.
The last one is because I'm running XP-64bit Revit 2008-32bit is installed in Program Files (x86) by default not Program Files so I just have it check both directories for those in the office that aren't on 64 bit machines.
I also added some code to mine that will check to see if the worksharing monitor is installed and not already running. then launches it. It also installs in the Program Files (x86) folder. I'd share the code for it however my version is heavily modified from David's