Saved Layout and relative directory?

I always use certain layout for dragging and dropping files to other applications. It would be nice to go to a folder, then hit my layout button with the current directory and not a saved directory. Is that possible ?

If you want it to change the current window to the size & position of a layout, without changing folders:

Prefs LAYOUT="Name of your layout" LAYOUTTHISLISTER=pos,size

If you want to leave the current window alone and open a new window in the current folder, using a layout's size/position:

Go CURRENT LAYOUT="Name of your layout"


I want it to look like the image above.
Can you show me an example of pos,size ?
Prefs LAYOUT="!_!" LAYOUTTHISLISTER=pos,size

It's literally "pos,size" which makes it use the position and size in the layout.

If you want to specify the position and size as numbers in the command, I think the Go (for new windows) and Set (for existing windows) can do that slightly differently (not sure off the top of my head).

I tried Prefs LAYOUT="!!" LAYOUTTHISLISTER=pos,size that command doesn't seem to work. It does the exact same thing as a normal layout button Brings me back to the directory I saved the layout. However, Go CURRENT LAYOUT="!!" works.

That's exactly what the two commands are meant to do. As Leo wrote in the post above...

Neither command should change folders, though. (And they don't for me, at least.)

Set LISTERSIZE 400,1080 was what I was looking for :stuck_out_tongue: