3D Framework
Overview
Framework Customer Story
CIMdata e-Book
MBD Utilities
Validate
Revision
View/Convert
Customer Stories
CAD Data Risks Whitepaper
Focus: Aerospace
KeyCreator CAD
Meet KeyCreator
What Is Direct Modeling
KeyCreator Reviews
KeyCreator Customer Stories
Focus: Drafting
Schools & Students
CKD Viewer
About
Company
International Resellers
All Customer Stories
Referral Program
Partners
News
Blog
Contact
Store
Revision/Validate
View/Convert
KeyCreator CAD
Shopping Cart
Support
Login
Software
Users
Submit Request
Remote Assist
Forum
Kubotek University
Help
Kubotek Forum
KeyCreator CAD & CKD Viewer
Technical discussion of CAD/CAM and integrated partner products
Customer Forum
>
KeyCreator CAD & CKD Viewer
>
KXL - Possible to use %USERPROFILE% or alt?
View modes:
View mode
Threaded
Flat - newest to oldest
Flat - oldest to newest
Member
brandel.luebbert@steelvillemfg.com
-
12/30/2018 10:57:44 AM
KXL - Possible to use %USERPROFILE% or alt?
Hello all,
Recently, I've been working on improving a macro we have at my company. So far so good, save one hangup - the macro auto-exports to the user's desktop.
That works fine as is - but that requires the end user editting the macro to supply their Windows user name for file path concatenation.
I attempted using the old Windows cmd approach of using %USERPROFILE% and ever escape for the % I could remember, but no luck. Is there a trick I'm missing, or an alternative to get to the current active user?
Thank you
Reply
|
Quote
|
Subscribe to post
Advanced member
Hans_Winkler
-
1/2/2019 1:29:04 PM
RE:KXL - Possible to use %USERPROFILE% or alt?
the macro auto-exports to the user's desktop
Could you write the information to a known directory?
I tried using the EXEC kxl function, but it doesn't seem to work. I have to investigate further to see if it is a bug.
Hans
Reply
|
Quote
|
Subscribe to post
1
Login