keywest Posted May 21, 2009 Share Posted May 21, 2009 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 comment Share on other sites More sharing options...
Damian Lettie Posted May 22, 2009 Share Posted May 22, 2009 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 comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now