Welcome to MacForumz.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Bring to foreground

 
   Macintosh computer (Home) -> Apple Scripts RSS
Next:  Creating paths  
Author Message
Tobias Weber

External


Since: Jul 29, 2003
Posts: 151



(Msg. 1) Posted: Mon Aug 13, 2007 11:56 am
Post subject: Bring to foreground
Imported from groups: alt>comp>lang>applescript (more info?)

This message is not archived

 >> Stay informed about: Bring to foreground 
Back to top
Login to vote
Gregory Weston1

External


Since: Oct 03, 2004
Posts: 2982



(Msg. 2) Posted: Mon Aug 13, 2007 11:56 am
Post subject: Re: Bring to foreground [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

In article <towb-27FC9C.11560613082007 DeleteThis @individual.de>,
Tobias Weber <towb DeleteThis @gmx.net> wrote:

> Hi,
> a stay open applet shall periodically draw attention to itself. The code
> below runs but never comes to foreground on its own :(
>
> on idle
> if myMinutes > warnInterval then
> activate me
> end if
> return warnInterval * 60
> end idle

What is myMinutes? By which I mostly mean, where is its value set and
what leads you do believe that it's going to be larger than
warnInterval?

 >> Stay informed about: Bring to foreground 
Back to top
Login to vote
Tobias Weber

External


Since: Jul 29, 2003
Posts: 151



(Msg. 3) Posted: Mon Aug 13, 2007 1:38 pm
Post subject: Re: Bring to foreground [Login to view extended thread Info.]
Imported from groups: per prev. post (more info?)

Back to top
Login to vote
Jolly Roger

External


Since: Jul 26, 2007
Posts: 740



(Msg. 4) Posted: Mon Aug 13, 2007 1:38 pm
Post subject: Re: Bring to foreground [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On 2007-08-13 09:29:47 -0500, Tobias Weber <towb RemoveThis @gmx.net> said:

> In article <uce-76D12D.07131413082007 RemoveThis @comcast.dca.giganews.com>,
> Gregory Weston <uce RemoveThis @splook.com> wrote:
>
>> What is myMinutes? By which I mostly mean, where is its value set and
>> what leads you do believe that it's going to be larger than
>> warnInterval?
>
> That part of the code is shortened for this post, but not the problem.
> After replacing activate with beep I get beeps at the right moment.

You'll have to provide us with a complete working sample script so that
we can see the behavior on our own systems. The missing myMinutes
definition prevents us from doing that.

--
Apply rot13 to this e-mail address before using it.

JR
 >> Stay informed about: Bring to foreground 
Back to top
Login to vote
Gregory Weston1

External


Since: Oct 03, 2004
Posts: 2982



(Msg. 5) Posted: Mon Aug 13, 2007 3:23 pm
Post subject: Re: Bring to foreground [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

In article <towb-FCC9B9.16294713082007.DeleteThis@individual.de>,
Tobias Weber <towb.DeleteThis@gmx.net> wrote:

> In article <uce-76D12D.07131413082007.DeleteThis@comcast.dca.giganews.com>,
> Gregory Weston <uce.DeleteThis@splook.com> wrote:
>
> > What is myMinutes? By which I mostly mean, where is its value set and
> > what leads you do believe that it's going to be larger than
> > warnInterval?
>
> That part of the code is shortened for this post, but not the problem.
> After replacing activate with beep I get beeps at the right moment.

Something's the problem outside what you posted, because in general
'activate me' works fine. I picked the most likely source of problems
based on the sum of information you provided.
 >> Stay informed about: Bring to foreground 
Back to top
Login to vote
Display posts from previous:   
   Macintosh computer (Home) -> Apple Scripts All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]