Event Variable in Subfolder Definition

Post Reply
stefanknoll
Posts: 7
Joined: 23 Oct 12 16:09

Event Variable in Subfolder Definition

Post by stefanknoll »

Hi
I started evaluating Photo Supreme today and came over an issue when I tried to define an own subfolder scheme for an import profile. My final file repository for my jpegs should be like .../yyyy-mm-dd_[eventname]. Just to clarify it, an example would be '...\2012-10-23_Photo Supreme Evaluation'.
PS comes with a seeded scheme which is called 'Event name plus Date of image' and looks like 'EventName %yyyy-%mm-%dd'. Based on that scheme I tried to creat an own, custom one. However no matter how I tried, I was not able to move the variable 'EventName' to a different position in the sting without loosing its variable character. E. g. after having changed the string to '%yyyy-%mm-%dd EventName', all that came out was a folder '2012-10-23 EventName'. So something made it change from a variable to a constant, however I can see no difference in the syntax.

Can anyone advise?

Kind regards
Stefan
mphillips
Posts: 240
Joined: 31 May 07 11:02
Location: Parkwood,Johannesburg,South Africa

Re: Event Variable in Subfolder Definition

Post by mphillips »

Hi Stefan

Please try %eventname

Regards

MikeP
Mike Phillips
http://www.mikeandmorag.co.za
D850, NX Studio, Supreme, Lightroom
stefanknoll
Posts: 7
Joined: 23 Oct 12 16:09

Re: Event Variable in Subfolder Definition

Post by stefanknoll »

Hi Mike,
worked, great!
Thanks
Stefan
Tom
Posts: 139
Joined: 05 Dec 05 14:23
Location: Estonia

Re: Event Variable in Subfolder Definition

Post by Tom »

I had exactly the same question. But when I write a rule with %eventname like this:
%yy_%mm_%eventname
then I get "Access Violation" warning in the header of the editor window.

What might be the problem?

Tom
mphillips
Posts: 240
Joined: 31 May 07 11:02
Location: Parkwood,Johannesburg,South Africa

Re: Event Variable in Subfolder Definition

Post by mphillips »

Hi Tom

I would guess that %eventname can only be used at the time of Import - because that's the only time you enter it. "prompt for Event before import starts"

Are you using it then, or are you using it at another place ?

If in another place (once the images are in the catalog ) which field are you hoping to use ?

I wonder if you could use Input User Variable ?

Regards

MikeP
Mike Phillips
http://www.mikeandmorag.co.za
D850, NX Studio, Supreme, Lightroom
Tom
Posts: 139
Joined: 05 Dec 05 14:23
Location: Estonia

Re: Event Variable in Subfolder Definition

Post by Tom »

Thanks, Mike, for the response. I am trying to use the %eventname for the import profile, in order to create the folder/subfolder at import. Exactly as OP described.
Tom
mphillips
Posts: 240
Joined: 31 May 07 11:02
Location: Parkwood,Johannesburg,South Africa

Re: Event Variable in Subfolder Definition

Post by mphillips »

Oh Dear :-)

I used it in the Batch and got an access Violation.

But When in Import all I get is it rejects the % in front of the event name and I end up with %yy_%mm_eventname

I need to wrap it in %code /%code like:

Code: Select all

%code
result := '%yy_%mm_%eventname'
%/code
.
%FileExtension
In order to preserve the % in front of the eventname

MikeP
Mike Phillips
http://www.mikeandmorag.co.za
D850, NX Studio, Supreme, Lightroom
Tom
Posts: 139
Joined: 05 Dec 05 14:23
Location: Estonia

Re: Event Variable in Subfolder Definition

Post by Tom »

Mike, thanks, it works the way you suggested. But I think the PSU developer should look into the problem, why the variable could not be assigned.

Tom
lulumine
Posts: 36
Joined: 23 Aug 10 16:09
Location: La Rochelle, France

Re: Event Variable in Subfolder Definition

Post by lulumine »

Same kind of issue with FileName definition based on %eventname during import process of a set of 10 pictures (PSU c.1.9.7.177-64bits) :
- the first 3 files was unexpectedly renamed with the string "%eventname"
- the others correctly named with value of %eventname ("Test 2" in this case)
PSU_filename_capture.PNG
PSU_filename_capture.PNG (62.43 KiB) Viewed 12147 times
I've made a lot of attempts was with one single file before to try with 10 pictures and check that the 4th was properly renamed !
I've also experienced the solution proposed by (through [%code][\%code]) but without any success.

Anything wrong by me?
Does anybody have another way to solve this issue?

Many thanks.
Olivier
Olivier PSU v2.2.5.1044 / Win7x64 - Intel core i7 950@3,7GHz-RAM6Mo
Hert
Posts: 7870
Joined: 13 Sep 03 6:24

Re: Event Variable in Subfolder Definition

Post by Hert »

Hi Oliver,

Did you also tick the option to ask for an event name in the Import settings.

Hert
This is a user-to-user forum. If you have suggestions, requests or need support then please send a message
lulumine
Posts: 36
Joined: 23 Aug 10 16:09
Location: La Rochelle, France

Re: Event Variable in Subfolder Definition

Post by lulumine »

Hi Hert,

Yes I did.

Since my previous message, I've made 2 attemps more, changing selected rules defining folder and filename and changing also the name of the event between both :
- the first was successfull (even if I believe having tick 6 pictures for only 4 ingested....)
- the second (9 pictures) failed with 2 pictures named by error versus 7 correctly and one remaining activity in the stack (thumbnails service) :
PSU_import_capture_01.PNG
PSU_import_capture_01.PNG (83.8 KiB) Viewed 12132 times
Olivier PSU v2.2.5.1044 / Win7x64 - Intel core i7 950@3,7GHz-RAM6Mo
Doug Pardee
Posts: 50
Joined: 15 Mar 06 18:19
Location: North Carolina, USA

Re: Event Variable in Subfolder Definition

Post by Doug Pardee »

I'm having the same result (on V1). I'm using %EventName in the destination folder name. Most of my imported files end up in the desired folder name, but a few — typically the first one — end up in a folder with "%EventName" instead of the actual event name. In one case it looked like the first imported file ended up in both the correct folder and the %EventName folder. It's certainly easy enough to move files and get rid of the %EventName folder, but it's a minor nuisance.
snowman1
Posts: 394
Joined: 01 Jan 07 2:13

Re: Event Variable in Subfolder Definition

Post by snowman1 »

I have also had this behaviour, though I haven't narrowed it down to what triggers it. As you say it's something of a nuisance.

One other point is that idi used to (if the option was selected) create a category record for the import session, which was useful for processing the images you'd just imported. The category name comprised the date and time. Now PSU also creates a category for the import session, but includes the %eventname if supplied; it puts the date & time after the event name rather than before, which I personally don't like as I would prefer these ordered by date & time rather than the event name I gave it. I'll raise a feature request for this, or for before/after to be an option. Maybe some people prefer the event name first as it would give them control over the ordering.
Tom
Posts: 139
Joined: 05 Dec 05 14:23
Location: Estonia

Re: Event Variable in Subfolder Definition

Post by Tom »

Hi, I come back to the same issue after one year.

I have the same problem as described in last two posts. My import profile rule for folder name includes year_month_enentname. After upgrading to PSU V2 (I believe this is the reason) I get strange behaviour at import. Since lately on import PSU creates two new folders, one of them is correct, and the other one looks like this (example): "2014_02_%eventname". I mean that the text "%eventname" is a part of the folder name, exactly as shown. This folder normally includes 2-8 images, whereas the rest of the images are in the correctly named folder.

Please suggest what might be the reason for that.

Toomas
Hert
Posts: 7870
Joined: 13 Sep 03 6:24

Re: Event Variable in Subfolder Definition

Post by Hert »

This is reported in Mantis.
http://bugs.idimager.com/view.php?id=1958

Fixed for the next update.
This is a user-to-user forum. If you have suggestions, requests or need support then please send a message
Post Reply