PDA

View Full Version : Applescript to click a menu item


tj4shee
2007-02-22, 10:02 AM
Can anyone paste sample applescript that will choose a menu item - I want to put an applescript on the toolbar that will do the "Edit:Insert Time Stamp:Time" function - I am using OO to keep a daily journal of notes and want an easier way to timestamp them by clicking on an applescript in the toolbar

tj4shee
2007-02-22, 11:20 AM
Oh, as an FYI... although I am considered an expert programmer.... I should be considered an idiot when it comes to Applescript.......

I do not know it, I have never tried to (seriously) learn it and looking at it, it seems to break any rules as an object oriented or strict keyword based language.... and maybe I am making that stmt in error because I just don't know the language...

tj4shee
2007-02-22, 02:52 PM
Figured it out using other scripts as examples... I was making the task much harder than it actually was.....

tell application "System Events"
keystroke "@" using command down
end tell