and can collect several pieces of information from the user in one fell swoop. This has text input, radio buttons, checkboxes, popup menus, etc. This has more options than “display dialog” and easily called from any scripting language, but still collects only one piece of information from the user. The information available from this is limited to a line of text or a single button click, which is too little for snapftp. The display dialog command in AppleScript. There are several choices for adding a Mac-native graphical user interface to a script. Only the URL to the uploaded version of “snap.png” is put on the Clipboard. For example, if I choose “snap” as the file name, “snap.png” will be the full-sized capture file and “snap-t.png” will be the resized capture file. The full-sized capture file has the name I gave it and the resized file has that name with a “-t” appended to it before the “.png” extension (the “t” is for “thumb” even though the resizing may produce an image much bigger than what is normally considered a thumbnail). If the “Both” option was chosen, there are two capture files. The URL of the uploaded file is put in the Clipboard for later pasting. If I need to, I can change to rectangular capture mode by pressing the Space bar.Īfter the snapshot is made, the capture file appears on my Desktop and, unless told otherwise, is uploaded to my server via FTP. I prefer starting in window capture mode because I usually want a snapshot of a window. The biggest difference is that whereas Command-Shift-4 starts in rectangle capture mode, snapftp starts in window capture mode. When I click on the Snap button (or press the Return key) the dialog box goes away, and the computer acts very much like it does when I press Command-Shift-4. The checkbox option at the bottom of the window can preclude the upload.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |