Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2015-10

Play a sound/beep when compiling finished

7 messages · 4 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Ondrej Pokorny

Is it possible to play a sound or beep when compiling was finished? Sometimes compiling takes some time and I am struggling to get to know that it finished.

Ondrej

Reply by email

Mark Morgan Lloyd
to Ondrej Pokorny
Ondrej Pokorny wrote
Is it possible to play a sound or beep when compiling was finished? Sometimes compiling takes some time and I am struggling to get to know that it finished.

Put something in the "execute after" command (or whatever it's called).

I normally display a time there so that I can see I did actually run a build, if I've looked at something else meanwhile.

Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues]

Reply by email

FreeMan
to Mark Morgan Lloyd

Thank you for suggesstion, Maybe get out of follow hundred green line in messagebox I'm using osx and after execute line I wrote "say compiling finished" now my macbook talk to me :)

Mark Morgan Lloyd wrote 10 lines
Ondrej Pokorny wrote: > Is it possible to play a sound or beep when compiling was finished? > Sometimes compiling takes some time and I am struggling to get to > know that it finished. Put something in the "execute after" command (or whatever it's called). I normally display a time there so that I can see I did actually run a build, if I've looked at something else meanwhile.

Reply by email

Ondrej Pokorny
to Mark Morgan Lloyd: Put something in the "execute after" command (or whatever it's called). I normally…
Mark Morgan Lloyd wrote 9 lines
Ondrej Pokorny wrote: > Is it possible to play a sound or beep when compiling was finished? > Sometimes compiling takes some time and I am struggling to get to > know that it finished. Put something in the "execute after" command (or whatever it's called). I normally display a time there so that I can see I did actually run a build, if I've looked at something else meanwhile.

But this has to be defined for every project separately, true?

Ondrej

Reply by email

Mattias Gaertner
to Ondrej Pokorny
Show quoted text 12 lines
On 12.10.2015 00:31, Mark Morgan Lloyd wrote: > Ondrej Pokorny wrote: >> Is it possible to play a sound or beep when compiling was finished? >> Sometimes compiling takes some time and I am struggling to get to >> know that it finished. > > Put something in the "execute after" command (or whatever it's called). > > I normally display a time there so that I can see I did actually run a > build, if I've looked at something else meanwhile. But this has to be defined for every project separately, true?

Yes.
There is no IDEIntf event yet for all tasks stopped, nor for building project stopped.
Feel free to add one.

Mattias

Reply by email

Mark Morgan Lloyd
to Ondrej Pokorny: But this has to be defined for every project separately, true? Ondrej
Ondrej Pokorny wrote 12 lines
On 12.10.2015 00:31, Mark Morgan Lloyd wrote: > Ondrej Pokorny wrote: >> Is it possible to play a sound or beep when compiling was finished? >> Sometimes compiling takes some time and I am struggling to get to >> know that it finished. > > Put something in the "execute after" command (or whatever it's called). > > I normally display a time there so that I can see I did actually run a > build, if I've looked at something else meanwhile. But this has to be defined for every project separately, true?

A command to always be run after a build has completed (and possibly another to be run before a build has started) would seem to be a viable thing for the IDE.

Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues]

Reply by email