Rory McIlroy missed the cut for the third time in four starts at the Scottish Open but remained upbeat ahead of The 146th Open next week.