ScriptSpot

Forum topic · General Scripting

bitmap filename problem

By yunusbbayram · 2008-06-23

Description

txt +="bitmap yunuss \"yunuss\" pos:[100,80] width:124 height:124 fileName:((getDir #scripts) + \"\\FastMorph\\normal.JPG\")"

how isnt my image normal.JPG showing up in bitmap yunus frame

Comments (1)

Ofer Zelichover · 2008-07-02

Hi,

Are you using execute to execue the txt string?

If so, you're missing a couple of \ in you string. It should be:


txt +="bitmap yunuss \"yunuss\" pos:[100,80] width:124 height:124 fileName:((getDir #scripts) + \"\\\\FastMorph\\\\normal.JPG\")"

I don't know what you're trying to do with this, but as a general rule, using execute is not recommended, and should be avoided if possible.

hOpe this helps,

o