It can be a little bit more complicated if you have indexed shifting.
If the front derailleur is a "high normal" type (the derailleur heads toward the big ring when the cable is slack, these are less common) then you adjust the high limit screw first so that you can just get cleanly onto the big ring, then the cable tension so that the shifts to the smaller rings work smoothly.
If the front derailleur is "low normal" (the derailleur heads towards the small ring when the cable is slack, most common) then you adjust the cable tension first so that you can just get cleanly onto the big ring, then the high limit screw, leaving a slight bit of room for overshifting. If you get the high limit screw too tight, it can interfere with shifting because the derailleur may need to move a tiny bit outward past the ideal position before moving inward (depending on the design of your shifters, some pull on the cable a bit extra to clear pawls internally, then let it settle back.)
Either way, you may need to go a few passes between cable tension and limit screws.
Of course, none of the above applies with friction shifting. Set your limit screws so you don't dump the chain off, and go ride.