[ltk-user] re: Problems with choose-directory on windows
![](https://secure.gravatar.com/avatar/361b8aef60dd031527fc6e3f861507f5.jpg?s=120&d=mm&r=g)
8 Aug
2007
8 Aug
'07
5:46 p.m.
After some hackering and reading that other people had problems with a lacking space inside a {~a} I managed to get it working. Here is the code with only marginally small rewrite(added two spaces): (defun choose-directory (&key (initialdir (namestring *default-pathname-defaults*)) parent title mustexist) (format-wish "senddatastring [tk_chooseDirectory ~@[ -initialdir {~a }~]~@[ -parent ~a~]~@[ -title {~a }~]~@[ -mustexist ~a~]]" initialdir (and parent (widget-path parent)) title (and mustexist 1)) (read-data)) notice the spaces inside {~a }. -- _________________ Kjeld K. B. Massali denatus@gmail.com ------------------------------
6391
Age (days ago)
6391
Last active (days ago)
0 comments
1 participants
participants (1)
-
Denatus