Not finding what you are looking for? Request a recipe!
Instead of using {object}.place(); method, which will place imported image into targeted frame, using activeDocument.place(); will load selected files into PlaceGun.
Rotating selected object through scripting is really simple and can be achieved through rotationAngle object property. Also, you can create small short scripts that will help you when rotating bunch of objects to same angle.
To avoid problems and get expected results, you have to check/set correct reference point when doing transformations. Using transformReferencePoint property you can set anchor point to desired one.
We can use Timer to close Alert dialog after some time if dialog is not closed by user.
By using PopUpManager class centerPopUp method, we can easily have title window centered.
By using globalToScreen we can retrieve mouse position relative to screen.
This can be done simply by using the Screen class which allows us to retrieve all necessary data about screens.
It's really simple, and can be done very easily. Let's take a look.
Simple by using glow effect and adding focusIn and focusOut properties to text field we can get this cool effect.
It can be done by using Regular Expression and one Array where addresses are stored.