![]() ![]() Set height to the last item of imageRect.scale horizontal scaleFactor vertical t width to the first item of imageRect. The only problem with this script is that GraphicConverter doesn’t support including the desired tolerance with the autolevel command. 2 is a good choice for tolerance I just have to make sure that whenever I change it for some other purpose, I always change it back to. The image dimension is a list of two numbers: the width and the height. Since I’ve decided that I want to standardize on 800 pixels wide, I get the first item from the image dimension, divide it into 800, and then scale the image both horizontally and vertically by that scale factor.Īfter autoleveling and scaling, I need to copy the image the dimensions have changed, so I get the image dimension again, then set the selection to be the entire image: from 0 to width, and from 0 to height. Now that it’s in the clipboard, I can go into iTunes and select whatever tracks it applies to and paste it in as album art. You can store this script in the standard script folder if you have the “Script menu” enabled 2, in ~/Library/Scripts/Applications/GraphicConverter/ as, for example, “Copy Album Cover”. You can also store it in GraphicConverter’s own scripts folder as far as I can tell it works the same in either location. “Unskew (Set Proportions)…” under the “Effect” menu. Use AppleScript Editor’s General Preferences to “Show Script menu in menu bar”. More AppleScript Using version control with AppleScriptsĪppleScripts aren’t stored as text, which makes it impossible to track changes in AppleScript files using version control software such as Mercurial or Git. Save clipboard text to the current folder ADJUST PICTURES IN GRAPHICCONVERTER SOFTWARE
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |