The GW-Scripting list is a discussion list for information regarding the development and use of Window-Eyes scripts. Any subscriber of the GW-Scripting list has the ability to post on-topic messages.
From:
"Chip Orange" <lists3717@comcast.net>Subject:
RE: pythonDate:
Mon, Sep 5, 2011 8:10:53 pmThis is a multi-part message in MIME format.
------=_NextPart_000_0097_01CC6C07.EAC08C40
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: 7bit
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:lists3717@comcast.net]
Sent: Monday, September 05, 2011 8:07 PM
To: gw-scripting@gwmicro.com
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:jeff@jeffbishop.com]
Sent: Monday, September 05, 2011 7:42 PM
To: gw-scripting@gwmicro.com
Subject: RE: python
It must be downloaded.
From: Chip Orange [mailto:lists3717@comcast.net]
Sent: Monday, September 05, 2011 4:33 PM
To: gw-scripting@gwmicro.com
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:steve@gwmicro.com]
Sent: Monday, September 05, 2011 6:36 PM
To: gw-scripting@gwmicro.com
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:b2me@fltg.net]
Sent: Monday, September 05, 2011 5:53 PM
To: gw-scripting@gwmicro.com
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:b2me@fltg.net]
Sent: Monday, September 05, 2011 12:51 PM
To: gw-scripting@gwmicro.com
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
------=_NextPart_000_0097_01CC6C07.EAC08C40
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns="http://www.w3.org/TR/REC-html40" xmlns:v =
"urn:schemas-microsoft-com:vml" xmlns:o =
"urn:schemas-microsoft-com:office:office" xmlns:w =
"urn:schemas-microsoft-com:office:word" xmlns:m =
"http://schemas.microsoft.com/office/2004/12/omml"><HEAD>
<META content="text/html; charset=us-ascii" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.19120"><!--[if !mso]>
<STYLE>v:* {
BEHAVIOR: url(#default#VML)
}
o:* {
BEHAVIOR: url(#default#VML)
}
w:* {
BEHAVIOR: url(#default#VML)
}
..shape {
BEHAVIOR: url(#default#VML)
}
</STYLE>
<![endif]-->
<STYLE>@font-face {
font-family: Calibri;
}
@font-face {
font-family: Tahoma;
}
@font-face {
font-family: Consolas;
}
@page WordSection1 {size: 8.5in 11.0in; margin: 1.0in 1.0in 1.0in 1.0in; }
P.MsoNormal {
MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman","serif"; COLOR: black; FONT-SIZE: 12pt
}
LI.MsoNormal {
MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman","serif"; COLOR: black; FONT-SIZE: 12pt
}
DIV.MsoNormal {
MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman","serif"; COLOR: black; FONT-SIZE: 12pt
}
A:link {
COLOR: blue; TEXT-DECORATION: underline; mso-style-priority: 99
}
SPAN.MsoHyperlink {
COLOR: blue; TEXT-DECORATION: underline; mso-style-priority: 99
}
A:visited {
COLOR: purple; TEXT-DECORATION: underline; mso-style-priority: 99
}
SPAN.MsoHyperlinkFollowed {
COLOR: purple; TEXT-DECORATION: underline; mso-style-priority: 99
}
PRE {
MARGIN: 0in 0in 0pt; FONT-FAMILY: "Courier New"; COLOR: black; FONT-SIZE: 10pt; mso-style-priority: 99; mso-style-link: "HTML Preformatted Char"
}
TT {
FONT-FAMILY: "Courier New"; mso-style-priority: 99
}
P.MsoAcetate {
MARGIN: 0in 0in 0pt; FONT-FAMILY: "Tahoma","sans-serif"; COLOR: black; FONT-SIZE: 8pt; mso-style-priority: 99; mso-style-link: "Balloon Text Char"
}
LI.MsoAcetate {
MARGIN: 0in 0in 0pt; FONT-FAMILY: "Tahoma","sans-serif"; COLOR: black; FONT-SIZE: 8pt; mso-style-priority: 99; mso-style-link: "Balloon Text Char"
}
DIV.MsoAcetate {
MARGIN: 0in 0in 0pt; FONT-FAMILY: "Tahoma","sans-serif"; COLOR: black; FONT-SIZE: 8pt; mso-style-priority: 99; mso-style-link: "Balloon Text Char"
}
SPAN.HTMLPreformattedChar {
FONT-FAMILY: Consolas; COLOR: black; mso-style-priority: 99; mso-style-link: "HTML Preformatted"; mso-style-name: "HTML Preformatted Char"
}
SPAN.BalloonTextChar {
FONT-FAMILY: "Tahoma","sans-serif"; COLOR: black; mso-style-priority: 99; mso-style-link: "Balloon Text"; mso-style-name: "Balloon Text Char"
}
SPAN.EmailStyle22 {
FONT-FAMILY: "Calibri","sans-serif"; COLOR: #1f497d; mso-style-type: personal-reply
}
..MsoChpDefault {
FONT-SIZE: 10pt; mso-style-type: export-only
}
DIV.WordSection1 {
page: WordSection1
}
</STYLE>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></HEAD>
<BODY lang=EN-US link=blue bgColor=white vLink=purple>
<DIV dir=ltr align=left><SPAN class=674111000-06092011><FONT color=#0000ff
size=2 face=Arial>FYI, for anyone wanting to download what's required for you to
write your apps in python, it can be found at:</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=674111000-06092011><FONT color=#0000ff
size=2 face=Arial></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=674111000-06092011><FONT color=#0000ff
size=2 face=Arial><A
href="http://www.activestate.com/activepython/downloads">http://www.activestate.com/activepython/downloads</A></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=674111000-06092011><FONT color=#0000ff
size=2 face=Arial></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=674111000-06092011><FONT color=#0000ff
size=2 face=Arial>Chip</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=674111000-06092011><FONT color=#0000ff
size=2 face=Arial></FONT></SPAN> </DIV><BR>
<DIV dir=ltr lang=en-us class=OutlookMessageHeader align=left>
<HR tabIndex=-1>
<FONT size=2 face=Tahoma><B>From:</B> Chip Orange [mailto:lists3717@comcast.net]
<BR><B>Sent:</B> Monday, September 05, 2011 8:07 PM<BR><B>To:</B>
gw-scripting@gwmicro.com<BR><B>Subject:</B> RE: python<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV dir=ltr align=left><SPAN class=624420500-06092011><FONT color=#0000ff
size=2 face=Arial>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.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=624420500-06092011><FONT color=#0000ff
size=2 face=Arial></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=624420500-06092011><FONT color=#0000ff
size=2 face=Arial>Chip</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=624420500-06092011><FONT color=#0000ff
size=2 face=Arial></FONT></SPAN> </DIV><BR>
<DIV dir=ltr lang=en-us class=OutlookMessageHeader align=left>
<HR tabIndex=-1>
<FONT size=2 face=Tahoma><B>From:</B> Jeff Bishop [mailto:jeff@jeffbishop.com]
<BR><B>Sent:</B> Monday, September 05, 2011 7:42 PM<BR><B>To:</B>
gw-scripting@gwmicro.com<BR><B>Subject:</B> RE: python<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV class=WordSection1>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt">It
must be downloaded.<o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt"><o:p> </o:p></SPAN></P>
<DIV>
<DIV
style="BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<P class=MsoNormal><B><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: windowtext; FONT-SIZE: 10pt">From:</SPAN></B><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: windowtext; FONT-SIZE: 10pt">
Chip Orange [mailto:lists3717@comcast.net] <BR><B>Sent:</B> Monday, September
05, 2011 4:33 PM<BR><B>To:</B> gw-scripting@gwmicro.com<BR><B>Subject:</B>
python<o:p></o:p></SPAN></P></DIV></DIV>
<P class=MsoNormal><o:p> </o:p></P>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Arial','sans-serif'; COLOR: blue; FONT-SIZE: 10pt">Thanks
Steve.</SPAN><o:p></o:p></P>
<P class=MsoNormal> <o:p></o:p></P>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Arial','sans-serif'; COLOR: blue; FONT-SIZE: 10pt">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?</SPAN><o:p></o:p></P>
<P class=MsoNormal> <o:p></o:p></P>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Arial','sans-serif'; COLOR: blue; FONT-SIZE: 10pt">thanks.</SPAN><o:p></o:p></P>
<P class=MsoNormal> <o:p></o:p></P>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Arial','sans-serif'; COLOR: blue; FONT-SIZE: 10pt">Chip</SPAN><o:p></o:p></P>
<P class=MsoNormal> <o:p></o:p></P>
<P class=MsoNormal> <o:p></o:p></P>
<P class=MsoNormal><o:p> </o:p></P>
<DIV style="TEXT-ALIGN: center" class=MsoNormal align=center>
<HR align=center SIZE=2 width="100%">
</DIV>
<P style="MARGIN-BOTTOM: 12pt" class=MsoNormal><B><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt">From:</SPAN></B><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt"> Stephen Clower <A
href="mailto:[mailto:steve@gwmicro.com]">[mailto:steve@gwmicro.com]</A>
<BR><B>Sent:</B> Monday, September 05, 2011 6:36 PM<BR><B>To:</B> <A
href="mailto:gw-scripting@gwmicro.com">gw-scripting@gwmicro.com</A><BR><B>Subject:</B>
Re: new Music Menu app</SPAN><o:p></o:p></P>
<P class=MsoNormal><TT><SPAN style="FONT-SIZE: 10pt">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.</SPAN></TT><SPAN
style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt"><BR><BR><TT>Regards,</TT><BR><TT>Steve</TT><BR><BR><BR><BR></SPAN><BR>On
9/5/2011 6:05 PM, Chip Orange wrote: <o:p></o:p></P>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Arial','sans-serif'; COLOR: blue; FONT-SIZE: 10pt">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.</SPAN><o:p></o:p></P>
<P class=MsoNormal> <o:p></o:p></P>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Arial','sans-serif'; COLOR: blue; FONT-SIZE: 10pt">Chip</SPAN><o:p></o:p></P>
<P class=MsoNormal> <o:p></o:p></P>
<DIV style="TEXT-ALIGN: center" class=MsoNormal align=center>
<HR align=center SIZE=2 width="100%">
</DIV>
<P style="MARGIN-BOTTOM: 12pt" class=MsoNormal><B><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt">From:</SPAN></B><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt"> bb [<A
href="mailto:b2me@fltg.net">mailto:b2me@fltg.net</A>] <BR><B>Sent:</B> Monday,
September 05, 2011 5:53 PM<BR><B>To:</B> <A
href="mailto:gw-scripting@gwmicro.com">gw-scripting@gwmicro.com</A><BR><B>Subject:</B>
Re: new Music Menu app</SPAN><o:p></o:p></P>
<DIV>
<P class=MsoNormal> <o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt">Hi
Chip,</SPAN><o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal> <o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt"> I
had mentioned once about the Cuckoo Clock program and selling
something.</SPAN><o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt">
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.</SPAN><o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal> <o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt">
But, I have not had the time, nor a computer, to do it. In the end may not even
sell it.</SPAN><o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal> <o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt"> 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.</SPAN><o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal> <o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt">
The other additions which will make that program run easier in other languages
have pushed it off.</SPAN><o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal> <o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt">
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. </SPAN><o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt">
But, creating a list can fix that problem and only use the queue if one wants an
continuous play untouched and seamless...</SPAN><o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal> <o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt"> 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.</SPAN><o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal> <o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt">
Bruce</SPAN><o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal> <o:p></o:p></P></DIV>
<DIV>
<DIV>
<P class=MsoNormal><B><SPAN
style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt">Sent:</SPAN></B><SPAN
style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt"> Monday, September
05, 2011 4:48 PM<o:p></o:p></SPAN></P></DIV>
<DIV>
<P class=MsoNormal><B><SPAN
style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt">Subject:</SPAN></B><SPAN
style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt"> RE: new Music Menu
app<o:p></o:p></SPAN></P></DIV></DIV>
<DIV>
<P class=MsoNormal><o:p> </o:p></P></DIV>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Arial','sans-serif'; COLOR: blue; FONT-SIZE: 10pt">congrats
to both of you on your new apps.</SPAN><o:p></o:p></P>
<P class=MsoNormal> <o:p></o:p></P>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Arial','sans-serif'; COLOR: blue; FONT-SIZE: 10pt">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.</SPAN><o:p></o:p></P>
<P class=MsoNormal> <o:p></o:p></P>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Arial','sans-serif'; COLOR: blue; FONT-SIZE: 10pt">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.</SPAN><o:p></o:p></P>
<P class=MsoNormal> <o:p></o:p></P>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Arial','sans-serif'; COLOR: blue; FONT-SIZE: 10pt">Chip</SPAN><o:p></o:p></P>
<P class=MsoNormal> <o:p></o:p></P>
<P class=MsoNormal><o:p> </o:p></P>
<DIV style="TEXT-ALIGN: center" class=MsoNormal align=center>
<HR align=center SIZE=2 width="100%">
</DIV>
<P style="MARGIN-BOTTOM: 12pt" class=MsoNormal><B><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt">From:</SPAN></B><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt"> bb [<A
href="mailto:b2me@fltg.net">mailto:b2me@fltg.net</A>] <BR><B>Sent:</B> Monday,
September 05, 2011 12:51 PM<BR><B>To:</B> <A
href="mailto:gw-scripting@gwmicro.com">gw-scripting@gwmicro.com</A><BR><B>Subject:</B>
Re: new Music Menu app</SPAN><o:p></o:p></P>
<DIV>
<P class=MsoNormal> <o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt">Hi
Jeff,</SPAN><o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal> <o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt"> 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.</SPAN><o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal> <o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt">
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.</SPAN><o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal> <o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt">
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.</SPAN><o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal> <o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt"> 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..."</SPAN><o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal> <o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt">
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...</SPAN><o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal> <o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt">
Sincerely</SPAN><o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt">
Bruce</SPAN><o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal> <o:p></o:p></P></DIV>
<DIV>
<DIV>
<P class=MsoNormal><B><SPAN
style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt">Sent:</SPAN></B><SPAN
style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt"> Monday, September
05, 2011 12:24 AM<o:p></o:p></SPAN></P></DIV>
<DIV>
<P class=MsoNormal><B><SPAN
style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt">Subject:</SPAN></B><SPAN
style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt"> new Music Menu
app<o:p></o:p></SPAN></P></DIV></DIV>
<DIV>
<P class=MsoNormal><o:p> </o:p></P></DIV>
<DIV>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt">I have just posted a
new app called</SPAN><o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt">MusicMenu</SPAN><o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt">This app will play
files from a list and it uses the new GWAudioKit to play several file
types.</SPAN><o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt">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.</SPAN><o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt">The help text
follows:</SPAN><o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal> <o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt">Press Alt-Shift-M to
play music files. <BR>Select a file from the list and press play to hear the
file. <BR>Press next to hear the next selection. <BR>Pres previous to hear the
previous selection. <BR>Press pause_resume to stop and resume a
selection.<BR>Press repeat_song to keep playing the same song
repeatedly.<BR>Press stop to stop a file or just select another file and press
play. <BR>Press close to close the app. If A song is playing when you
close the app, it will continue to play.<BR>Press help to go to the standard
help dialog. <BR>Press up arrow and down arrow on the volume control. <BR>The
volume can be adjusted from 1 to 10--the default is 5.<BR>The new volume will
take effect any time a song starts playing--using play, next, previous, or
pause_resume.</SPAN><o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal> <o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt">The short-cuts for
the options are listed below: <BR>Play--enter <BR>Next--n <BR>Previous--p
<BR>Pause_Resume--a<BR>Repeat_Song--r<BR>Stop--s <BR>Close--escape <BR>Help--h
<BR>Volume--v<BR>All of the music files that you want included in the list
<BR>must be in a subfolder of the folder where the MusicMenu app resides.
<BR>The subfolder which is created is called "MusicMenu" <BR>This app requires
the GWAudioKit to be fully functional.<BR>If the GWAudioKit is not installed,
the app will still work; <BR>however, only .wav files will be played.<BR>Also,
pause_resume, repeat_song, and volume will not be
available!</SPAN><o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal> <o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt">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.</SPAN><o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal> <o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt">Jeff
Weiss</SPAN><o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal> <o:p></o:p></P></DIV>
<P class=MsoNormal><BR><BR><o:p></o:p></P><PRE>-- <o:p></o:p></PRE><PRE>--<o:p></o:p></PRE><PRE>Stephen Clower<o:p></o:p></PRE><PRE>Product support specialist<o:p></o:p></PRE><PRE>GW Micro, Inc. * 725 Airport North Office Park, Fort Wayne, IN 46825<o:p></o:p></PRE><PRE>260-489-3671 * gwmicro.com<o:p></o:p></PRE></DIV></BODY></HTML>
------=_NextPart_000_0097_01CC6C07.EAC08C40--
------=_NextPart_000_0097_01CC6C07.EAC08C40
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: 7bit
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:lists3717@comcast.net]
Sent: Monday, September 05, 2011 8:07 PM
To: gw-scripting@gwmicro.com
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:jeff@jeffbishop.com]
Sent: Monday, September 05, 2011 7:42 PM
To: gw-scripting@gwmicro.com
Subject: RE: python
It must be downloaded.
From: Chip Orange [mailto:lists3717@comcast.net]
Sent: Monday, September 05, 2011 4:33 PM
To: gw-scripting@gwmicro.com
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:steve@gwmicro.com]
Sent: Monday, September 05, 2011 6:36 PM
To: gw-scripting@gwmicro.com
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:b2me@fltg.net]
Sent: Monday, September 05, 2011 5:53 PM
To: gw-scripting@gwmicro.com
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:b2me@fltg.net]
Sent: Monday, September 05, 2011 12:51 PM
To: gw-scripting@gwmicro.com
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
------=_NextPart_000_0097_01CC6C07.EAC08C40
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns="http://www.w3.org/TR/REC-html40" xmlns:v =
"urn:schemas-microsoft-com:vml" xmlns:o =
"urn:schemas-microsoft-com:office:office" xmlns:w =
"urn:schemas-microsoft-com:office:word" xmlns:m =
"http://schemas.microsoft.com/office/2004/12/omml"><HEAD>
<META content="text/html; charset=us-ascii" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.19120"><!--[if !mso]>
<STYLE>v:* {
BEHAVIOR: url(#default#VML)
}
o:* {
BEHAVIOR: url(#default#VML)
}
w:* {
BEHAVIOR: url(#default#VML)
}
..shape {
BEHAVIOR: url(#default#VML)
}
</STYLE>
<![endif]-->
<STYLE>@font-face {
font-family: Calibri;
}
@font-face {
font-family: Tahoma;
}
@font-face {
font-family: Consolas;
}
@page WordSection1 {size: 8.5in 11.0in; margin: 1.0in 1.0in 1.0in 1.0in; }
P.MsoNormal {
MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman","serif"; COLOR: black; FONT-SIZE: 12pt
}
LI.MsoNormal {
MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman","serif"; COLOR: black; FONT-SIZE: 12pt
}
DIV.MsoNormal {
MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman","serif"; COLOR: black; FONT-SIZE: 12pt
}
A:link {
COLOR: blue; TEXT-DECORATION: underline; mso-style-priority: 99
}
SPAN.MsoHyperlink {
COLOR: blue; TEXT-DECORATION: underline; mso-style-priority: 99
}
A:visited {
COLOR: purple; TEXT-DECORATION: underline; mso-style-priority: 99
}
SPAN.MsoHyperlinkFollowed {
COLOR: purple; TEXT-DECORATION: underline; mso-style-priority: 99
}
PRE {
MARGIN: 0in 0in 0pt; FONT-FAMILY: "Courier New"; COLOR: black; FONT-SIZE: 10pt; mso-style-priority: 99; mso-style-link: "HTML Preformatted Char"
}
TT {
FONT-FAMILY: "Courier New"; mso-style-priority: 99
}
P.MsoAcetate {
MARGIN: 0in 0in 0pt; FONT-FAMILY: "Tahoma","sans-serif"; COLOR: black; FONT-SIZE: 8pt; mso-style-priority: 99; mso-style-link: "Balloon Text Char"
}
LI.MsoAcetate {
MARGIN: 0in 0in 0pt; FONT-FAMILY: "Tahoma","sans-serif"; COLOR: black; FONT-SIZE: 8pt; mso-style-priority: 99; mso-style-link: "Balloon Text Char"
}
DIV.MsoAcetate {
MARGIN: 0in 0in 0pt; FONT-FAMILY: "Tahoma","sans-serif"; COLOR: black; FONT-SIZE: 8pt; mso-style-priority: 99; mso-style-link: "Balloon Text Char"
}
SPAN.HTMLPreformattedChar {
FONT-FAMILY: Consolas; COLOR: black; mso-style-priority: 99; mso-style-link: "HTML Preformatted"; mso-style-name: "HTML Preformatted Char"
}
SPAN.BalloonTextChar {
FONT-FAMILY: "Tahoma","sans-serif"; COLOR: black; mso-style-priority: 99; mso-style-link: "Balloon Text"; mso-style-name: "Balloon Text Char"
}
SPAN.EmailStyle22 {
FONT-FAMILY: "Calibri","sans-serif"; COLOR: #1f497d; mso-style-type: personal-reply
}
..MsoChpDefault {
FONT-SIZE: 10pt; mso-style-type: export-only
}
DIV.WordSection1 {
page: WordSection1
}
</STYLE>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></HEAD>
<BODY lang=EN-US link=blue bgColor=white vLink=purple>
<DIV dir=ltr align=left><SPAN class=674111000-06092011><FONT color=#0000ff
size=2 face=Arial>FYI, for anyone wanting to download what's required for you to
write your apps in python, it can be found at:</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=674111000-06092011><FONT color=#0000ff
size=2 face=Arial></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=674111000-06092011><FONT color=#0000ff
size=2 face=Arial><A
href="http://www.activestate.com/activepython/downloads">http://www.activestate.com/activepython/downloads</A></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=674111000-06092011><FONT color=#0000ff
size=2 face=Arial></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=674111000-06092011><FONT color=#0000ff
size=2 face=Arial>Chip</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=674111000-06092011><FONT color=#0000ff
size=2 face=Arial></FONT></SPAN> </DIV><BR>
<DIV dir=ltr lang=en-us class=OutlookMessageHeader align=left>
<HR tabIndex=-1>
<FONT size=2 face=Tahoma><B>From:</B> Chip Orange [mailto:lists3717@comcast.net]
<BR><B>Sent:</B> Monday, September 05, 2011 8:07 PM<BR><B>To:</B>
gw-scripting@gwmicro.com<BR><B>Subject:</B> RE: python<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV dir=ltr align=left><SPAN class=624420500-06092011><FONT color=#0000ff
size=2 face=Arial>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.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=624420500-06092011><FONT color=#0000ff
size=2 face=Arial></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=624420500-06092011><FONT color=#0000ff
size=2 face=Arial>Chip</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=624420500-06092011><FONT color=#0000ff
size=2 face=Arial></FONT></SPAN> </DIV><BR>
<DIV dir=ltr lang=en-us class=OutlookMessageHeader align=left>
<HR tabIndex=-1>
<FONT size=2 face=Tahoma><B>From:</B> Jeff Bishop [mailto:jeff@jeffbishop.com]
<BR><B>Sent:</B> Monday, September 05, 2011 7:42 PM<BR><B>To:</B>
gw-scripting@gwmicro.com<BR><B>Subject:</B> RE: python<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV class=WordSection1>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt">It
must be downloaded.<o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt"><o:p> </o:p></SPAN></P>
<DIV>
<DIV
style="BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<P class=MsoNormal><B><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: windowtext; FONT-SIZE: 10pt">From:</SPAN></B><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: windowtext; FONT-SIZE: 10pt">
Chip Orange [mailto:lists3717@comcast.net] <BR><B>Sent:</B> Monday, September
05, 2011 4:33 PM<BR><B>To:</B> gw-scripting@gwmicro.com<BR><B>Subject:</B>
python<o:p></o:p></SPAN></P></DIV></DIV>
<P class=MsoNormal><o:p> </o:p></P>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Arial','sans-serif'; COLOR: blue; FONT-SIZE: 10pt">Thanks
Steve.</SPAN><o:p></o:p></P>
<P class=MsoNormal> <o:p></o:p></P>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Arial','sans-serif'; COLOR: blue; FONT-SIZE: 10pt">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?</SPAN><o:p></o:p></P>
<P class=MsoNormal> <o:p></o:p></P>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Arial','sans-serif'; COLOR: blue; FONT-SIZE: 10pt">thanks.</SPAN><o:p></o:p></P>
<P class=MsoNormal> <o:p></o:p></P>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Arial','sans-serif'; COLOR: blue; FONT-SIZE: 10pt">Chip</SPAN><o:p></o:p></P>
<P class=MsoNormal> <o:p></o:p></P>
<P class=MsoNormal> <o:p></o:p></P>
<P class=MsoNormal><o:p> </o:p></P>
<DIV style="TEXT-ALIGN: center" class=MsoNormal align=center>
<HR align=center SIZE=2 width="100%">
</DIV>
<P style="MARGIN-BOTTOM: 12pt" class=MsoNormal><B><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt">From:</SPAN></B><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt"> Stephen Clower <A
href="mailto:[mailto:steve@gwmicro.com]">[mailto:steve@gwmicro.com]</A>
<BR><B>Sent:</B> Monday, September 05, 2011 6:36 PM<BR><B>To:</B> <A
href="mailto:gw-scripting@gwmicro.com">gw-scripting@gwmicro.com</A><BR><B>Subject:</B>
Re: new Music Menu app</SPAN><o:p></o:p></P>
<P class=MsoNormal><TT><SPAN style="FONT-SIZE: 10pt">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.</SPAN></TT><SPAN
style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt"><BR><BR><TT>Regards,</TT><BR><TT>Steve</TT><BR><BR><BR><BR></SPAN><BR>On
9/5/2011 6:05 PM, Chip Orange wrote: <o:p></o:p></P>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Arial','sans-serif'; COLOR: blue; FONT-SIZE: 10pt">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.</SPAN><o:p></o:p></P>
<P class=MsoNormal> <o:p></o:p></P>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Arial','sans-serif'; COLOR: blue; FONT-SIZE: 10pt">Chip</SPAN><o:p></o:p></P>
<P class=MsoNormal> <o:p></o:p></P>
<DIV style="TEXT-ALIGN: center" class=MsoNormal align=center>
<HR align=center SIZE=2 width="100%">
</DIV>
<P style="MARGIN-BOTTOM: 12pt" class=MsoNormal><B><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt">From:</SPAN></B><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt"> bb [<A
href="mailto:b2me@fltg.net">mailto:b2me@fltg.net</A>] <BR><B>Sent:</B> Monday,
September 05, 2011 5:53 PM<BR><B>To:</B> <A
href="mailto:gw-scripting@gwmicro.com">gw-scripting@gwmicro.com</A><BR><B>Subject:</B>
Re: new Music Menu app</SPAN><o:p></o:p></P>
<DIV>
<P class=MsoNormal> <o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt">Hi
Chip,</SPAN><o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal> <o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt"> I
had mentioned once about the Cuckoo Clock program and selling
something.</SPAN><o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt">
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.</SPAN><o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal> <o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt">
But, I have not had the time, nor a computer, to do it. In the end may not even
sell it.</SPAN><o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal> <o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt"> 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.</SPAN><o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal> <o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt">
The other additions which will make that program run easier in other languages
have pushed it off.</SPAN><o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal> <o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt">
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. </SPAN><o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt">
But, creating a list can fix that problem and only use the queue if one wants an
continuous play untouched and seamless...</SPAN><o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal> <o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt"> 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.</SPAN><o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal> <o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt">
Bruce</SPAN><o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal> <o:p></o:p></P></DIV>
<DIV>
<DIV>
<P class=MsoNormal><B><SPAN
style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt">Sent:</SPAN></B><SPAN
style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt"> Monday, September
05, 2011 4:48 PM<o:p></o:p></SPAN></P></DIV>
<DIV>
<P class=MsoNormal><B><SPAN
style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt">Subject:</SPAN></B><SPAN
style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt"> RE: new Music Menu
app<o:p></o:p></SPAN></P></DIV></DIV>
<DIV>
<P class=MsoNormal><o:p> </o:p></P></DIV>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Arial','sans-serif'; COLOR: blue; FONT-SIZE: 10pt">congrats
to both of you on your new apps.</SPAN><o:p></o:p></P>
<P class=MsoNormal> <o:p></o:p></P>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Arial','sans-serif'; COLOR: blue; FONT-SIZE: 10pt">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.</SPAN><o:p></o:p></P>
<P class=MsoNormal> <o:p></o:p></P>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Arial','sans-serif'; COLOR: blue; FONT-SIZE: 10pt">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.</SPAN><o:p></o:p></P>
<P class=MsoNormal> <o:p></o:p></P>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Arial','sans-serif'; COLOR: blue; FONT-SIZE: 10pt">Chip</SPAN><o:p></o:p></P>
<P class=MsoNormal> <o:p></o:p></P>
<P class=MsoNormal><o:p> </o:p></P>
<DIV style="TEXT-ALIGN: center" class=MsoNormal align=center>
<HR align=center SIZE=2 width="100%">
</DIV>
<P style="MARGIN-BOTTOM: 12pt" class=MsoNormal><B><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt">From:</SPAN></B><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt"> bb [<A
href="mailto:b2me@fltg.net">mailto:b2me@fltg.net</A>] <BR><B>Sent:</B> Monday,
September 05, 2011 12:51 PM<BR><B>To:</B> <A
href="mailto:gw-scripting@gwmicro.com">gw-scripting@gwmicro.com</A><BR><B>Subject:</B>
Re: new Music Menu app</SPAN><o:p></o:p></P>
<DIV>
<P class=MsoNormal> <o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt">Hi
Jeff,</SPAN><o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal> <o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt"> 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.</SPAN><o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal> <o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt">
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.</SPAN><o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal> <o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt">
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.</SPAN><o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal> <o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt"> 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..."</SPAN><o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal> <o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt">
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...</SPAN><o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal> <o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt">
Sincerely</SPAN><o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt">
Bruce</SPAN><o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal> <o:p></o:p></P></DIV>
<DIV>
<DIV>
<P class=MsoNormal><B><SPAN
style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt">Sent:</SPAN></B><SPAN
style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt"> Monday, September
05, 2011 12:24 AM<o:p></o:p></SPAN></P></DIV>
<DIV>
<P class=MsoNormal><B><SPAN
style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt">Subject:</SPAN></B><SPAN
style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt"> new Music Menu
app<o:p></o:p></SPAN></P></DIV></DIV>
<DIV>
<P class=MsoNormal><o:p> </o:p></P></DIV>
<DIV>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt">I have just posted a
new app called</SPAN><o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt">MusicMenu</SPAN><o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt">This app will play
files from a list and it uses the new GWAudioKit to play several file
types.</SPAN><o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt">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.</SPAN><o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt">The help text
follows:</SPAN><o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal> <o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt">Press Alt-Shift-M to
play music files. <BR>Select a file from the list and press play to hear the
file. <BR>Press next to hear the next selection. <BR>Pres previous to hear the
previous selection. <BR>Press pause_resume to stop and resume a
selection.<BR>Press repeat_song to keep playing the same song
repeatedly.<BR>Press stop to stop a file or just select another file and press
play. <BR>Press close to close the app. If A song is playing when you
close the app, it will continue to play.<BR>Press help to go to the standard
help dialog. <BR>Press up arrow and down arrow on the volume control. <BR>The
volume can be adjusted from 1 to 10--the default is 5.<BR>The new volume will
take effect any time a song starts playing--using play, next, previous, or
pause_resume.</SPAN><o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal> <o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt">The short-cuts for
the options are listed below: <BR>Play--enter <BR>Next--n <BR>Previous--p
<BR>Pause_Resume--a<BR>Repeat_Song--r<BR>Stop--s <BR>Close--escape <BR>Help--h
<BR>Volume--v<BR>All of the music files that you want included in the list
<BR>must be in a subfolder of the folder where the MusicMenu app resides.
<BR>The subfolder which is created is called "MusicMenu" <BR>This app requires
the GWAudioKit to be fully functional.<BR>If the GWAudioKit is not installed,
the app will still work; <BR>however, only .wav files will be played.<BR>Also,
pause_resume, repeat_song, and volume will not be
available!</SPAN><o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal> <o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt">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.</SPAN><o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal> <o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt">Jeff
Weiss</SPAN><o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal> <o:p></o:p></P></DIV>
<P class=MsoNormal><BR><BR><o:p></o:p></P><PRE>-- <o:p></o:p></PRE><PRE>--<o:p></o:p></PRE><PRE>Stephen Clower<o:p></o:p></PRE><PRE>Product support specialist<o:p></o:p></PRE><PRE>GW Micro, Inc. * 725 Airport North Office Park, Fort Wayne, IN 46825<o:p></o:p></PRE><PRE>260-489-3671 * gwmicro.com<o:p></o:p></PRE></DIV></BODY></HTML>
------=_NextPart_000_0097_01CC6C07.EAC08C40--


