Wed, Mar 4, 7:58 PM CST

Renderosity Forums / Poser - OFFICIAL



Welcome to the Poser - OFFICIAL Forum

Forum Moderators: RedPhantom Forum Coordinators: Anim8dtoon

Poser - OFFICIAL F.A.Q (Last Updated: 2026 Mar 04 1:34 pm)



Subject: shortcut for "duplicate xxx"


Adom ( ) posted Sun, 12 December 2010 at 1:18 PM · edited Sun, 02 November 2025 at 7:02 PM

hi,

Could anybody try adding shortcut to "duplicate" command and share the result?

I just cannot make it work:(  -> poser 8

thanks.


geep ( ) posted Sun, 12 December 2010 at 2:23 PM

Shortcut?

The [menu] "Edit" >>> "Duplicate" command works ok here for a figure or a prop.

... using Poser 8 v8.0.3.11793

cheer,
dr geep
;=]

Remember ... "With Poser, all things are possible, and poseable!"


cheers,

dr geep ... :o]

edited 10/5/2019



Adom ( ) posted Sun, 12 December 2010 at 2:30 PM

I've added shortcut to "duplicate" command in poser.xrc file... and it doesn't work.

Other commands are working with my own shortcuts but not "duplicate" - that's why I'm asking.

Have the same p8 version.


PhilC ( ) posted Sun, 12 December 2010 at 3:08 PM

Line 117 of the file Poser.xrc looks like this:-

Duplicate &Object/Figure

If you edit it to say:-

DuplicateXXX &Object/Figure

Poser will continue to display the label as "Duplicate". This along with the fact that the selected actor/figure name always appears in the label name leads me to think that the command is encoded into Poser elsewhere. The line in the xrc file may just be a place holder.

So taking a leaf out of McGiver's book; "Plan A is to always have an outstanding Plan B". Here is plan B.

In Notepad write:-

import poser
poser.ProcessCommand(1568)

This Python script will execute the same command as the Duplicate menu command. Now here is the clever bit. Save the file in Poser 8:Runtime:Python:poserScripts:ScriptsMenu with the name Duplicate###Ctrl+Alt+D.py

Now type Ctrl+Alt+D and it will run the script, which will fire the command, which will duplicate the actor/figure. Ctrl+Alt+D is not used anywhere else as a shortcut.

Works for me :)

Hope that helps.


Adom ( ) posted Sun, 12 December 2010 at 3:17 PM

sure it helps :)

thanks a lot.

now I only have to choose other shortcut as this one is already taken by RENDER DIMENSIONS command :)


R_Hatch ( ) posted Mon, 13 December 2010 at 12:20 AM

I tend to create hotkeys using SHIFT+ALT+, as there is absolutely nothing in Poser that uses this modifier combination :)


PhilC ( ) posted Mon, 13 December 2010 at 4:29 AM

You can use whatever you want but if the combination is already in use you'll have to edit the Poser.xrc file to remove it from there first.


Adom ( ) posted Mon, 13 December 2010 at 5:05 AM

I do have no idea about XML files but I found there something like this inside one of them ("roomTabs.xml):

<Widget name="faceRoomTab"  command="9003" ...

 so I thought it could be used in the same way like "poser commands" to assign shortcut to it via python but it didn't work.

Do you know if there is a way to make it work? (if it works then we can navigate between windows with shortcuts)

I belive that this "9003" is some kinf of command for displaing Face Room.

For material Room the number is 9002 but the one from poser.xrc file is 1265


PhilC ( ) posted Mon, 13 December 2010 at 6:02 AM

What you need Adom, is on page 232 of Python for Poser.

import poser
poser.Rooms()[2].Show(1)

Python for Poser goes into a lot more detail and explanation of how it works. Plus it draws your attention to some apparent typos in the manual supplied with Poser which could be very frustraiting if not drawn to your attention.

 


Adom ( ) posted Mon, 13 December 2010 at 6:33 AM

thanks a lot.

I tried buying but that site kept saying there was something wrong with my card data :(

which is strange because I just used it 5 min earlier.


Privacy Notice

This site uses cookies to deliver the best experience. Our own cookies make user accounts and other features possible. Third-party cookies are used to display relevant ads and to analyze how Renderosity is used. By using our site, you acknowledge that you have read and understood our Terms of Service, including our Cookie Policy and our Privacy Policy.