# How to open a file with perticular exe and copy info to text

**URL:** <https://www.ruby-forum.com/t/how-to-open-a-file-with-perticular-exe-and-copy-info-to-text/167960>\
**Category:** Ruby\
**Created:** [May 14, 2009, 1:56pm UTC](https://www.ruby-forum.com/t/how-to-open-a-file-with-perticular-exe-and-copy-info-to-text/167960 "2009-05-14T13:56:58Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sangeeta](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/7ba0ec/32.png) [@sangeeta](https://www.ruby-forum.com/u/sangeeta)\
**Post date:** [May 14, 2009, 1:56pm UTC](https://www.ruby-forum.com/t/how-to-open-a-file-with-perticular-exe-and-copy-info-to-text/167960/1 "2009-05-14T13:56:58Z")

</div>

hi all,  
i m trying to open a audio file with the cooledit ( audio pcm file  
player/analyser) and i wanted following steps to do it ruby

1. open the file with the cooledit.exe
2. click the statistic button
3. copy the statistic ( which default copies to clipboard)
4. then paste to a text on system

can anyone help me with this pls

–  
sangeeta

---

<div class="post-metadata">

**Author:** ![sangeeta](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/7ba0ec/32.png) [@sangeeta](https://www.ruby-forum.com/u/sangeeta)\
**Post date:** [May 14, 2009, 2:42pm UTC](https://www.ruby-forum.com/t/how-to-open-a-file-with-perticular-exe-and-copy-info-to-text/167960/2 "2009-05-14T14:42:23Z")

</div>

doesn’t cooledit.exe have commandline parameters?

Sangeeta Huddar wrote:

> hi all,  
> i m trying to open a audio file with the cooledit ( audio pcm file  
> player/analyser) and i wanted following steps to do it ruby
> 
> 1. open the file with the cooledit.exe
> 2. click the statistic button
> 3. copy the statistic ( which default copies to clipboard)
> 4. then paste to a text on system
> 
> can anyone help me with this pls
> 
> –  
> sangeeta

---

<div class="post-metadata">

**Author:** ![sangeeta](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/7ba0ec/32.png) [@sangeeta](https://www.ruby-forum.com/u/sangeeta)\
**Post date:** [May 14, 2009, 3:37pm UTC](https://www.ruby-forum.com/t/how-to-open-a-file-with-perticular-exe-and-copy-info-to-text/167960/3 "2009-05-14T15:37:55Z")

</div>

> > > i m not sure it have … i have checked in the help i couldnt find any

Clemens W. wrote:

> doesn’t cooledit.exe have commandline parameters?
> 
> Sangeeta Huddar wrote:
> 
> > hi all,  
> > i m trying to open a audio file with the cooledit ( audio pcm file  
> > player/analyser) and i wanted following steps to do it ruby
> > 
> > 1. open the file with the cooledit.exe
> > 2. click the statistic button
> > 3. copy the statistic ( which default copies to clipboard)
> > 4. then paste to a text on system
> > 
> > can anyone help me with this pls
> > 
> > –  
> > sangeeta
