Message 1 of 4
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I'm looking to check if the variable "qnewtemplate" is set to a standard template but it gives me an error: ; error: bad argument type: stringp nil
I can't figure it out and I know it's a simple solution. If anyone can help, I'd really appreciate it.
(setq cphQNewTemplate "\\\\cph\\offices\\CADD\\AutoCAD Resources\\_Support-Civil and Landscape\\_Templates\\_cph - (STB) Standard Template (vR21).dwt") (if (not (wcmatch (getenv "qnewtemplate") cphQNewTemplate ) ) (setenv "qnewtemplate" cphQNewTemplate) )
Archie Dodge
Applications Expert - Infrastructure Solutions Division
IMAGINiT Technologies
Applications Expert - Infrastructure Solutions Division
IMAGINiT Technologies
Solved! Go to Solution.