Starting Application - Making sure it comes to front

Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
andyh1234
Posts: 442
Joined: Mon Aug 13, 2007 4:44 pm
Location: Eccles UK
Contact:

Starting Application - Making sure it comes to front

Post by andyh1234 » Thu Mar 27, 2008 2:02 pm

Just ironing out all the little issues with my little program.

One thing I find a little annoying is that if I start the app, and click on another while it loads, it loads but hides behind whatever im using. Its confused a few people as they have clicked the icon but then as it takes a few seconds to load first time they dont realise the stack has loaded behind the window they are working on (eg internet explorer), double click the icon to start it again and end up with two copies.

VB programs automatically jump to the front when they have loaded, is there any way to make Rev programs do this with a command at the end of the open stack.

Klaus
Posts: 13829
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Post by Klaus » Thu Mar 27, 2008 2:51 pm

Hi Andy,

maybe this link will help you:
http://www.sonsothunder.com/devres/revo ... roc001.htm

It looks like that you cannot do this on Windows with the build-in capabilities of the OS.


Regards

Klaus

keyless
Posts: 211
Joined: Wed Dec 12, 2007 11:21 pm

Post by keyless » Fri Mar 28, 2008 12:38 am

I think the Float Above Everything property for the stack would work for you. You could even set it to false after a certain time period.

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Post by Mark » Fri Mar 28, 2008 1:33 am

Andy,

Without PrcView:

http://runrev.info/Activate%20Application.htm

Best,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

Klaus
Posts: 13829
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Post by Klaus » Fri Mar 28, 2008 9:15 am

Hi Mark,

very cool script, thank you!

Do you know if this might eventually work with:
do XYZ as "vbscript"
?

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Post by Mark » Fri Mar 28, 2008 9:18 am

Hi Klaus,

I haven't tested it, but I don't see why it wouldn't.

Best,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

andyh1234
Posts: 442
Joined: Mon Aug 13, 2007 4:44 pm
Location: Eccles UK
Contact:

Post by andyh1234 » Fri Mar 28, 2008 5:42 pm

Thanks everyone (again!)

Andy

Post Reply

Return to “Talking LiveCode”