|
-
May 31st, 2020, 03:55 PM
#11
Re: Redesign of Resource Editor - Suggestions
Elroy, already ahead of you for most of that. Here's some of the issues:
- FileNames are not truly ideal: resources within VB can't have spaces, so they are removed
:: resource names also can't contain the @ or accent characters within VB
:: resource names technically can contain unicode, but from previous tests & problems associated with them, the new tool will only allow ASCII characters (inclusive range: 33 to 127).
- More on this. And I know initially, you will not like it on the surface. Don't use file names for IDs. The optional tagging options are more what you are after I think.
:: tags can include file names, CRC values, original file length and more
:: though you can only have 1 tag per resource item, you can always custom delimit it for your use
:: I'm already designing auto-tagging during import based on user-defined settings, i.e., like a Format() command, where you can choose the tagging format. For example: FILENAME, SIZE, FILEPATHNAME, FILEDATE, DATE and a few more. The idea is that you can add tool-defined placeholders (as just listed), along with user-defined values. And if auto-tagging isn't something that is needed, each uploaded resource can be tagged individually when importing just one resource, or tagging can be done later at any time for any resource.
As for automatically replacing an imported resource... When one file is uploaded, that's easy to code, regardless of the resource's ID. But when multiple are uploaded that isn't so simple. Obviously, in your case, you are using filenames for resource names, so a one-to-one match can be done. But in most cases, people are not going to use string resource names for everything. I need to consider this more and any other input you have on this topic is more than welcomed. Maybe offering an option to assign resource IDs for each imported file used for replacing, after files are selected, but before being imported?
In any case, worth more discussion. And honestly, this is sort of what I was hoping for when I posted this thread.
Last edited by LaVolpe; May 31st, 2020 at 05:20 PM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|