Who's Online
99 user(s) are online (
85 user(s) are browsing
Forums )
Members: 1
Guests: 98
davec555 ,
more...
Topic options
View mode
Newest First
Art Effect Arexx?
Posted on:
2019/12/22 21:08
#1
Not too shy to talk
Joined: 2008/10/18 11:25Last Login
: 11/21 2:52
From Auckland, New Zealand
Group:
Registered Users
Is anyone familiar with Art Effect's arexx commands, specifically TEXT? I am working on a script and I'm not getting much luck with it. None of the example scripts feature it. Does anyone have any examples on how to use the TEXT command? Thanks.
Re: Art Effect Arexx?
Posted on:
2019/12/22 22:04
#2
Just can't stay away
Joined: 2006/11/24 18:52Last Login
: 2021/9/26 20:59
From Gloucestershire, UK.
Group:
Registered Users
Are you using the strength and mode settings properly? stength = opacity - 0 to 100 mode iis more complicted, you cn use 17 different options... matte, color, impressionist, multiply, screen, difference, lighten, darken, hue, saturation, huesat, luminance, smooth, blur, sharpen1, sharpen2 and stencil eg. TEXT 50,50,FONT "dejavu sans.font", SIZE 24,PLAIN, MODE MATTE, STRENGTH 75,"Testing, Testing, Testing."
Amiga user since 1985 AOS4, A-EON, IBrowse & Alinea Betatester Ps. I hate the new amigans website. <shudder>
Re: Art Effect Arexx?
Posted on:
2019/12/23 3:25
#3
Not too shy to talk
Joined: 2008/10/18 11:25Last Login
: 11/21 2:52
From Auckland, New Zealand
Group:
Registered Users
I don't know what is "proper", that is the problem. I have adapted your line: TEXT 10, 10, FONT "dejavu sans.font", SIZE 18, PLAIN, MODE MATTE, STRENGTH 80, "Testing, Testing, Testing." but this does absolutely nothing.
Re: Art Effect Arexx?
Posted on:
2019/12/23 11:44
#4
Home away from home
Joined: 2006/12/4 23:15Last Login
: 10/14 16:04
Group:
Registered Users
@daveyw
Try putting single quotes round the whole string
'TEXT 10, 10, FONT "dejavu sans.font", SIZE 18, PLAIN, MODE MATTE, STRENGTH 80, "Testing, Testing, Testing."'
This is needed as Rexx will merge all those string inot the c9ommand and drop the double quotes in dong so, but ArtEffect will need them to parse the command.
Re: Art Effect Arexx?
Posted on:
2019/12/23 23:23
#5
Not too shy to talk
Joined: 2008/10/18 11:25Last Login
: 11/21 2:52
From Auckland, New Zealand
Group:
Registered Users
@broadblues
Thanks, but no, that still does nothing.
Art Effect is able to correctly execute other commands with quotes without the need to enclose them with ' ', such as:
New w 1200 H 140 fill white name "Text demo"
Re: Art Effect Arexx?
Posted on:
2019/12/24 0:30
#6
Home away from home
Joined: 2006/12/4 23:15Last Login
: 10/14 16:04
Group:
Registered Users
@daveyw Well the most obvious difference between the command that works and the one that doesn't is the commas..
Re: Art Effect Arexx?
Posted on:
2019/12/24 9:16
#7
Not too shy to talk
Joined: 2008/10/18 11:25Last Login
: 11/21 2:52
From Auckland, New Zealand
Group:
Registered Users
@broadblues Yep, tried that, no result.
Re: Art Effect Arexx?
Posted on:
2019/12/24 12:11
#8
Just can't stay away
Joined: 2006/12/1 18:01Last Login
: Yesterday 23:02
From Copenhagen, Denmark
Group:
Registered Users
@daveyw What if you put the whole command into a variable and do "address ArtEffect <var>"? Do a "say" of the variable in the previous line to check the contents, especially wrt quotes etc. Best regards, Niels
Re: Art Effect Arexx?
Posted on:
2019/12/24 17:39
#9
Not too shy to talk
Joined: 2008/10/18 11:25Last Login
: 11/21 2:52
From Auckland, New Zealand
Group:
Registered Users
@nbache
Hmmm.... there's no console, so I tried putting the variable in a requestor.
http://imgbox.com/11wmVa2G Can't see anything obviously wrong but then I don't know what I'm looking for.
Re: Art Effect Arexx?
Posted on:
2019/12/29 1:55
#10
Just can't stay away
Joined: 2006/11/24 18:52Last Login
: 2021/9/26 20:59
From Gloucestershire, UK.
Group:
Registered Users
This is from the docs: I added the commas as they're in the template TEXT Synopsis Paints a text to the project using a specified font and size. Parameters Template X/N/A, Y/N/A, FONT/K, SIZE/N/K, PLAIN/K, BOLD/S, ITALIC/S, UNDERLINE/S, NOBOLD/S, NOITALIC/S, NOUNDERLINE, MODE/K, STRENGTH=STR/K/N, TEXT/K/F Parameters X/N/A X-coordinate of the top left corner of the text. Y/N/A Y-coordinate of the top left corner of the text. FONT/K name of the font to use. SIZE/N/K size of the font to use. PLAIN/K the text is painted without attributes. BOLD/S the text is painted in bold. ITALIC/S the text is painted in italics. UNDERLINE/S the text is painted underline. NOBOLD/S the text is not painted in bold, no matter what your text-settings are. NOITALIC/S the text is not painted in italics, no matter what your text-settings are. NOUNDERLINE/S the text is not painted underlined, no matter what your text-settings are. MODE/K chooses the desired paintmode - look @{"here" link modelist} for a complete list STRENGTH sets the desired opacity (0...100) TEXT/K/F the text to be written to the project.
Amiga user since 1985 AOS4, A-EON, IBrowse & Alinea Betatester Ps. I hate the new amigans website. <shudder>
Re: Art Effect Arexx?
Posted on:
2019/12/30 5:15
#11
Not too shy to talk
Joined: 2008/10/18 11:25Last Login
: 11/21 2:52
From Auckland, New Zealand
Group:
Registered Users
Thanks, I have the manual. I just can't get the command to produce a result. I've dropped a line to Alinea, although they're closed for the holidays. For now, I've kinda left it and working on other parts of my script.
Re: Art Effect Arexx?
Posted on:
2019/12/31 6:12
#12
Not too shy to talk
Joined: 2008/10/18 11:25Last Login
: 11/21 2:52
From Auckland, New Zealand
Group:
Registered Users
Blimey, finally got it!!! This instruction actually works:
text x 10 y 10 font "Courier.font" size 16 plain mode matte str 100 text "Testing, Testing, Testing."
Looks like it just didn't like the DejaVu Sans Condensed font, which is odd, because I can select it with no problems from the front end. I also have to include .font on the end of the name.
Also looks like the formatting options (bold, etc) don't work, and changing str or mode doesn't have any effect.
But I've finally managed to get it to do something...
Currently Active Users Viewing This Thread:
2
(
0 members
and 2 Anonymous Users
)