Why can't I record my own airport script?

I’d like to do something simple on my own. Create a computer to computer network named “keynote”.

When I try to record in the script editor, nothing happens.
Using automator I get an error message. “Check the actionʼs properties and try running the workflow again.”

This should be pretty simple, no? :frowning:

I realize someone could write one for me but I’d like to see what I could do myself.

Thanks.

PS. Happy Holiday :slight_smile:

To my knowledge, recording in Applescript Editor is a useless function that does absolutely nothing.

With Automator, you have to check the top and the bottom of the “command box” for “bumps” or arrows. Those mean input or output. Also, you need the right data in the fields they provide.

Hope these help. I don’t think this could be done unless you use GUI scripting.

Recordability has to be implemented in the application(s) being scripted. It may or not produce a working script; it’s virtually never produced a good script. It’s basically a well-intentioned but bad idea.

It used to be obvious in the forums when someone had started learning AppleScript by recording and studying Finder scripts. A simple instruction to delete something would be preceded by the activation of the Finder and the selection of the item ” and possibly even the opening of the folder it was in. Nowadays, the Finder’s recordablility appears to be merely residual. Most third-party developers who’ve bothered to make their apps scriptable have never bothered with recordablity, although there are some recordable apps out there written by Mac enthusiasts: DragThing and TextWrangler being a couple of them.

Apple’s network set-up applications no longer seem to be available, let alone scriptable or recordable! System Events now has a Network Preferences Suite, which contains some useful-looking stuff, but I’ve no idea if it can actually be used to set up a connection.