Jump to content

Express Dictate is renaming files when it should not be


keywest

Recommended Posts

Some versions of ED (like 4.12) have a new behavior that is making problems for us.

 

We use the ED api to have ED create a new dct file. We have been providing names like "rick smith.dct". We have the Send/File file name option set to simply %filename%. The file is being renamed to "rick smithdct.dct" when it's sent. But the file is listed as "rick smith.dct" in the recover files list.

 

If we provide a file name of "rick smith" then ED changes it to "rick smith.dct".

 

How can we tell ED to stop changing the file name? This is a bug, a fairly new one I think. It used to leave "rick smith.dct" alone. "rick smithdct.dct" is absurd, of course.

Link to post
Share on other sites
Some versions of ED (like 4.12) have a new behavior that is making problems for us.

 

We use the ED api to have ED create a new dct file. We have been providing names like "rick smith.dct". We have the Send/File file name option set to simply %filename%. The file is being renamed to "rick smithdct.dct" when it's sent. But the file is listed as "rick smith.dct" in the recover files list.

 

If we provide a file name of "rick smith" then ED changes it to "rick smith.dct".

I'm not sure about v4.12 (which is actually quite old), but in recent versions, EDAPIRename() and the %filename% variable actually both refer to the dictation name, not the file name. The naming of %filename% is a bit misleading.

 

So if you call EDAPIRename("rick smith") then EDAPISend() with the file name format set to %filename% and get a file called "rick smith.dct", that is correct behaviour.

Link to post
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...