Copy link to clipboard
Copied
Hello Everyone! It has been quite some time since I have been here I hope everyone is doing well and I appreciate all the help I have gotten on here.
I have just recently upgraded to creative cloud from 6. I have a script that uses the print function to print some separations into a folder. For some reason with creative cloud, after the print function executes, Illustrator will go to the background, meaning the application will not be active, and the last application I touched, such as a web browser will be focused instead.
Is there a simple way to keep Illustrator active? I did not have this problem with 6. I noticed alert messages or changing the screen mode will make it active but is there a less intrusive way? I would rather just click to keep it active than to deal with that crap, haha.
Thanks everyone!
last case scenario, you can use BridgeTalk.bringToFront(app) or illustrator.reveal() it'll be convoluted but I think it should work.
Copy link to clipboard
Copied
Hello!
Wow this is strange, have you tried to do other things in Illustrator to try and bring the focus back other than alerts? I would try to make a new blank dummy document and close it without saving to see if that'd work.
Copy link to clipboard
Copied
last case scenario, you can use BridgeTalk.bringToFront(app) or illustrator.reveal() it'll be convoluted but I think it should work.
Copy link to clipboard
Copied
Thanks Guys!!
All solutions work but illustrator.reveal(); seems the least clunky so I will go with that, I added it right after where I use the print functions and it seems to work really well. I appreciate the help as always, and I would have never known about illustrator.reveal(); without it because it is nowhere in the documentation I was looking at lol.
Thanks again and I may be back, I am having trouble with the UI click handlers I used in CS6 to deselect children in one panel when something from another panel is selected. I will make another post here soon if I can't figure it out on my own haha but I will give it a shot first.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now