Hi Guys. I am trying to automate a process in MPM link(Manufacturing process tool by PTC).
Attached software image for reference
Steps that needs to be automated:
1. Select the file (example: 04. 10 240410)
2. open BOM of that file
3. Select all parts that that contains 3rd word from file name(example: 240410)
There is no select or copy or find option in the MPM link software.
I dont know what command to use to copy only the 3rd word, where there is no select option
and find the copied word where there is no find option.
Can any one please help me,
copy the 3rd word from the selected text and select the options that has the copied words
-
- Posts: 2
- Joined: 18 Apr 2018, 05:05
copy the 3rd word from the selected text and select the options that has the copied words
- Attachments
-
- MPM link.png (151.68 KiB) Viewed 969 times
Re: copy the 3rd word from the selected text and select the options that has the copied words
just copy all words and then use StrSplit() to get the 3rd wordarunselladurai wrote: I dont know what command to use to copy only the 3rd word, where there is no select option
- FanaticGuru
- Posts: 1906
- Joined: 30 Sep 2013, 22:25
Re: copy the 3rd word from the selected text and select the options that has the copied words
The solution is going to be very specific to your software.arunselladurai wrote:Hi Guys. I am trying to automate a process in MPM link(Manufacturing process tool by PTC).
Attached software image for reference
Steps that needs to be automated:
1. Select the file (example: 04. 10 240410)
2. open BOM of that file
3. Select all parts that that contains 3rd word from file name(example: 240410)
There is no select or copy or find option in the MPM link software.
I dont know what command to use to copy only the 3rd word, where there is no select option
and find the copied word where there is no find option.
Can any one please help me,
If you hit control-c will it copy the selected line to the clipboard? What does it look like if you paste it into a text file? Does it put a tab or space between columns?
What happens if you hit control-a? Does it highlight all the items? Can you copy all of them to the clipboard at the same time?
Can you use the down arrow to move your selection down a line?
Basically I would imagine that you would need to copy the line to the clipboard, do some string manipulation and determine if this is a line you want and then do what is needed. Then down arrow one line and repeat, till you get to the end.
If you can copy all of it the clipboard at once it would be faster to do string manipulation on all the data and figure out what lines you want then move to each and do what you want with the lines.
FG
Hotkey Help - Help Dialog for Currently Running AHK Scripts
AHK Startup - Consolidate Multiply AHK Scripts with one Tray Icon
Hotstring Manager - Create and Manage Hotstrings
[Class] WinHook - Create Window Shell Hooks and Window Event Hooks
AHK Startup - Consolidate Multiply AHK Scripts with one Tray Icon
Hotstring Manager - Create and Manage Hotstrings
[Class] WinHook - Create Window Shell Hooks and Window Event Hooks
-
- Posts: 2
- Joined: 18 Apr 2018, 05:05
Re: copy the 3rd word from the selected text and select the options that has the copied words
If we copy the selected row, link of the row is copied to clipboard. The link does not have that word.
Attached step by step procedure with images.
Attached step by step procedure with images.