logo       

Re: Prevent program from moving on screen: msg#00217

windows.autoit.user

Subject: Re: Prevent program from moving on screen

The Sleep is so it just doesn't continually move the window taking up
processing power...It kind of just gives it a little rest.

red
--- In AutoItList@xxxxxxxxxxxxxxx, "Sensei J. Richard Kirkham B.Sc"
<tutor2000@xxxx> wrote:
> You're way smarter than me but whey wouldn't you just
> do
>
> winwait,,Media Play
>
> instead of the sleep thing?
>
> Rick
>
>
> --- Redndahead <amoore@xxxx> wrote:
> > If that is the case I would probably do this.
> >
> > BeginProg:
> > WinWait,Windows Media Player
> >
> > loop:
> > Sleep,200
> > IfWinNotExist,Windows Media Player,,Goto,BeginProg
> > WinMove,Omnis Studio,,10,300,default,default
> > WinMove,Windows Media Player,,10,10,default,default
> > Goto,loop
> >
> >
> > Then I would put a shortcut at startup, assuming you
> > only use this
> > computer for this program. You then wouldn't have to
> > worry about
> > starting the program and the WinWait part takes
> > little to no process
> > power.
> >
> > red
> > --- In AutoItList@xxxxxxxxxxxxxxx, dsmcd
> > <dsmcd@xxxx> wrote:
> > > That second routine I don't need since my database
> > will take ensure
> > the
> > > skin is launched and active, each time the current
> > cd-rom drive has
> > changed.
> > >
> > > As for the first routine, I'll look into which
> > method for
> > repositioning the
> > > skin is best for me; either check if the window
> > moved and
> > reposition if
> > > needed, or just always reposition.
> > >
> > > Thanks again,
> > > D.
> > >
> > >
> > >
> > >
> > > At 07:05 PM 6/10/2003 +0000, you wrote:
> > > >I might change it up a little bit I think some of
> > it is redundant.
> > > >But Larry usually knows more than I do..So take
> > my suggestion with
> > a
> > > >grain of salt. =)
> > > >
> > > >red
> > > >
> > > >loop:
> > > >Sleep,200
> > > >IfWinNotExist,Media Player,,Gosub,MediaPlayer
> > > >WinWaitActive,Media Player,,1
> > > >IfEqual,errorlevel,1,Goto,loop
> > > >WinMove,Media Player,,10,10,500,400
> > > >Goto,loop
> > > >
> > > >MediaPlayer:
> > > >SplashTextOn,500,400,Please Wait,Starting Media
> > Player
> > > >Run,%windir%\\system32\\mediaplayer.exe
> > > >WinWait,Media Player,,30
> > > >IfEqual,errorlevel,1,Goto,MediaPlayer
> > > >SplashTextOff
> > > >Return
> > > >
> > > >
> > > >--- In AutoItList@xxxxxxxxxxxxxxx, dsmcd
> > <dsmcd@xxxx> wrote:
> > > > > Terrific. I'm up and running. Playing with the
> > sleep time and
> > > >watching CPU
> > > > > usage. So far so good.
> > > > >
> > > > > Thanks!
> > > > > D.
> > > > >
> > > > >
> > > > > At 10:06 AM 6/10/2003 -0700, you wrote:
> > > > > >Good. My two Window Titles are: Windows Media
> > Player, and Omnis
> > > >Studio.
> > > > > >I'll play around with the script and see what
> > I get.
> > > > > >
> > > > > >Thx,
> > > > > >D.
> > > > > >
> > > > > >
> > > > > >At 04:17 PM 6/10/2003 +0000, you wrote:
> > > > > >>I think the first thing to do is to open
> > both apps and run
> > AutoIT
> > > > > >>Reveal Mode (you can find it as a shortcut
> > when autoit is
> > > >installed)
> > > > > >>and see what title and text each app gives
> > you.
> > > > > >>
> > > > > >>red
> > > > > >>
> > > > > >>--- In AutoItList@xxxxxxxxxxxxxxx, dsmcd
> > <dsmcd@xxxx> wrote:
> > > > > >> > Thank you for your quick reply. My skin
> > cannot have an
> > > >application
> > > > > >>bar
> > > > > >> > since I can't allow customers to close
> > the program. Is
> > this a
> > > > > >>problem?
> > > > > >> >
> > > > > >> > More details about the listening station:
> > Will be on a
> > wireless
> > > > > >>touchscreen
> > > > > >> > monitor. The computer with the cd-roms
> > will be behind the
> > > >cashier
> > > > > >>counter
> > > > > >> > away from the customer. I'll have my skin
> > and one other
> > > >program,
> > > > > >>both
> > > > > >> > running all the time. The skinned Windows
> > Media Player
> > will be
> > > >on
> > > > > >>the lower
> > > > > >> > half of the screen, and a small app will
> > be on the upper
> > part.
> > > >This
> > > > > >>smaller
> > > > > >> > app will allow the customer to easily
> > switch between the
> > four
> > > > > >>available
> > > > > >> > cd-roms.
> > > > > >> >
> > > > > >> > Thanks again for your help.
> > > > > >> >
> > > > > >> > D.
> > > > > >> >
> > > > > >> >
> > > > > >> >
> > > > > >> >
> > > > > >> > At 04:07 PM 6/10/2003 +0000, you wrote:
> > > > > >> > > > Any suggestions?
> > > > > >> > >
> > > > > >> > >We must start with the title of the
> > window... We need some
> > > >static
> > > > > >> > >piece of text from that window... for
> > now we call that
> > > >text "Media
> > > > > >> > >Player"... We need to know what size the
> > window should
> > be, or
> > > > > >>should
> > > > > >> > >it remain maximized?...
> > > > > >> > >
> > > > > >> > >;sample script
> > > > > >> > >loop:
> > > > > >> > >Sleep,200
> > > > > >> > >IfWinNotActive,Media
> > Player,,WinActivate,Media Player
> > > > > >> > >IfWinNotExist,Media
> > Player,,Gosub,MediaPlayer
> > > > > >> > >WinWaitActive,Media Player,,1
> > > > > >> > >IfEqual,errorlevel,1,Goto,loop
> > > > > >> > >WinGetActiveStats,var,var,var,left,top
> > > > > >> > >IfEqual,left,10,IfEqual,top,10,Goto,loop
> > > > > >> > >WinMove,Media Player,,10,10,500,400
> > > > > >> > >Goto,loop
> > > > > >> > >
> > > > > >> > >MediaPlayer:
> > > > > >> > >SplashTextOn,500,400,Please
> > Wait,Starting Media Player
> > > > > >> > >Run,%windir%\\system32\\mediaplayer.exe
> > > > > >> > >WinWait,Media Player,,30
> > > > > >> > >IfEqual,errorlevel,1,Goto,MediaPlayer
> > > > > >> > >SplashTextOff
> > > > > >> > >Return
> > > > > >> > >
> > > > > >> > >;Larry
> > > > > >> > >
> > > > > >> > >
> > > > > >> > >Yahoo! Groups Sponsor
> > > > > >> >
> > > > > >>
> > > >
> >
>
><<<http://rd.yahoo.com/M=251812.3170658.4537139.1261774/D=egroupweb/S
> > =>ht
> > > >
> >
> tp://rd.yahoo.com/M=251812.3170658.4537139.1261774/D=egroupweb/S=
> > > >1>h
> > > > > >>
> > >
> >
> >ttp://rd.yahoo.com/M=251812.3170658.4537139.1261774/D=egroupweb/S=1
> > > > >
> > > >
> >
>
>>705144708:HM/A=1564416/R=0/SIG=11ti81skc/*<<http://www.netflix.com/D
> > e>ht
> > > > tp://www.netflix.com/De
> > >
> >
> >fau><http://www.netflix.com/Defau>http://www.netflix.com/Defau
> > > > > >>lt?mqso=60164797&partid=3170658>a48b0.jpg
> > > > > >> > >
> > > > > >> > >a493d.jpg
> > > > > >> > >
> > > > > >> > >To unsubscribe from this group, send an
> > email to:
> > > > > >> > >AutoItList-unsubscribe@xxxxxxxxxxxxxxx
> > > > > >> > >
> > > > > >> > >
> > > > > >> > >
> > > > > >> > >Your use of Yahoo! Groups is subject to
> > the
> > > > > >> >
> > > >
> >
>
><<<http://docs.yahoo.com/info/terms/>http://docs.yahoo.com/info/terms
> > />ht
> > > > tp://docs.yahoo.com/info/terms/
> > > > >
> > > > > >> Yahoo! Terms of Service.
> > > > > >>
> > > > > >>
> > > > > >>Yahoo! Groups Sponsor
> > > > >
> > > >
> >
>
>><<http://rd.yahoo.com/M=251812.3170658.4537139.1261774/D=egroupweb/S
> > =>ht
> > > >
> >
> tp://rd.yahoo.com/M=251812.3170658.4537139.1261774/D=egroupweb/S=
> > >
> >
>
>1705144708:HM/A=1564415/R=0/SIG=11t6t7kdo/*<http://www.netflix.com/De
> > fa>http://www.netflix.com/Defa
> > > >ult?mqso=60164784&partid=3170658>366f1e1.jpg
> > > > > >>
> > > > > >>366fab1.jpg
> > > > > >>
> > > > > >>To unsubscribe from this group, send an
> > email to:
> > > > > >>AutoItList-unsubscribe@xxxxxxxxxxxxxxx
> > > > > >>
> > > > > >>
> > > > > >>
> > > > > >>Your use of Yahoo! Groups is subject to the
> > > > >
> >
>
>><<http://docs.yahoo.com/info/terms/>http://docs.yahoo.com/info/terms
> > />
> > > > Yahoo! Terms of Service.
> > > > > >
> > > > > >Yahoo! Groups Sponsor
> > > > > >
> > > > >
> > > >
> >
>
><<http://rd.yahoo.com/M=247865.3355058.4641699.1261774/D=egroupweb/S=
> > 1>ht
> > > >
> >
> tp://rd.yahoo.com/M=247865.3355058.4641699.1261774/D=egroupweb/S=1
> > >
> >
> >705144708:HM/A=1482387/R=0/SIG=16ngiuvto/*<http://ads.x10.com/?
> > >http://ads.x10.com/?
> > > >bHlhaG9vaG0xLmRhd=1055269189%
> > >
> >
>
>3eM=247865.3355058.4641699.1261774/D=egroupweb/S=1705144708:HM/A=1482
> > 3
> > > >87/R=1=1055269189%
> > >
> >
>
>3eM=247865.3355058.4641699.1261774/D=egroupweb/S=1705144708:HM/A=1482
> > 3
> > > >87/R=2>8e586e.jpg
> > > > > >8e587d.jpg
> > > > > >
> > > > > >To unsubscribe from this group, send an email
> > to:
> > > > > >AutoItList-unsubscribe@xxxxxxxxxxxxxxx
> > > > > >
> > > > > >
> > > > > >
> > > > > >Your use of Yahoo! Groups is subject to the
> > > > >
> >
>
><<http://docs.yahoo.com/info/terms/>http://docs.yahoo.com/info/terms/
> > >Y
> > > > ahoo! Terms of Service.
> > > >
> > > >
> > > >Yahoo! Groups Sponsor
> > >
> >
>
><http://rd.yahoo.com/M=251812.3170658.4537139.1261774/D=egroupweb/S=1
> >
>
705144708:HM/A=1564416/R=0/SIG=11ti81skc/*http://www.netflix.com/Defau
> > lt?mqso=60164797&partid=3170658>c26c56.jpg
> > > >
> > > >c26cf3.jpg
> > > >
> > > >To unsubscribe from this group, send an email to:
> > > >AutoItList-unsubscribe@xxxxxxxxxxxxxxx
> > > >
> > > >
> > > >
> > > >Your use of Yahoo! Groups is subject to the
> > > ><http://docs.yahoo.com/info/terms/>Yahoo! Terms
> > of Service.
> >
> >
> > ------------------------ Yahoo! Groups Sponsor
> >
> > To unsubscribe from this group, send an email to:
> > AutoItList-unsubscribe@xxxxxxxxxxxxxxx
> >
> >
> >
> > Your use of Yahoo! Groups is subject to
> > http://docs.yahoo.com/info/terms/
> >
> >
>
>
> =====
> http://kirkhamsebooks.tripod.com/RaisingYourChild_in.html
> http://kirkhamsmartialarts.tripod.com/martialarts_ezine.html
> http://kirkhamsmartialarts.tripod.com/ebooksvideoscassettes.htm
Obesity in Children, Anger Management, Internal Energy Strikes,
meditation & More & NOW Raising Your Child to be More Postive and
More Confident
> http://kirkhamsmartialarts.tripod.com/sellmyebooks
> http://kirkhamsmartialarts.tripod.com/qualifications
> http://SeriousMartialArtistsOnly.8m.com The Combat Martial Arts
Ezine
>
> __________________________________
> Do you Yahoo!?
> Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
> http://calendar.yahoo.com


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get A Free Psychic Reading! Your Online Answer To Life's Important Questions.
http://us.click.yahoo.com/Lj3uPC/Me7FAA/ySSFAA/EGnolB/TM
---------------------------------------------------------------------~->

To unsubscribe from this group, send an email to:
AutoItList-unsubscribe@xxxxxxxxxxxxxxx



Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/





<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise