you already applied for green card, means you have shown your intend to immegrant in US, and Student visa(F1) means you are not intended to immegrant. So, you can see yourself these 2 things are contradicting and I am sure they will reject your visa on this basis. there is only way you can go there on H1.