Placeholder confusion

Q&A about the latest versions
Post Reply
sportsnapper
Posts: 73
Joined: Tue Jun 22, 2010 10:28 pm

Wed Mar 30, 2011 11:56 am

Trying to use the $n placeholder - which I've used before.

Web wiki (http://gardengnomesoftware.com/wiki/System_Placeholders) says:
File Paths
$n = file path: project name - (use in the file path when saving projects)
$d = file path: project directory - (use in the file path when saving projects)
so I'm assuming that $n is the name I save the p2vr project as.

In this example, my project file is hallway.p2vr - so would assume from the info above that the project name is hallway.
Thus, fp$n should be fphallway

Using the placeholder in the output file name, I've got two swf's
fp$n and $n-thumb
I would expect these to be fphallway.swf and hallway-thumb.swf
But what I get is fphall_v2.swf and hall_v2-thumb.swf - so the filename is based on the input file name rather than the projectname? In which case the doc should be changed to be $n is the name of the input file. And perhasp a new placeholder should be added to represent the name of the project file.

Or I've got it all wrong somehow?

Screen shot of project below:
Screen shot 2011-03-30 at 10.49.47.png
Screen shot 2011-03-30 at 10.49.47.png (100.53 KiB) Viewed 1672 times
User avatar
Hopki
Gnome
Posts: 10354
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Wed Mar 30, 2011 2:04 pm

Hi
Well spotted, this has not come up before as $n is also used when saving the project, so the project save name will be the same as the input image. Of course if the project file name is changed or the input image is changed then yes you get the situation you have.

I have added this as a feature request Issue #228
I will update the wording in the documents page also.
Thanks for the pointer :D
Regards
Hopki
Hopki
Garden Gnome Software Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
sportsnapper
Posts: 73
Joined: Tue Jun 22, 2010 10:28 pm

Wed Mar 30, 2011 2:10 pm

Good - though i was missing something somewhere!

G
Post Reply