|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Trigger task(s)
Hi!
Is it possible to create a trigger that when a file is saved,activates and runs some tasks? Thanks! |
|
#2
|
||||
|
||||
|
What editor are you using? The way I can think of off the top of my head is to grab the API of the editor youre using (if its available) and find out how to make this happen. Another suggestion is to use macros. I know VI has the ability to run command line ... if you were to write and save a macro, you might be able to save the file, drop out into VI's interactive shell mode, and do the stuff that way.
Another (weird) suggestion might be .. keep all the files you save in one directory. Write a script that loops over the directories contents, if any of the file sizes changes, then you have a file save. Do your stuff. Hope that helps.
__________________
Bugs that go away by themselves come back by themselves Never take life seriously, Nobody gets out alive anyway. |
|
#3
|
|||
|
|||
|
I want to run an asp page as a task...can this be done?
|
|
#4
|
||||
|
||||
|
Yes.
|
|
#5
|
|||
|
|||
|
k.Thanks for your answer
|
![]() |
| Viewing: Dev Shed Forums > Web Site Management > Scripts > Trigger task(s) |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|