Hello,

I faced a strange issue twice now: I built a Automator service to wipe out my 
Trash immediately and irreversibly using shell command.
Here it is:

Launch AppleScript [tell application "Finder" to set the_list to get name of 
every item of alias "Macintosh HD:Users:(*my home folder*):.Trash:"
set AppleScript's text item delimiters to return 
set the_list to the_list as text

the_list & return & return & date string of (current date) & ", " & time string 
of (current date)]  #Get names of the items to remove forever and group them 
into a list followed by the current date.                    
             ↓                                                      
Set value of a variable #this data's stored in a variable. 

Launch Shell Script [rm -R /.Trash/*]
             ↓
Delay 2 sec                          #to give the shell script command a time 
to get its work finished.

Get value of a variable        #the previously created list of the items to 
remove along with the date are retrieved and passed to a Growl notification to 
appear within bounds of its banner.
              ↓
Display Growl Notification (Style - Starwl, with actions - "Sosumi sound").

It used to work flawlessly but then two times it failed to display that banner 
in spite of the fact that I could tell it was some how initiated by produced 
Sosumi sound, empty Trash and log entry in Growl.app log.

I don't know if that correlates, just my wild guess based on my own once read 
sources, but could it be memory leak or smth with memory pressure? I'm led into 
this kind of thinking because both times it misbehaved when a huge amount of 
swap occurred when another task intensive process was launched and active (swap 
amounted to gigabytes). But I equally may be wrong. 
Console's log regarding Growl before and after relaunch.

Before (that is with no banner displayed):


After (ability to display a banner restored)


Sincerely Yours,
Ilya Shebalin
E-mail: [email protected],
           [email protected] 
Skype: llja.arbenin



-- 
You received this message because you are subscribed to the Google Groups 
"Growl Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/growldiscuss.
For more options, visit https://groups.google.com/d/optout.

Reply via email to