Sending midi program and bank change

How can I send send a bankchange in script?
Now I’m stuck with 0-127 but I want to select preset 301 (Bank 2)

    SendNow(MidiInOmni, MakeProgramChangeMessageEx(45,1)) //AxeFx PC
    SendNow(MidiInOmni, MakeControlChangeMessageEx (34, 1, 1)) //AxeFX Scene 0-3 is 1-4

Thank You

Bank numbers are just CC numbers 0 and 32 for MSB. The actual values you use for either or both of those depends on your particular instrument.

See this for more info

http://www.andrelouis.com/qws/art/art009.htm