# Exclude type file from selectInput()?

**URL:** <https://discourse.processing.org/t/exclude-type-file-from-selectinput/9719>\
**Category:** Coding Questions\
**Created:** [March 28, 2019, 12:01pm UTC](https://discourse.processing.org/t/exclude-type-file-from-selectinput/9719 "2019-03-28T12:01:10Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![kll](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/kll/32/964_2.png) [@kll](https://discourse.processing.org/u/kll)\
**Post date:** [March 28, 2019, 2:31pm UTC](https://discourse.processing.org/t/exclude-type-file-from-selectinput/9719/4 "2019-03-28T14:31:39Z")

</div>

there is a good example:

> [@File Listing Order](https://discourse.processing.org/t/file-listing-order/7148/23):
>
> When I need to code a very simple sketch, w/o any animations or even functions, I use what is so called “static sketch”. The standard 1 is called “interactive sketch”, in which we can have the callbacks setup() & draw(). More info on them here: [Processing.org/tutorials/overview/](http://Processing.org/tutorials/overview/) Here’s the my “static sketch” converted to “dynamic sketch”: grinning static final String PICS\_EXTS = "extensions=,png,jpg,jpeg,gif,tif,tiff,tga,bmp,wbmp"; void setup() { final File dir = dataFile(""); printl…

---

_[View the full topic](https://discourse.processing.org/t/exclude-type-file-from-selectinput/9719)._
