Is there anyway in Illustrator CS4 to lock the guides without using System Events. The issue with System events is that sometimes the guides are already locked to using the following will unlock them I did not see anything revealing in the dictionary in regards to guides and their properties.
tell application "System Events"
tell application process "Adobe Illustrator CS4"
try
set frontmost to true
tell menu bar 1
tell menu bar item "View"
tell menu 1
tell menu item "Guides"
tell menu 1
click menu item "Lock Guides"
end tell
end tell
end tell
end tell
end tell
end try
end tell
end tell