# Can we run processing code by clicking on a icon like a desktop applications

**URL:** <https://discourse.processing.org/t/can-we-run-processing-code-by-clicking-on-a-icon-like-a-desktop-applications/16515>\
**Category:** Processing\
**Created:** [December 19, 2019, 4:03pm UTC](https://discourse.processing.org/t/can-we-run-processing-code-by-clicking-on-a-icon-like-a-desktop-applications/16515 "2019-12-19T16:03:51Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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:** [December 19, 2019, 4:48pm UTC](https://discourse.processing.org/t/can-we-run-processing-code-by-clicking-on-a-icon-like-a-desktop-applications/16515/2 "2019-12-19T16:48:54Z")

</div>

you could make a command file using

- walk ( cd ) to the sketch path
- start processing and sketch using

```auto
cd /.../
/.../processing-java --sketch=my_sketch.pde --run

```

> **[processing/processing](https://github.com/processing/processing/wiki/Command-Line)**
>
> Source code for the Processing Core and Development Environment (PDE) - processing/processing

must use full path…

* * *

but other way windows is  
explorer, go to the sketch  
right click context menu:  
send to desktop ( create shortcut )

find new icon  
double click  
(PDE should start automatically and open that sketch ( but NOT RUN it ) )

---

_[View the full topic](https://discourse.processing.org/t/can-we-run-processing-code-by-clicking-on-a-icon-like-a-desktop-applications/16515)._
