Starting Izzy "in focus"
-
how about putting an applescript into the start options:
set appName to "IsadoraCore.app" set startIt to true if startIt then tell application appName to activate end if
-
It doesn't have trouble starting Isadora, it just doesn't want to let it start _after_ the Finder window which leaves the menu bar on top of the installation running in full screen. So the applescript works as you suggested but I'm getting error -1700 (?) that doesn't want to open the .izz document. -
I'm getting:
error "IsadoraCore got an error: Can’t make some data into the expected type." number -1700 to item
I'm starting to suspect this is an Isadora error. I've double-checked the path and tried out the apple script in a few different ways and paths, but it still hates me.
-
I did understand your problem, and this script does not open your Izzy document but Isadora itself, so you actually keep your Izzy document in the start options of the system. Even when Isadora is open already this script will put it to front, but possibly does this to quick after the Isadora document gets launched to let the script execute later try this:
set appName to "IsadoraCore.app" set startIt to true delay 20 if startIt then tell application appName to activate end if
-
Ok, now I understand. By activating the application that's already open, it puts it in front of everything else. Excellent - thank you!
-
This worked well yesterday after a couple of test restarts, but today the installation started with the patch window over the full screen. Any ideas?
Thanks -
Do you have an external monitor/projector or are you working only with the main screen?
What version of Isadora are you using?Best
Michel -
It's all on one screen. I'm using 1.3.1f06
-
Does this happen every time now or only sometimes?
I can't recreate it. -
Consistent only to Murphy's Law, apparently. It didn't happen when I was there, but now that I'm a thousand miles away it happens every day when the machine starts up.
I'm starting to think about adding a shell command (to the AppleScript) to simulate the key combination of going full screen, then turning "start in fullscreen" off in Izzy prefs. I don't know how to do that, but I'm gonna start googling. Even simulating a mouse press at a screen location would do it, but I don't know if that's even a thing.Thanks for your help, btw. I know it's not a very satisfying problem! -
I think it's working now. Here's how the AppleScript ended up looking (with Izzy prefs set to not enter full screen upon start up):set appName to "IsadoraCore.app" set startIt to true delay 20 if startIt then tell application appName to activate end if delay 30 tell application "System Events" to keystroke "f" using {command down&shift down} delay 2 tell application "System Events" to keystroke "f" using {command down&shift down}
-
A small correction with command down & shift down, instead of & put a comma
set appName to "IsadoraCore.app" set startIt to true delay 20 if startIt then tell application appName to activate end if delay 30 tell application "System Events" to keystroke "f" using {command down, shift down} delay 2 tell application "System Events" to keystroke "f" using {command down, shift down}
-
Dear @kdobe,
For what it's worth, I want to add that I just tested this with other applications, and this problem is not limited to Isadora. It seems in 10.9 (and I'm assuming 10.10) that after the startup items are opened, the Finder has the focus -- i.e., it's is the frontmost app. (I tried this with QT Player, AppleScript Editor, Safari, etc.)Since you're not the only who's going to need this fix, I created a knowledge base article with the whole procedure spelled out.http://troikatronix.com/support/kb/stage-front-login-item/Note: I'm not sure why you were using two command F's... one command G would do, no? Anyway... that's how my AppleScript works.Best Wishes,Mark