Posted by member 5669 on 2003-02-14 19:18:41
i'm using textedit2.dll to save change states in a theme i'm making right now, and i can't get it to work the way it's supposed to.
an example:
i want to script the theme so that when i click an image, it moves the position of gandharva.dll.
*Shortcut "" -140 0 title-main.bmp .none .none #12 !execute [!textreplace "$ThemeDir$step.rc" "GandharvaY 198" "GandharvaY 140"]
my problem is that whenever i save the step.rc (after adding in this line) and recycle, the command does not work the way it should.
instead of replacing the line in the gandharva config as it should, it replaces the line that the !textreplace command is in. what i mean is that this:
*Shortcut "" -140 0 title-main.bmp .none .none #12 !execute [!textreplace "$ThemeDir$step.rc" "GandharvaY 198" "GandharvaY 140"]
gets replaced with this:
GandharvaY 140
does anyone have a clue why it does this?
an example:
i want to script the theme so that when i click an image, it moves the position of gandharva.dll.
*Shortcut "" -140 0 title-main.bmp .none .none #12 !execute [!textreplace "$ThemeDir$step.rc" "GandharvaY 198" "GandharvaY 140"]
my problem is that whenever i save the step.rc (after adding in this line) and recycle, the command does not work the way it should.
instead of replacing the line in the gandharva config as it should, it replaces the line that the !textreplace command is in. what i mean is that this:
*Shortcut "" -140 0 title-main.bmp .none .none #12 !execute [!textreplace "$ThemeDir$step.rc" "GandharvaY 198" "GandharvaY 140"]
gets replaced with this:
GandharvaY 140
does anyone have a clue why it does this?