So it seems that, to AppleScript, a full screen window that's currently filling the screen does not necessarily have index 1.
When you tweet with a location, Twitter stores that location. You can switch location on/off before each Tweet and always have the option to delete your location history. Learn more
So it seems that, to AppleScript, a full screen window that's currently filling the screen does not necessarily have index 1.