Y
Yashr
Hello:
We have a main template with summary tasks. We also have
templates(subtemplates) which has detail tasks. We are trying to automate
the insertion of subtemplates into the main project.
Currently we do a copy/paste from the subtemplates to the main project.
We are trying to automate this and when the PM selects a subtemplate from a
list, we use the following codejavascript)
application.FileOpen(..selected subtemplate..)
application.SelectAll;
application.EditCopy;
//activate parent window and paste
application.WindowActivate(parent_proj_window_name);
application.SelectRow;
application.EditPaste;
Everything works/looks good.
The problem is that now, in my main project I loose the 'Undo' capability.
If I do the copy paste manually , the 'Undo' in the parent is still active.
If I do this either via macro or JavaScript(Customizing Project Guide) the
'undo' becomes inactive. This 'undo' feature is important.
Any advice/ideas is really appreciated.
We have a main template with summary tasks. We also have
templates(subtemplates) which has detail tasks. We are trying to automate
the insertion of subtemplates into the main project.
Currently we do a copy/paste from the subtemplates to the main project.
We are trying to automate this and when the PM selects a subtemplate from a
list, we use the following codejavascript)
application.FileOpen(..selected subtemplate..)
application.SelectAll;
application.EditCopy;
//activate parent window and paste
application.WindowActivate(parent_proj_window_name);
application.SelectRow;
application.EditPaste;
Everything works/looks good.
The problem is that now, in my main project I loose the 'Undo' capability.
If I do the copy paste manually , the 'Undo' in the parent is still active.
If I do this either via macro or JavaScript(Customizing Project Guide) the
'undo' becomes inactive. This 'undo' feature is important.
Any advice/ideas is really appreciated.