Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X
NOTE: Much of the text was strangely removed after publishing...
Hello all,
Thanks in advance for your help.
Function
I would like the user to insert a project Path via the GET STRING prompt. I would like this prompt to be executed once at the beginning of the Batch Process. The next time this macro is executed, alone or in a Batch Process, the old information should not be contained.
Problem
Progress
I have managed to assign the GET STRING to a GLOBL variable.
Alternative
Manually change the macro everytime a new path is required - already exists.
Thanks
Alan
Not 100% sure of what you're trying to do, but you might want to look at 'process convert'. I haven't used it myself, but it allows you to call a batch process from a macro. This would allow you to get your input first and then use it as a param assuming it's the input or output directory.
If this does not meet your need, can you clarify what the 'project path' is used for? Might be another route to the same end.
Hi Trevor,
Is my understanding correct that the ''process convert' launches the 'Batch Process'?
I don't see a solution using this command, if you can, please enlighten me - I will try to better explain my problem.
The macro reads a text file for each corresponding illustration and replaces unwanted text within the illustration from the text files. In order to do this I execute the BATCH file [macro].
Here I insert the destination of the text files to be read. Each project has a different path. I would like to use the GET input_type "text" (GET STRING) command to retrieve the destination path from the user.
If I run a Batch Process I would like the GET command to be called just once at the beginning. Not every single time the macro is called within a Batch Process (every time an illustration is opened).
I could just manually insert the new path within the macro every time I have a new Destination Folder. But I would like to include this functionality for users with no IML or Marco file knowledge.
I hope that explains things a little better.
Thanks again Trevor.
Alan