If this is your first visit, be sure to check out the FAQ by clicking the link above.
You may have to register before you can post: click the register link above to proceed.
To start viewing messages, select the forum that you want to visit from the selection below.
I hope I'm posting this in the right forum, but I've just started using Desktop Sweeper to hide my icons. The only problem is that it doesn't work when the machine boots--I have to press Command-Enter (the standard hotkey) to initially hide the icons.
Can a basic Applescript run as a startup item solve this for me by simulating a Cmd-Enter keystroke? If so, would anyone be willing to post it, as I have no idea about where to start with that stuff .
Maybe I wasn't clear--I know how to add items to startup, but I have no idea how to write up the Applescript. That's why I said help w/Applescript in the title.
Before you try to emulate keystrokes with AppleScript you should first look whether the app you are trying to script is scriptable. In AppleScript Editor open the dictionary of the app and search for the command you want to use. Let's assume the program has a command that is called "hidemyicons" you would write an AppleScript like this:
tell application "Desktop Sweeper" to hidemyicons
Save that as application and add to your startup items.
Thanks for the tip, but Desktop Sweeper doesn't show up in the dictionary, maybe because it's an APE module, not an actual application. Any pointers on emulating keystrokes?