Macro Does Not Work : Insert File Name and Path

the macro navigates from Scrivener to pathfinder back to Scrivener
Is there any way to avoid having pathfinder flash on the screen ? could I remain in Scrivener and have the pathfinder related actions happen in the background.
The reason for my question is to better understand KBM, not yet another caprice
thank you