Author Topic: Is it possible to get ... this done  (Read 5512 times)

0 Members and 1 Guest are viewing this topic.

Krushert

  • Seagull
  • Posts: 13581
  • FREE BEER Tomorrow!!
Is it possible to get ... this done
« on: March 23, 2007, 02:02:58 PM »
I was wondering.   :-o

Is it possible to or place a some piece of sort of "code" (lack of a better term) in the prefix spot for "Exporting to Autocad" in options dialog to provide the current date?  See Image.  Just curious to see if it can be done.  I know it can be done with code by creating a new command but I would like to see if it can be done thru "Options".

This should probably be in the code section but I thought this might be a better place to start.
« Last Edit: March 26, 2007, 10:52:04 AM by Krushert »
I + XI = X is true ...
... if you change your perspective.

Guest

  • Guest
Re: Is it possible to get ...
« Reply #1 on: March 23, 2007, 02:38:02 PM »
I suppose it could be done but.....  That's held in the registry.

(vl-registry-write (strcat "HKEY_CURRENT_USER\\" (vlax-product-key) "\\Profiles\\" (getvar "cprofile") "\\Preferences\\AecGuiBase50") "ExportExplodedToAutoCADFilePrefix" "BVH-")

I have ours set to automatically prefix with the company name.

Krushert

  • Seagull
  • Posts: 13581
  • FREE BEER Tomorrow!!
Re: Is it possible to get ...
« Reply #2 on: March 23, 2007, 02:46:44 PM »
I suppose it could be done but.....  That's held in the registry.

(vl-registry-write (strcat "HKEY_CURRENT_USER\\" (vlax-product-key) "\\Profiles\\" (getvar "cprofile") "\\Preferences\\AecGuiBase50") "ExportExplodedToAutoCADFilePrefix" "BVH-")

I have ours set to automatically prefix with the company name.
We prefix the date then the initials of the person/company we are sending it to.  I have a lisp routine to do what I am asking but I curious to see if it could be done just within the options or maybe registry.  But Messing with the registry .... ummm ...   :lol:
I + XI = X is true ...
... if you change your perspective.

Birdy

  • Guest
Re: Is it possible to get ...
« Reply #3 on: March 23, 2007, 06:06:27 PM »
<snip> 
But Messing with the registry .... ummm ...   :lol:


 awww c'mon.  give it a shot... let us know how it goes. send pics :lmao:

CmdrDuh

  • Automatic Duh Generator
  • King Gator
  • Posts: 4039
Re: Is it possible to get ...
« Reply #4 on: March 23, 2007, 06:18:47 PM »
I think I would write some code to update the registry when you call the export command.  That way it is always current (date) you are looking for
Everyone has a photographic memory, Some just don't have film.
They say money can't buy happiness, but it can buy Bacon and that's a close second

Krushert

  • Seagull
  • Posts: 13581
  • FREE BEER Tomorrow!!
Re: Is it possible to get ...
« Reply #5 on: March 24, 2007, 02:16:50 PM »
The more I think of it, I like my lisp routine even more. 
And yes I am a little chicken when it comes to the registry.   :-D
I + XI = X is true ...
... if you change your perspective.

Maverick®

  • Seagull
  • Posts: 14777
Re: Is it possible to get ...
« Reply #6 on: March 26, 2007, 10:44:45 AM »
  Hey Krush, any chance you could edit the subject line?  Think of all the things that could go after that.

Quote
Is it possible to get ...

  Good oranges outside of Florida.
  Herpes from a bicycle seat.
  Se7en's undies in a bunch.
  Etc. Etc.  :-D

Krushert

  • Seagull
  • Posts: 13581
  • FREE BEER Tomorrow!!
Re: Is it possible to get ...
« Reply #7 on: March 26, 2007, 11:01:21 AM »
  Hey Krush, any chance you could edit the subject line?  Think of all the things that could go after that.

Quote
Is it possible to get ...

  Good oranges outside of Florida.
  Herpes from a bicycle seat.
  Se7en's undies in a bunch.
  Etc. Etc.  :-D

 How is that edit?  :-D :-D

only you (and maybe dent also) would think of this
I + XI = X is true ...
... if you change your perspective.

Josh Nieman

  • Guest
Re: Is it possible to get ...
« Reply #8 on: March 26, 2007, 11:02:53 AM »
  Hey Krush, any chance you could edit the subject line?  Think of all the things that could go after that.

Quote
Is it possible to get ...

  Good oranges outside of Florida.
  Herpes from a bicycle seat.
  Se7en's undies in a bunch.
  Etc. Etc.  :-D

 How is that edit?  :-D :-D

only you (and maybe dent also) would think of this

I thought it was worded: "Git 'er Done!"