Re: AppleScript help please - what's wrong with this?



On 2007-04-29 07:04:36 +0100, Andrew Brydon <andrew@xxxxxxxxxxxxxxxxxxx> said:

Once upon a time, Ian McCall <ian@xxxxxxxxxx> wrote

Two questions then:
1. Any ideas why the two apps aren't hiding when run at login?

Have you tried, within the iPhoto tell, after their respective activate:

tell application "System Events" to keystroke "h" using command down

Just tried - exame problem, iPhoto stays visible. Yet if I run the app after login has taken place and everything has settled down, iPhoto will hide.

Is there a 'tell application "System Events" to keystroke "h" using command down' and -really- bloody mean it' syntax anywhere?



Cheers,
Ian

.



Relevant Pages

  • Re: Login session hasnt been abandoned after TIMEOUT time
    ... The login command is used at the beginning of each terminal ... session to identify oneself to the system. ... trying to kick off idle users. ...
    (comp.unix.solaris)
  • Re: Failsafe mode
    ... > and paste or failing that copy the message down character for ... >> If I exit out and log back in as my alternate user ... user command line prompt in the upper left corner and a black blank screen. ... If I ctl alt F1 I get the system login prompt. ...
    (alt.os.linux.suse)
  • Re: Quick Print in Word 2007
    ... Terry Farrell - MSWord MVP ... each with one of the shortcuts. ... At a quick glance, though, I don't see some keystroke ... only a maximum of one per command so not Ctrl+W). ...
    (microsoft.public.word.newusers)
  • Re: security
    ... a login and config apache to read the dir in his home dir. ... command or sequence of commands. ... To unsubscribe or change subscription options: ...
    (Fedora)
  • Re: insert Hidden Text causes problems
    ... If you apply it without having the non-printing characters ... In Safari that keystroke is assigned to the Home command, ... If I do this, then the cursor stays ...
    (microsoft.public.mac.office.word)