Though a veteran Mac user, I’ve never tried to write apple scripts that didn’t involve simply recording my actions. Here’s something VERY simple that I’d like to do but can’t figure out how to make it work…
I have a couple of items in my startup folder (one is my DSL connection app, the other a universal URL app that gives me menubar access) that I want to hide more or less immediately after they launch. But since I can’t record menu selections, I’ve been trying to script it like a pro-- to no avail. I’m thinking it would be something like:
tell application "MacPoET"
hide
end tell
Then I’d duplicate that for the other one. But what I get instead of execution is an error message saying the variable hide is not defined.
Assuming this action is actually scriptable (any help greatly appreciated!) and I just want to drop an alias of the script in my startup items folder, do I also need to build a delay into the script to allow MacPoET to fully launch? Would I be better off mapping the script to an Fkey? Advice, answers?
If this is too silly and basic a problem to warrant bbs posting, please feel free to contact me directly.
Thanks much!