Question about insert Picture
i want to select a File with a Openfiledialog and insert it to a layout. According to the different filename extension should different Layout be opened.
for example, wenn filename extension is "jpg", go to Layout A, write a new Record and insert Picture
wenn filename extension is "Avi", go to Layout B, write a new Record and insert Quicktime
i dont know how to do it. what i thought ist: skript:insert File -> select a File -> get the filename-> strim the Extension-> if "jpg"->go to the LayoutA->insert Picture with the name i got.
but the problem is, i can not insert a picture with a Name i don not know at first.