Applescript is also 'recordable'. If the application you use supports recording, just click the 'Record' button in the script editor window and then perform the tasks in the application of your choice ...