You will get a LOT for your money in Dunfermline, I have a 5 bed house for half your budget. I live nearby (I moved up here from London) it's massive and lovely around here, so family friendly.
The primary schools are excellent and there are 3 secondaries all quite good, Woodmill has a SEN department. Think someone else mentioned there are no EHCPs in Scotland.
The offers over system has been mentioned, it's around 15% in Dunfermline.
I really like living here, it has everything I need. Drive into the centre of Edinburgh in 35 mins (I go every weekend for a commitment so I know it well now), trains in take 25 mins, park and ride in from Duloch end of town is free. Lovely Abbey, gorgeous park in town, all the shops and in Duloch there's the leisure park with cinema, bowling, indoor and outdoor golf, bingo, Bannatynes gym, and all the fast food outlets.
You'll get less for your money in Edinburgh but it's a wonderful place to live I'm sure, we went for Dunfermline as it was cheaper but great location, we did consider spending more for Edinburgh but I like being in a quiet town and I'm glad we came here.
Message me if you'd like :)