August 26, 200916 yr Hi, I am trying to use the drawing example provided in the file. I have two concerns. I want to put in a single picture at a specified location. So I need the function to look like this. picture ( url, x, y) How do I do this. Oreste
August 26, 200916 yr Hello Oreste, Can you paste your script in here? You should be able to fiddle with the image coordinates in the existing script: graphics.drawImage(ImageIO.read(new URL(smileyUrl)), 75, 75, 64, 64, null); If you want to make a defined input parameter for the coordinates, you need to keep in mind that all parameters are passed in as Text, which are mapped to Java strings. You'll need to convert these to integers to use as graphics coordinates.
August 27, 200916 yr Author Hi, I don't have a script. I want to be able to control the x,y. I don't know how to add the parameter from the portal into the function. I don't know the syntax, i guess that is what I need. Oreste
August 27, 200916 yr Oreste, Please use the "Request a Custom Script" button in the ScriptMaster example file, we can put one together for you pretty quickly.
Create an account or sign in to comment