You could try it but depending on the thickness of the glass and exactly how much sun that window gets will affect the outcome. Glass defuses light so you have to double or triple the exposer time needed to get the same results as if it was placed in the same exact spot but out side the window.