logo       

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

windows.autoit.user

Subject: Re: Re: Prevent program from moving on screen

Here's another idea that doesn't require any processing power.

But 1st a question:
AFAIK the only way to move a window is by dragging on the window's
title bar. Since your not allowing a title bar on either program how
will
they be able to move the windows?

Let's ass-u-me they have title bars & they can't be moved any other way
that the user can access. If so, why not overlap the bottom window
with the top 1 so it obscures the title bar of the bottom window. And
then make the top window stay on top with AutXtra's "WinTopMost"
function. Also make the top window big enough so its title bar is off
the
top of the screen.

If your affraid of users resizing the windows by clicking & dragging on
the sides or bottom of the window. Then just resize the windows so the
edges are just off of the screen as well.

Of course this whole scenario is based on the ASSUMPTION that you
can't otherwise move the windows without the title bars.

Regards
Brian Keene

On Tue, 10 Jun 2003 18:48:06 -0700 (PDT) "Sensei J. Richard Kirkham B.Sc"
<tutor2000@xxxxxxxxx> writes:
> You're way smarter than me but whey wouldn't you just
> do
>
> winwait,,Media Play
>
> instead of the sleep thing?
>
> Rick
>
>
> --- Redndahead <amoore@xxxxxxxxxxxxxxxx> 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=
> > >
> >
> tp://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
>
> 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/
>
>
>
>


In troubling times, it's good to read true stories by real people
about real people doing good things in simple ways.
When you get a chance visit: http://www.HeroicStories.com

________________________________________________________________
The best thing to hit the internet in years - Juno SpeedBand!
Surf the web up to FIVE TIMES FASTER!
Only $14.95/ month - visit www.juno.com to sign up today!

------------------------ 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