[Windows 7] Export of Keyword File impossible

If reporting a bug with the Zeus IDE please post the details here. Please do not post questions here.
Post Reply
kleist
Posts: 22
Joined: Tue Jan 11, 2011 6:20 pm

[Windows 7] Export of Keyword File impossible

Post by kleist »

Hi Jussi and all Zeus fellows,

It seems that one can't export a .zki file in Windows 7.

1. Menu Options/Document Types, edit any document type

2. On the Keywords tab, klick the Export button

3. The resulting "Keyword Export" dialog has an "Open" button. I find no way to save a .zki file.

Has anybody found a workaround for this, maybe using a script? I'd really like to share my rather long keyword list with colleagues...
jussij
Site Admin
Posts: 2650
Joined: Fri Aug 13, 2004 5:10 pm

Post by jussij »

It seems that one can't export a .zki file in Windows 7.

I am guessing the reason is the default folder that Zeus is choosing is wrong :?

It is probably trying to write the .zki file to this folder location:

Code: Select all

C:\Program Files\Zeus\zConfig\
This folder is now a locked down folder location for modern day Windows systems.

To fix this try exporting the keyboard to somewhere else like this:

Code: Select all

C:\temp\my_keybord.zki
Cheers Jussi
kleist
Posts: 22
Joined: Tue Jan 11, 2011 6:20 pm

Post by kleist »

Thanks for your fast reply (as always), Jussi!

No matter which folder I navigate to, the button is labeled "Open" (instead of the expected "Save").
kleist
Posts: 22
Joined: Tue Jan 11, 2011 6:20 pm

Post by kleist »

I have also tried to run Zeus as Administrator. No difference.
jussij
Site Admin
Posts: 2650
Joined: Fri Aug 13, 2004 5:10 pm

Post by jussij »

No matter which folder I navigate to, the button is labeled "Open" (instead of the expected "Save").
Zeus is being a bit naughty here because it is using a File Open dialog for the export action rather than using a File Save As dialog which would have been a better choice :oops:

At one time Zeus did use a File Save As and I can't remember the exact reasons why this was changed but I do remember making this change :cry:

But for this reason you will always see an Open button for all version of Windows, for all Zeus export buttons.

So what actually happens if you type in a file name and then hit the Open button :?:

Do you see any error message :?:

What text do you see in the Zeus status message line :?:

The status bar should show the name of the export file that was created.

Cheers Jussi
kleist
Posts: 22
Joined: Tue Jan 11, 2011 6:20 pm

Solved: Spaces in filename was the culprit

Post by kleist »

If I removed the spaces in the filename suggested by Zeus, navigated away from the suggested folder (e.g. to Desktop), and then clicked "Open"... it worked!

Maybe an FAQ for this would be helpful?
jussij
Site Admin
Posts: 2650
Joined: Fri Aug 13, 2004 5:10 pm

Post by jussij »

Maybe an FAQ for this would be helpful?
From what I rememebr, I think this little hack was added to fix some sort compatability issue found many years ago, back in the days when the same Zeus code base had to run on Windows 3.x, Windows 95 and Windows NT.

I did a quick check at using a File Save As dialog instead and that seemed to work, so I will look to change these to Save As dialogs for the next Zeus release.

Thanks for the feedback :)

Cheers Jussi
Post Reply