Applescript to change database?

I just started using AlfredApp (similar to QuickSilver, LaunchBar etc). From it I can send commands to different apps like mailplane etc. I would like to know if there is a way I can tell 1password via applescript to switch the database. (I have one for work and one for personal) that I sync both via different dropbox accounts. I would like to just tell it to use '/path/to/file' and be done with it, that way I don't have to open, go to prefs, change the database etc.
This discussion has been closed.