jenndhemus / editra-plugins

Automatically exported from code.google.com/p/editra-plugins
0 stars 0 forks source link

[macrolauncher] Use more sensible file names for generated macro files #117

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
One more request,

The way the file names are generated for making the macro files make names
that are quite long and cryptic.

There are some utilities available in Editra's api to create simpler unique
file names.

see:

ebmlib.GetUniqueName(path, name)

Will return a unique name based on the 'name' parameter passed in

OR

ebmlib.MakeNewFile(path, name)

This method works as above but generates the file name and creates a blank
file with that name on disk. Returns a tuple ( bool(Success),
str(unique_file_name) ).

It might also be nice to be able to rename the macro file from within the
UI as well.

Original issue reported on code.google.com by CodyPrec...@gmail.com on 2 Jun 2009 at 4:41

GoogleCodeExporter commented 8 years ago
Added rename-macro functionality and also used GetUniqueName

Original comment by roman.ch...@gmail.com on 13 Jun 2009 at 5:21