Register
It is currently Sun Sep 21, 2014 2:06 am

Pop-up warning window


All times are UTC - 6 hours


Post new topic Reply to topic  [ 6 posts ] 
Author Message
 PostPosted: Wed Jul 09, 2008 12:54 pm   

Joined: Wed Jul 09, 2008 12:51 pm
Posts: 3
I was wondering if it is possible to make a script that when a certain program is opened, and warning comes up in a separate box that has a warning message inside? For example, if someone opens a word document of mine, I would like a warning to say "Any changes to this will not be saved." or something like that.

Thanks


Top
 Profile  
 PostPosted: Thu Jul 10, 2008 12:59 pm   
Site Admin
User avatar

Joined: Sun May 15, 2005 9:36 pm
Posts: 667
Location: Des Moines, Iowa
I think using dialog or kdialog you could do that with little problem.


Top
 Profile WWW  
 PostPosted: Thu Jul 10, 2008 1:53 pm   

Joined: Wed Jul 09, 2008 12:51 pm
Posts: 3
I am not good with writing scripts at all, and was wondering if someone could show me how to make one that would do this.

Thanks


Top
 Profile  
 PostPosted: Mon Jul 14, 2008 11:03 am   

Joined: Tue Apr 01, 2008 10:19 am
Posts: 49
Do you want something that will hang around and say "When prog foo, then prog bar", or do you want something that will launch foo, and notify with bar?


Top
 Profile  
 PostPosted: Tue Jul 15, 2008 11:06 am   

Joined: Wed Jul 09, 2008 12:51 pm
Posts: 3
I am looking for something that will stay up until an "ok" or some button is clicked, or even a timer. Which ever is easier to do.


Top
 Profile  
 PostPosted: Wed Jul 16, 2008 10:39 am   

Joined: Tue Apr 01, 2008 10:19 am
Posts: 49
If you don't mind requiring on libnotify, notify-send is very simple to use and would do what you needed.


Top
 Profile  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron


BashScripts | Promote Your Page Too
Powered by phpBB © 2011 phpBB Group
© 2003 - 2011 USA LINUX USERS GROUP