Bug 1148 : Enhancement: function to get the sketch name
Last modified: 2009-02-05 06:51




Status:
RESOLVED
Resolution:
WONTFIX -
Priority:
P3
Severity:
enhancement

 

Reporter:
Dimitre
Assigned To:
fry

Attachment Type Created Size Actions

Description:   Opened: 2009-02-04 17:31
It would be nice to have a function or a constant where I can retrieve the
sketch name.

about the usefulness:
I sometimes work with several variations of a sofware to generate videos.
After generating several quicktimes from different sketches it would
organize better to have the sketch name and timestamp in the quicktime
filename, ex:
particle002_20081129.mov
Additional Comment #1 From fry 2009-02-05 06:51
Use this:

String name = getClass().getName();