Saturday, February 04, 2006

If arg is empty print the current working directory instead

Our Nautilus script named "Xyz":



Demo


If we select a file:



It returns the name of the file:



And if we don't select a file:



It returns the name of its current working directory:

0 Comments:

Post a Comment

<< Home