Skip to main content
added 567 characters in body
Source Link
bmike
  • 241.3k
  • 80
  • 433
  • 958

ThereApple doesn't appear to besupply a command line helper or any scriptable cocoa classes you can latch on to for automation. Unlike the overall software update, which allows updates and installs out of the box, you can only script the process of clicking buttons with a mouse using Automator.

However, the app store has been reverse engineered and released open source as well as a binary form:

The install is quick and it appears to be quite reliable on the current version of OS X 10.11:

brew install argon/mas/mas 

With the source released, I would expect some other implementations of this tool to pop up, perhaps even one scripted with python.

If someone is logged into the mac (windowmanager is running), you can use Automator and the "watch me do" function to automate updates and storing your store password in the script fairly insecurely.

Here are two tutorials to get you started if this meets your needs.

http://www.tuaw.com/2009/01/19/mac-automation-creating-watch-me-do-workflows/

http://automator.us/leopard/features/virtual-user.html

Once you have a working script, you can use the command line open command to kick it off.

If the App Store app ever exposes that function to scripting you will have more options from the command line. It would be easy to use sdef, sdp and gen_bridge_metadata to dump the entire scriptable dictionary and script things using ruby from the command line, but at present, this is a non-starter the best option would be to use the mas command line tool.

There doesn't appear to be a command line helper or any scriptable cocoa classes you can latch on to for automation. Unlike the overall software update, you can only script the process of clicking buttons with a mouse.

If someone is logged into the mac (windowmanager is running), you can use Automator and the "watch me do" function to automate updates and storing your store password in the script fairly insecurely.

Here are two tutorials to get you started if this meets your needs.

http://www.tuaw.com/2009/01/19/mac-automation-creating-watch-me-do-workflows/

http://automator.us/leopard/features/virtual-user.html

Once you have a working script, you can use the command line open command to kick it off.

If the App Store app ever exposes that function to scripting you will have more options from the command line. It would be easy to use sdef, sdp and gen_bridge_metadata to dump the entire scriptable dictionary and script things using ruby from the command line, but at present, this is a non-starter.

Apple doesn't supply a command line helper or any scriptable cocoa classes you can latch on to for automation. Unlike the overall software update, which allows updates and installs out of the box, you can script the process of clicking buttons with a mouse using Automator.

However, the app store has been reverse engineered and released open source as well as a binary form:

The install is quick and it appears to be quite reliable on the current version of OS X 10.11:

brew install argon/mas/mas 

With the source released, I would expect some other implementations of this tool to pop up, perhaps even one scripted with python.

If someone is logged into the mac (windowmanager is running), you can use Automator and the "watch me do" function to automate updates and storing your store password in the script fairly insecurely.

Here are two tutorials to get you started if this meets your needs.

http://www.tuaw.com/2009/01/19/mac-automation-creating-watch-me-do-workflows/

http://automator.us/leopard/features/virtual-user.html

Once you have a working script, you can use the command line open command to kick it off.

If the App Store app ever exposes that function to scripting you will have more options from the command line. It would be easy to use sdef, sdp and gen_bridge_metadata to dump the entire scriptable dictionary and script things using ruby from the command line, but at present the best option would be to use the mas command line tool.

added 113 characters in body
Source Link
bmike
  • 241.3k
  • 80
  • 433
  • 958

There doesn't appear to be a command line helper or any scriptable cocoa classes you can latch on to for automation. This is unlikeUnlike the overall software update.

This limits, you to launching acan only script that will automate the GUI commands whenprocess of clicking buttons with a usermouse.

If someone is logged ininto the mac / WindowManager(windowmanager is running on the mac. I would recommend using), you can use Automator and the "watch me do" function as the easiest way to automate updates and storing your store password in the script fairly insecurely.

Here are two tutorials to get you started if this meets your needs.

http://www.tuaw.com/2009/01/19/mac-automation-creating-watch-me-do-workflows/

http://automator.us/leopard/features/virtual-user.html

Once you have a working script, you can use the command line open command to kick it off. 

If the App Store app ever exposes that function to scripting, you couldwill have more options from the command line. It would be easy to use sdef, sdp and gen_bridge_metadata to dump the entire scriptable dictionary and script things using ruby from the command line, but at present, this is a non-starter.

There doesn't appear to be a command line helper or any scriptable cocoa classes. This is unlike the overall software update.

This limits you to launching a script that will automate the GUI commands when a user is logged in / WindowManager is running on the mac. I would recommend using Automator and the "watch me do" function as the easiest way to automate updates.

Here are two tutorials to get you started if this meets your needs.

http://www.tuaw.com/2009/01/19/mac-automation-creating-watch-me-do-workflows/

http://automator.us/leopard/features/virtual-user.html

Once you have a working script, you can use the command line open command to kick it off. If the App Store app ever exposes that function to scripting, you could use sdef, sdp and gen_bridge_metadata to dump the entire scriptable dictionary and script things using ruby from the command line, but at present, this is a non-starter.

There doesn't appear to be a command line helper or any scriptable cocoa classes you can latch on to for automation. Unlike the overall software update, you can only script the process of clicking buttons with a mouse.

If someone is logged into the mac (windowmanager is running), you can use Automator and the "watch me do" function to automate updates and storing your store password in the script fairly insecurely.

Here are two tutorials to get you started if this meets your needs.

http://www.tuaw.com/2009/01/19/mac-automation-creating-watch-me-do-workflows/

http://automator.us/leopard/features/virtual-user.html

Once you have a working script, you can use the command line open command to kick it off. 

If the App Store app ever exposes that function to scripting you will have more options from the command line. It would be easy to use sdef, sdp and gen_bridge_metadata to dump the entire scriptable dictionary and script things using ruby from the command line, but at present, this is a non-starter.

added 353 characters in body
Source Link
bmike
  • 241.3k
  • 80
  • 433
  • 958

There doesn't appear to be a command line helper likeor any scriptable cocoa classes. This is unlike the overall software update so.

This limits you may be limited to launching a script that will automate the GUI commands when a user is logged in and/ WindowManager is running on the mac. I would recommend using Automator and the "watch me do" function as the easiest way to automate updates.

Here are two tutorials to get you started if this meets your needs.

http://www.tuaw.com/2009/01/19/mac-automation-creating-watch-me-do-workflows/

http://automator.us/leopard/features/virtual-user.html

Once you have a working script, you can use the command line open command to kick it off. If the App Store app ever exposes that function to scripting, you could use sdef, sdp and gen_bridge_metadata to dump the entire scriptable dictionary and script things using ruby from the command line, but at present, this is a non-starter.

There doesn't appear to be a command line helper like the overall software update so you may be limited to launching a script that will automate the GUI commands when a user is logged in and WindowManager is running on the mac. I would recommend using Automator and the "watch me do" function as the easiest way to automate updates.

Here are two tutorials to get you started if this meets your needs.

http://www.tuaw.com/2009/01/19/mac-automation-creating-watch-me-do-workflows/

http://automator.us/leopard/features/virtual-user.html

Once you have a working script, you can use the command line open command to kick it off.

There doesn't appear to be a command line helper or any scriptable cocoa classes. This is unlike the overall software update.

This limits you to launching a script that will automate the GUI commands when a user is logged in / WindowManager is running on the mac. I would recommend using Automator and the "watch me do" function as the easiest way to automate updates.

Here are two tutorials to get you started if this meets your needs.

http://www.tuaw.com/2009/01/19/mac-automation-creating-watch-me-do-workflows/

http://automator.us/leopard/features/virtual-user.html

Once you have a working script, you can use the command line open command to kick it off. If the App Store app ever exposes that function to scripting, you could use sdef, sdp and gen_bridge_metadata to dump the entire scriptable dictionary and script things using ruby from the command line, but at present, this is a non-starter.

Source Link
bmike
  • 241.3k
  • 80
  • 433
  • 958
Loading