alt+p -> choose in what popup you want to insert the pics in the view menu -> add .pic1:/command in the popus
you can use /play pic1.txt as command

now just right click, the popup appear, click on pic1 and the command will be execute