This is probably the smallest script that i actually use every day. My laptop commutes from the train to my desk, and I often work in Entourage both on and off line. This script toggles between the two. For added value, save it in ~/Documents/Microsoft User Data/Entourage Script Menu Items/ with a “^O” on the end so that a command “o” in Entourage will run the script.
OS version: OS X
tell application "Microsoft Entourage"
set onOff to working offline
if onOff is false then
set working offline to true
else if onOff is true then
set working offline to false
end if
end tell