need some help
im trying to load an image.and wanted to put the image filename in an field but without extencion name i wanted just the name only
i have this till now an it gifs me back on the field name.jpg i wanted it show just the name only.
Code: Select all
on mouseUp
answer file "Please Choose Your Graphic"
put it into tgraphicchoice
revCopyFile tgraphicchoice,"C:\media\"
set filename of image "homebiglogo" to tgraphicchoice
set filename of image "TSHimage" to tgraphicchoice
set the itemdelimiter to slash
put item -1 of tgraphicchoice into teditedgraphicname
put teditedgraphicname into field homebiglogo
end mouseUp