Babsie, you did brilliantly to over ride that urge. Recognising a set of triggers, taking control of your thoughts then the action to avoid the Maccas. It all starts in the mind. leverage over thoughts around food choices , what's the better reward , your desire for weight loss or the quickie fix of cr@p food. it might help to write your weight loss goals down, start a diary and get some support from us all on here. No reason why you can't achieve your goals, you've just got to have a strong enough reason, desire to want to do it. Plenty of help on here. Again, well done on refusing that Mc breakfast.
I used to make my own mc muffin, using a muffin and the "plastic" cheese but now adapted to using the whole meal bread from heathy extra allowance, fry light egg ( omelette) lean bacon and some low fat cheese it laughing cow light all with a dollop of 1-2 syns ketchup. A good brekkie at work if you have access to a microwave and toaster.
Good luck!