From the AutoHotKey help:
{Shift Down} Holds the SHIFT key down until {Shift Up} is sent. XP/2000/NT: To hold down the left or right key instead, use {RShift Down} and {RShift Up}.
So try something like:
Send("{UP 5}{LEFT}{u 2}{Shift Down}{ENTER}{Shift Up}")
What I'm saying is, is that doesn't work. Something is messing up the {shift up/down} stuff, so the game treats the enter that is nested between them as just (ENTER) instead of the (SHIFT+ENTER) it should really be. I've tried it in AutoIt and AutoHotKey. NOTE: This only happens in 40dx, I've not had any problems with 40d not detecting the shift commands.
For example: Lets assume we are in the bC menu, with walls highlighted. we make a quick script that presses (u) nine times, followed by enter, followed by a shift enter. In theory, this will designate 10 walls, build them, and then 'select all' of the first material in the list. HOWEVER, what really happens is this: It designates 10 walls, builds them, and then only 'selects' ONE of the first material on the list, leaving it up to the user to press enter the remaining nine times (or code those extra nine enter press into their script. Which requires more sleep statements, because your sending more commands to the game than you would with a simple shift+enter command)
I want to know if anyone else has had this problem with their scripts, or if it's just me/my computer. And if they have encountered this problem, how they got around it (if they got around it).
I'm not really sure why I posted this in the modding forum :/ (modders ~ programmers = higher chance of someone who scripts seeing this and answering the question?)