문제

With captureScreenWithName I can take a screenshot of the current screen. But are they saved in a directory on the mac somewhere ? Or are they only in the log messages?

If not, is there a way to export them to a directory ?

도움이 되었습니까?

해결책

Use the red button on the top left corner, or run Instruments from command line. You can set the log directory in the bottom left part (when it is set to visible by the corresponding view button right from the timer). If the script is run with the play button at the bottom, the log appears in the Instruments only. (No copy and hard to save screenshots.)

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top