Script Help For User Entry Dialog Box

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I am very new to programming and i have tried to struggle through teaching myself how to do this but i have come to the conclusion that i will not be able to do this without some assistance.
My father purchased a CNC router that he will use to scribe/engrave wood and Plexiglas, the issue is he has zero knowledge on how to use CAD. so i would like to be able to create a script to automate as much as possible for him.
What i am trying to do is make a dialog box that he can enter in a length width and height in inches and select a image to have placed on the top surface. from this it will create a rectangle extrusion with the image on the top surface.
I have been able to create a script to extrude a rectangle and a script to create a dialog box with boxes for numerical values to be entered.
i am struggling with how to relate what is entered in the box to the dimensions in the sketch and extrude feature.
I have not even attempted to try and create the script to add the image to the top surface.
The image will be simplified line art that he will use for the engravings. this might be something as simple as someones name or a sports team emblem.