# \[eggPlant Functional\] Useful SenseTalk Functions

**URL:** <https://forums.eggplantsoftware.com/t/eggplant-functional-useful-sensetalk-functions/1501>\
**Category:** Eggplant Examples\
**Created:** [January 30, 2007, 5:57pm UTC](https://forums.eggplantsoftware.com/t/eggplant-functional-useful-sensetalk-functions/1501 "2007-01-30T17:57:57Z")\
**Posts on this page:** 1\
**Showing post:** 48

<div class="post-metadata">

**Author:** ![Todd](https://forums.eggplantsoftware.com/letter_avatar_proxy/v4/letter/t/fbc32d/32.png) [@Todd](https://forums.eggplantsoftware.com/u/Todd)\
**Post date:** [June 20, 2008, 4:00pm UTC](https://forums.eggplantsoftware.com/t/eggplant-functional-useful-sensetalk-functions/1501/48 "2008-06-20T16:00:41Z")

</div>

Here’s a couple of quick and dirty helpers, if you follow the EggDoc standards for comment (see EggDoc for details)…

```auto
getProp summary
 return words 1 to -1 of second item delimited by "(**" \
   of second item delimited by "**)" of my script
end getProp

```

This second property is more detailed as should your EggDoc comments. It gives the parameters and their details as well.

```auto
getProp usage
 return words 1 to -1 of second item delimited by "(**" \
   of first item delimited by "**)" of my script
end getProp

```

You can then sweep thru each object/script and the objects with a property of usage or summary that are not equal can be used to build a usage and summary table for your internal and external publication.

Here is an example of how to use the summary command for a Script called TempFileName, which returns a temp file in the file system with some powerful naming features included.

```auto
put TempFileName's summary

```

Enjoy!

---

_[View the full topic](https://forums.eggplantsoftware.com/t/eggplant-functional-useful-sensetalk-functions/1501)._
