MacMost: JavaScript

Creating a Form In Mac Numbers Using a Script
1/8/20

One advantage that Numbers for iPad has over Numbers for Mac is Form mode. If you want to simulate a form in Mac Numbers, you can do it using a few lines of JavaScript code in Script Editor and even make those script available in the menu bar. This could be the starting point for a more complex set of scripts that check values and even allow you to edit row data in a form too.

Filling In a Web Page Form Using Automator
12/6/19
You can use JavaScript in Automator to fill in a web page form. If you make this a Quick Action you can access it from the menu bar or as a keyboard shortcut. This can help speed up situations where you need to fill in the same form every day.
Create a Button On Your Mac or iPhone To Make a Call With One Tap Or Click
5/21/19

If you want to make it as easy as possible to call people you can set up a single-action icon that you can tap on your iPhone or click on your Mac to make the call. On the iPhone you can use the Shortcuts app to build a shortcut and place it on your Home screen. On your Mac you can use Automator with a shell script and some JavaScript to place an app in your Dock to make the call with a single click.

Setting Window Sizes Precisely With a Script
1/30/18

You can use JXA in the Script Editor or Automator to set the location of a window to an exact location and size. It is easy to set up the one-line script and reuse it by simply changing the application name and size numbers. You can also create an Automator service to repeat a setting you use often.

Using JavaScript to Find Photos Without Keywords
3/7/17

There is no way in Photos to get a list of all of the photos that have no keyword tags applied to them. But with a little JavaScript in Automator you can add this command to Photos and use it with all photos or any selection of photos.

Populating a Keynote Presentation From a Numbers Spreadsheet Using JavaScript
2/28/17
You can use the Script Editor app on your Mac to create JavaScript programs that control other apps. In this example, learn how to take data from a Numbers spreadsheet and use it to add new slides to a Keynote presentation. While it takes some programming know-how to build automation tasks like this, it is good to know what is possible.
MacMost Now 749: Programming JavaScript To Send Safari 6 Notifications
8/17/12
With Safari 6 and Mountain Lion, users can get system notifications from web pages. Some simple JavaScript can be used for web developers to enable and use these notifications. You must first ask for permission to send notifications to the user, and then can trigger notifications. You can react to the user clicking on them as well. However, they only work while the web page is present.
MacMost Now 511: Debugging JavaScript in Safari
2/2/11
Learn about the developer tools in Safari. You can view JavaScript error messages, send output to the console, and step through your code using the debugger.
MacMost Now 332: iPhone GPS Location With JavaScript
12/16/09

Web developers creating pages specifically for the iPhone can ask for GPS location data on their Web pages with some simply JavaScript. See a basic example that can be used to get the latitude and longitude of the iPhone viewing the Web page.