Adobe InDesign CC 2017, can't open ExtendScript to edit script - adobe-indesign

I have a problem opening Adobe ExtendScript from Adobe InDesign (to edit the script). Once I click "edit script", Creative Cloud keeps popping up and nothing happens. I have installed Adobe ExtendScript already.

Is the ExtendScriptToolKit installed?
Did you try to open it at least once?
Can you run a script?
Did you try a different editor? (Sublime Text with this package is great)

Related

Use apple automator to open a pdf in acrobat and enter keystroke on the dialog that pops up when I run acrobat

I'm trying to use Automator on my mac to get around a system dialog. When I open a pdf I get this dialog from acrobat for which I always want to select deny:
I made an automator app that works to select deny, but when I change the application that opens pdf's to this automator.app it doesn't actually open the document, it just launches acrobat and selects deny on the dialog then just sits there.
The way I'd like it to work is that I want to double click any pdf on my computer and always select deny on this dialog which always pops up whenever acrobat opens up.
I'm not married to accomplishing this the way I'm doing it now, I just don't know how else to do it.
The current automator steps/flow is this:
Ok I found how to do this in a slightly different way for anyone interested. Just using the Watch Me Do function instead since it always pops up the same way. Then I just saved it as an app and I right clicked a pdf file and selected this custom app as the one to always use when opening pdf files.

Can Apple's color picker be opened from anywhere?

Is it possible to open the native color picker from anywhere in the OS, perhaps through Terminal?
Open the AppleScript Editor and create a new script with choose color inside, then run or export the script as Application.
Sure can. You create an Apple Script, save it as an application, and you're done.
A walk through is right here

How can I automate application installations that have dialog boxes that need input?

I am trying to install the downloaded application programatically, hence I am using apple script for the same since am working on Mac.
Here I've downloaded the Adobe AIR Installer app from adobe site which is in downloads folder and am trying to install the same with the below applescript code. Here when the Adobe AIR setup dialog box opens, I need to click on "I Agree" button to install the app.
With the below code am not able to click on the "I Agree" button, even i dont have Xcode Accessibility Inspecter do inspect the element. Pls guide me the script to handle the "I agree" button.
try
tell application "Finder"
activate
open application file "Adobe AIR Installer.app" of folder "Applications" of startup disk
set this_image to open this_file
delay 5
tell application "System Events"
click button "I Agree" of window "Adobe AIR Setup"
end tell
end tell
end try
You could try GUI scripting the commands with delays in-between clicks, but it's a little bit of work. Since the Adobe installer doesn't support clicking from applescript, you will need to download ExtraSuite and follow along with this previous MacScripter post.
To get pixel coordinates, start up the installer without AppleScript and type '⌘ + shift + 4' to get the crosshairs with pixel location (usually used for taking screenshots). Write down the coordinates for the first button and then hit 'esc' and move to the next button.
This is a pretty painful way to get the job done but there aren't many other alternatives that I know of.
It looks like the Adobe installers don't use Cocoa and aren't scriptable. You might have better luck with Sikuli. It's based on matching bitmaps and doesn't depend on any underlying framework.

"Beautifying" an OS X disk image

When I downloaded Skype, I noticed that, in place of a normal "disk image" icon, there was a custom icon, and when I double clicked on the icon, the window used a colorful image as the background, prompting me to drag the skype icon into the applications folder.
How can I do that with my applications?
Thanks,
Jason
Let me add to the other answers jwz's howto on setting view options on .dmg files. This is the simplest one that I got to work with no problems.
Also, to change the icon from the default .dmg icon:
In the Finder, open an inspector window (^I) for the file whose icon you want to use, click on the icon at the top (it will get a blue border) and copy it to the clipboard (^C).
Then open another inspector for your .dmg, click on the icon and press ^V to paste
(you can change the icon for any file like this).
For this kind of thing, you can always look at open-source programs and see what they do to get a similar result. For example here are the relevant source files for building pretty dmg files in:
Adium
Miro
If you’re interested in a commercial solution, there are a number of DMG designer apps available, including the following I gleaned from a MacUpdate search:
DMG Packager
DMG Architect
DMG Canvas
This is a great freeware solution for a custom background with zero hassle:
http://sourceforge.net/projects/dmgcreator/

Not showing Dialog when opening file in Acrobat Pro using Applescript

When opening Adobe Acrobat Pro, whether it be through Applescript or finder, the introductory dialog is shown. Is there a way to not show this dialog without already having checked the "Don't Show Again" option when opening a document using Applescript?
Photoshop and Illustrator Applescript libraries have ways of setting interaction levels and not showing dialogs, but I can't seem to find the option in Acrobat.
Copy any applicable preferences files in ~/Library/Preferences from a machine that you have checked "Don't show again" on.
If it's not in the dictionary, probably not.

Resources