Quantcast
Channel: PTC Community : Unanswered Discussions - Creo
Viewing all articles
Browse latest Browse all 8685

How to add time stamp to a file (.jpg) with Mapkey?

$
0
0

Dear Members,

 

I have a question about adding a time stamp to a mapkey. We use a mapkey (seen below) to quickly make .jpg-files in an specific folder. We would like to make multiple files of the same part number, but this gives a failure because it cannot give the new file the same name as the previous one. We would like to add a time stamp (DD-MM-YYYY & Time) behind the file like :    partnumer_11-02-2015_12:05.

 

mapkey jpg ~ Select `main_dlg_cur` `appl_casc`;\

mapkey(continued) ~ Select `main_dlg_cur` `appl_menu.left_pane.prepare_casc`;\

mapkey(continued) ~ Close `main_dlg_cur` `appl_casc`;~ Command `ProCmdRibbonOptionsDlg`;\

mapkey(continued) ~ Select `ribbon_options_dialog` `PageSwitcherPageList` 1 `colors_layouts`;\

mapkey(continued) ~ Open `ribbon_options_dialog` `colors_layouts.Color_scheme_optMenu`;\

mapkey(continued) ~ Close `ribbon_options_dialog` `colors_layouts.Color_scheme_optMenu`;\

mapkey(continued) ~ Select `ribbon_options_dialog` `colors_layouts.Color_scheme_optMenu` 1 `2`;\

mapkey(continued) ~ Activate `ribbon_options_dialog` `OkPshBtn`;\

mapkey(continued) ~ Close `main_dlg_cur` `appl_casc`;~ Command `ProCmdModelSaveAs`;\

mapkey(continued) ~ Open `file_saveas` `type_option`;~ Close `file_saveas` `type_option`;\

mapkey(continued) ~ Select `file_saveas` `type_option` 1 `db_566`;\

mapkey(continued) ~ Activate `file_saveas` `mydocs_pb`;\

mapkey(continued) ~ Select `file_saveas` `ph_list.Filelist` 1 `Creo 2`;\

mapkey(continued) ~ Activate `file_saveas` `ph_list.Filelist` 1 `Creo 2`;\

mapkey(continued) ~ Select `file_saveas` `ph_list.Filelist` 1 `JPG`;\

mapkey(continued) ~ Activate `file_saveas` `ph_list.Filelist` 1 `JPG`;\

mapkey(continued) ~ Activate `file_saveas` `OK`;~ Open `shd_img_param` `o_dpi`;\

mapkey(continued) ~ Close `shd_img_param` `o_dpi`;~ Select `shd_img_param` `o_dpi` 1 `dpi600`;\

mapkey(continued) ~ Activate `shd_img_param` `OK`;~ Close `main_dlg_cur` `appl_casc`;\

mapkey(continued) ~ Command `ProCmdRibbonOptionsDlg`;\

mapkey(continued) ~ Select `ribbon_options_dialog` `PageSwitcherPageList` 1 `colors_layouts`;\

mapkey(continued) ~ Open `ribbon_options_dialog` `colors_layouts.Color_scheme_optMenu`;\

mapkey(continued) ~ Close `ribbon_options_dialog` `colors_layouts.Color_scheme_optMenu`;\

mapkey(continued) ~ Select `ribbon_options_dialog` `colors_layouts.Color_scheme_optMenu` 1 \

mapkey(continued) `Custom`;~ Activate `ribbon_options_dialog` `OkPshBtn`;

 

Thank you in advance!


Viewing all articles
Browse latest Browse all 8685

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>