KIll proces Studio X or Close application

I put Copy File Activity but, if the application its open then the script gets an error, How I can close applications, The Excel file can exist or not, because is overwriting then I cannot put using activity because the excel can exist or not, depend the Copy File its somthing like Template. and if its open thats make a bug.!
image|690x388

Hello @Jose_Eduardo_Gutierr,

The practice is to check if a certain file exists using a StudioX File activity.

You call the Copy File Activity only if the above check returns true.

Please close application using Task Manager and kill StudioX process.

I hope I have understood your question correctly.

thanks

But there is an activity for kill a process like studio? I think it dosent right?

Hello,

in newer versions of StudioX we have enabled some Studio specific activities to be used. They are found under the developer section.


What can I say except that you might need some developer skills to properly use them. For example one might want to get a list of processes first ( using get Processes ) but this implies that you know how to parse a Collection of Processes in order to pass the target process to the kill process activity :slight_smile:

PS : The developer tab can be found by filtering the activities list

Regards,
Dragos.

2 Likes