cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Saving table with drawing filename

Participant

Saving table with drawing filename

I'm trying to create a mapkey that would save a table as a text file using the same name as the drawing instead of requiring the user to type in a name.  Any ideas?

3 REPLIES 3

Re: Saving table with drawing filename

Hi,

the basic problem is ... how to get drawing name. Please publish the picture of title of your drawing window.

You can create AutoIT script which gets drawing name from the title and put it into Windows clipboard. You can then paste the name into dialog box during table saving.

Note: AutoIT script can be launched via mapkey.


Martin Hanák

Re: Saving table with drawing filename

To my knowledge, copy and paste do not work in mapkeys.

Re: Saving table with drawing filename


@ScottHanson wrote:
To my knowledge, copy and paste do not work in mapkeys.

Hi,

I'll try better explanation 🙂

 

1.] AutoIT script can extract drawing name from window title and put it into Windows clipboard

title.png

 

2.] It is possible to run AutoIT script via Creo mapkey

 

3.] When table is saved following dialog is displayed. User can activate File Name field and press CTRL+C to enter drawing name extracted by AutoIT script.

save_table.png

 


Martin Hanák
Announcements