View Single Post
  #2  
Old 10-20-2005, 12:03 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,027
That was an intentional change; we were hoping nobody was actually using a name differing from the filename :^). And we neglected to mention this compatibility issue in the upgrade help topic. In prior versions, the .action filename (without extension) was used for the action name by default, but this could be overridden by adding a Name attribute to the action element of the .action file. In version 6, the Name attribute is ignored and the filename is always used for the action name.

Attached is a project you can use to convert existing projects for actions that have a Name attribute which differs from the filename. This project will process all .action files in the path where it is saved to identify actions whose Name does not match its filename. Then it will update all .bld files in the same directory from the old to the new action name. To process .action and/or .bld files elsewhere, change the %PROJDIR% value in the 'Process .action files' and 'Process .bld files' steps (and check the recurse flag to process subdirectories).

Hopefully this will be an adequate workaround, as it would be difficult to put that logic back in (significant functionality, such as changes to how actions can be registered/located and the GUI action designer, has been added since the change which depend on the new behavior).
Attached Files
File Type: bld convertactions.bld (5.0 KB, 910 views)
Reply With Quote