Is there a command line switch to open a window with a particular pane style? I'd like my shortcut to my image folder open with thumbnails, and have other shortcuts open other styles.
Does such a thing exist yet? if not, can it be implimented? Or is there a nice alternative feature which would reach the same end?
Command line switch for Pane Style?
Moderators: fgagnon, nikos, Site Mods
You can make seperate registry entries for your preferred layouts through the menu item 'Window.Set registry key...' You can then start X2 with the preferred settings by specifying the registry key you want to use after the /S option switch (see below). See alpha.txt for more info.
Full command line for X2:
xplorer2.exe /F:nn /P /R:rootFolder /S:registryKey /L:searchFromFolder /1 /2 leftFolder rightFolder
Full command line for X2:
xplorer2.exe /F:nn /P /R:rootFolder /S:registryKey /L:searchFromFolder /1 /2 leftFolder rightFolder
Dumb questions are the ones that are never asked
first you'll need to associate IDA files with x2. Choosing "open with..." should be the easiest way
then edit the "open" verb in the registry for IDA, adding the command line options:
/F:1 /S:your_name_here "%1"
your_name_here is a registry key for x2 you saved earlier where scraps have no statusbars etc
then edit the "open" verb in the registry for IDA, adding the command line options:
/F:1 /S:your_name_here "%1"
your_name_here is a registry key for x2 you saved earlier where scraps have no statusbars etc
OK I got it, here's the recipe
start x2, set the new registry key (Window|Registry Key), say KeyName, and close x2 for the new key to be created in the registry.
then start x2 /F:1 /S:KeyName, this will get you a scrap pane, set pane size and viewing options, then close the scrap pane to save everything into the registry.
then from the command line or whatever, run
x2 /F:1 /S:KeyName /1 absolute-path-to-ida-file.ida
very nice!
start x2, set the new registry key (Window|Registry Key), say KeyName, and close x2 for the new key to be created in the registry.
then start x2 /F:1 /S:KeyName, this will get you a scrap pane, set pane size and viewing options, then close the scrap pane to save everything into the registry.
then from the command line or whatever, run
x2 /F:1 /S:KeyName /1 absolute-path-to-ida-file.ida
very nice!