FYI, for anyone wanting to download what's required for you to write your
apps in python, it can be found at:
 
http://www.activestate.com/activepython/downloads
 
Chip
 

  _____  

From: Chip Orange [mailto:[email protected]] 
Sent: Monday, September 05, 2011 8:07 PM
To: [email protected]
Subject: RE: python


thanks Jeff; I thought they had recently done something to the WE languages
to make programming with other active languages easier to do, but I couldn't
remember whether that was including their engines, or what it was.
 
Chip
 

  _____  

From: Jeff Bishop [mailto:[email protected]] 
Sent: Monday, September 05, 2011 7:42 PM
To: [email protected]
Subject: RE: python



It must be downloaded.

 

From: Chip Orange [mailto:[email protected]] 
Sent: Monday, September 05, 2011 4:33 PM
To: [email protected]
Subject: python

 

Thanks Steve.

 

Does Window-Eyes now include active Python, or do developers need to
download and install it in order to use it as a window-eyes scripting
language?

 

thanks.

 

Chip

 

 

 

  _____  

From: Stephen Clower [mailto:[email protected]] 
Sent: Monday, September 05, 2011 6:36 PM
To: [email protected]
Subject: Re: new Music Menu app

Chip is correct. If you're ok with python's mandatory indentation syntax and
slight runtime overhead, it's a great language to quickly bang out code. In
most cases, the performance hit between it and something more speedy like
C++ is negligible. ActiveState has some excellent examples of interacting
with COM from both a client and server perspective using modules from the
Win32Extensions package. I suggest starting there if you are new to COM--
though of course after you are comfortable with python.

Regards,
Steve




On 9/5/2011 6:05 PM, Chip Orange wrote: 

Yes, I believe the audio kit is also done in Python, so you pythoners are
really on to something with it.  I'm afraid I know nothing about it, so
would enjoy seeing more.

 

Chip

 

  _____  

From: bb [mailto:[email protected]] 
Sent: Monday, September 05, 2011 5:53 PM
To: [email protected]
Subject: Re: new Music Menu app

 

Hi Chip,

 

    I had mentioned once about the Cuckoo Clock program and selling
something.

    The comment came after mentioning that, but if and when I was adding
something to the Cuckoo Clock program that I might have a demo time period
on and then have it shut down if not paid for. Had nothing to do with the
actual Cuckoo Clock program.

 

    But, I have not had the time, nor a computer, to do it. In the end may
not even sell it.

 

    It was a thought after spending a lot of time adding other features and
such which work nice, but just have not done it. I have given some bug fixes
out which were minor but have not even uploaded my latest version because
was still experimenting on things like the Tree Menu. That works nice and
may even do it all through the program which will take a little time.

 

    The other additions which will make that program run easier in other
languages have pushed it off.

 

    The music program I wrote in Python can be used once I make the Com
connections for it. I only posted a simple version that runs in Python and
does not require Python to be loaded. I only placed in the methods used such
as the queue, but that queue method restricts other options such as
replaying at will or repeat times at will. 

    But, creating a list can fix that problem and only use the queue if one
wants an continuous play untouched and seamless...

 

    I think there might even be others on this list who have used Python and
created com stuff, but researching while waiting and see where it leads me
in terms of make Python objects for the WE app list.

 

        Bruce

 

Sent: Monday, September 05, 2011 4:48 PM

Subject: RE: new Music Menu app

 

congrats to both of you on your new apps.

 

I'm not sure I remember the comment you're mentioning Bruce, but I think a
better way of thinking about things (because no one is actually selling any
of the apps you may have meant by "our work") is that we're doing this in
order to share with others, because at some time in our own personal pasts,
others have shared things with us.

 

Don't let me stop you from selling your apps if you feel that's what you
want to do, I just wanted to bring up the issue of how much help and time
we've all received from others at one time.  No one is unfairly benefiting
if we choose to try and "pay it forward" with some effort of our own.

 

Chip

 

 

  _____  

From: bb [mailto:[email protected]] 
Sent: Monday, September 05, 2011 12:51 PM
To: [email protected]
Subject: Re: new Music Menu app

 

Hi Jeff,

 

    I sent you and other my python app that almost does the same thing but
only did the simple queue without drawing from a list.

 

    Besides that app, if it runs I am going to compile it as a com object to
be allowed to run inside the WE apps and be used on the global object list
as this one is run.

 

    Maybe it will only play MP3, OGG and WAV, but it is all about learning.
My attempt is to bind the Python library into WE usage and if it works, then
a lot more powerful stuff can also be run.

 

    At this point I will mention a comment made weeks ago, about selling the
apps. An interesting comment, which was asked when Mike was on the Chip
Orange tutorial Sunday night. I did not ask the question, but it has become
an interesting discussion by some, saying, "We do the work and another
person sells it..."

 

    When I get my 7.5 computer back, and probably purchase a second, I will
keep on developing in hopes of comments as I have mentioned don't poison the
atmosphere...

 

        Sincerely

        Bruce

 

Sent: Monday, September 05, 2011 12:24 AM

Subject: new Music Menu app

 

I have just posted a new app called

MusicMenu

This app will play files from a list and it uses the new GWAudioKit to play
several file types.

If the GWAudioKit is not installed, the app will still work, but it will
only play .wav files, and some functions will not be available.

The help text follows:

 

Press Alt-Shift-M to play music files. 
Select a file from the list and press play to hear the file. 
Press next to hear the next selection. 
Pres previous to hear the previous selection. 
Press pause_resume to stop and resume a selection.
Press repeat_song to keep playing the same song repeatedly.
Press stop to stop a file or just select another file and press play. 
Press close to close the app.  If A song is playing when you close the app,
it will continue to play.
Press help to go to the standard help dialog. 
Press up arrow and down arrow on the volume control. 
The volume can be adjusted from 1 to 10--the default is 5.
The new volume will take effect any time a song starts playing--using play,
next, previous, or pause_resume.

 

The short-cuts for the options are listed below: 
Play--enter 
Next--n 
Previous--p 
Pause_Resume--a
Repeat_Song--r
Stop--s 
Close--escape 
Help--h 
Volume--v
All of the music files that you want included in the list 
must be in a subfolder of the folder where the MusicMenu app resides. 
The subfolder which is created is called "MusicMenu" 
This app requires the GWAudioKit to be fully functional.
If the GWAudioKit is not installed, the app will still work; 
however, only .wav files will be played.
Also, pause_resume, repeat_song, and volume will not be available!

 

note: when using previous or next, the keys must be pressed twice in a row
to get things started--then continuing in the same direction will work as
expected.

 

Jeff Weiss

 





-- 
--
Stephen Clower
Product support specialist
GW Micro, Inc. * 725 Airport North Office Park, Fort Wayne, IN 46825
260-489-3671 * gwmicro.com

Reply via email to