/    Sign up×
Community /Pin to ProfileBookmark

filename creator and counter

[SIZE=4]Need som help ?[/SIZE]

During my day at the pc, i create about 100 different files. They are organised by date (DDMM) initials and a running number. for example first file today: 2304dath-01

I need a window where i can input the initials and a butten that says NEW. So next time i press new, the filename would be 2304dath-02. And if it can remember what number it has reached to during this day, if I had to reset my computer – or closed the window by accident.

to post a comment
JavaScript

1 Comments(s)

Copy linkTweet thisAlerts:
@gphApr 23.2006 — You need to use the getDate(), getMonth() for the date. You can use a cookie to retain the running number.

This sounds like a a good job for an hta. Are you using Windows? What type of files are you creating? And do you have permission to install applications on the computer?
×

Success!

Help @mrdath spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.21,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...