Change the Location of Screen Shots Saved by the iOS Simulator

前端 未结 7 403
有刺的猬
有刺的猬 2020-12-20 11:06

I\'d like to change the location that screenshots created via File > Save Screen Shot in the iOS Simulator are saved from the desktop to a folder of my choice. How can this

相关标签:
7条回答
  • 2020-12-20 11:29

    You can use Automator to create a Folder Action workflow to automatically move screen shots from Desktop to your desired folder.

    Steps: Filter items containing iOS Simulator Screen Shot in name. Then move those items to your chosen folder.

    Here's a sample https://github.com/chrisamanse/iOS-Simulator-Screenshot-Mover

    0 讨论(0)
  • 2020-12-20 11:33

    Simulator saves screen shot file on (logged-in user's) desktop and it's default path.

    To change default path (with Xcode 9+), press and hold ⌥ Option (alt) button from keyboard, while you take a screen shot.
    Or
    Using Mac Keyboad: Press keys ⌥ Option + + s all together.
    It will show a dialog with file storage options and also allows to set/change default path.

    enter image description here

    0 讨论(0)
  • 2020-12-20 11:40

    Just Press Option + command + s together and it will prompt you a dialog where you want to save screenshot.

    0 讨论(0)
  • 2020-12-20 11:47

    You will not be able to do that.

    An easy alternative could be (after changing the default screenshot directory):

    1. press cmd+shft+4
    2. press spacebar
    3. Click your iPad/iPhone simulator window
    0 讨论(0)
  • 2020-12-20 11:48

    In Xcode 12 we now always set the default location to wherever you last saved a screenshot, so to change the default location press ⌥ + ⌘ + S then select the location.

    Also new to Xcode 12 you can right-click on the screenshot preview window that appears and you should see Desktop, Documents, and your custom location (if you've set one that isn't the Desktop). So even if the default is somewhere else you can always send the screenshot to the Desktop. You can also drag this window and drop it in an app or the Finder.


    In Xcode 9 you can hold down Option while saving a screenshot and we will prompt you for the location. Check the "Use this as the default location" box to make the selected directory the default for all screenshots.

    0 讨论(0)
  • 2020-12-20 11:48

    I use Automator. It's easy and free.

    0 讨论(0)
提交回复
热议问题