Getting back to my studio app from the Finder

Hello All,

I have a studio application that activates the Finder. How do i get activation back on my application? Would i just use the follow:


tell application "my studio app"
activate
end tell

only thing when i tried it this way, it was activating my first application i made. Because the current app is a copy of a copy of a copy…etc due to additions. Is it as simple as deleting the other copies or is there some other way to activate your app within your app’s script. One more thing, i am trying to activate my window while there is a panel window on top of it, not sure if that makes a difference.

Thanks!!

Nevermind folks i figured it out. I need to close my panel window first. Thanks!

Ok my panel is activating and going away which i want but my app is not staying activated. It goes back to the Finder. Any thoughts?

You should be able to just use something like:

tell me
activate
end tell

This should get your application to the front.

Hope this helps…