Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
116 user(s) are online (80 user(s) are browsing Forums)

Members: 1
Guests: 115

skynet, more...

Headlines

Forum Index


Board index » All Posts (Gazelle)




Re: WHDLoad icons
Just popping in
Just popping in


@mritter0

You could use the icon.library to get the images of info files and not rely on some third party datatype.

Go to top


Re: Simplemail : export address book
Just popping in
Just popping in


@Lio

I was an contributor to simplemail but am not anymore.

I've found a stylesheet I made a long time ago:
<?xml version="1.0"?>
<xsl:stylesheet version="1.0"
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

    <xsl:output method="html" media-type="text/html" encoding="ISO-8859-1"
        omit-xml-declaration="no" />

    <xsl:template match="/">
        <html>
            <head>
                <title>Simplemail Addressbook</title>
            </head>
            <body>
                <h2>Simplemail Addressbook</h2>
                <table border="1">
                    <tr bgcolor="#9acd32">
                        <th>Alias</th>
                        <th>Name</th>
                        <th>Emails</th>
                        <th>Address (privat)</th>
                        <th>Phone (privat)</th>
                        <th>Address (work)</th>
                        <th>Phone (work)</th>
                    </tr>
                    <xsl:apply-templates />
                </table>
            </body>
        </html>
    </xsl:template>

    <xsl:template match="newaddressbook">
        <xsl:for-each select="newcontact">
            <xsl:sort select="name" />
            <tr>
                <td>
                    <xsl:value-of select="alias" />
                </td>
                <td>
                    <xsl:value-of select="name" />
                </td>
                <td>
                    <xsl:for-each select="email">
                        <xsl:value-of select="." />
                        <xsl:if test="not (position()=last())">
                            <br />
                        </xsl:if>
                    </xsl:for-each>
                </td>
                <xsl:apply-templates select="private" />
                <xsl:apply-templates select="work" />
            </tr>
        </xsl:for-each>
    </xsl:template>

    <xsl:template match="private|work">
        <td>
            <xsl:if test="count(./*) > 0">
                <xsl:value-of select="street" />
                <br />
                <xsl:value-of select="zip" />
                <xsl:text> </xsl:text>
                <xsl:value-of select="city" />
                <br />
                <xsl:value-of select="country" />
                <br />
            </xsl:if>
        </td>
        <td>
            <xsl:if test="count(./*) > 0">
                <xsl:for-each select="phone">
                    <xsl:if test="string-length(.) > 0">
                        Phone:
                        <xsl:value-of select="." />
                        <br />
                    </xsl:if>
                </xsl:for-each>
                <xsl:if test="string-length(mobil) > 0">
                    Mobile:
                    <xsl:value-of select="mobil" />
                    <br />
                </xsl:if>
                <xsl:if test="string-length(fax) > 0">
                    Fax:
                    <xsl:value-of select="fax" />
                    <br />
                </xsl:if>
            </xsl:if>
        </td>
    </xsl:template>

</xsl:stylesheet>


Save it as ".newaddressbook.xsl" at the same place where your ".newaddressbook.xml" is and add an stylesheet line to the xml file, so it starts like that:
<?xml version="1.0" encoding="ISO-8859-1"?>
<?xml-stylesheet type="text/xsl" href=".newaddressbook.xsl"?>
<newaddressbook>
...


Open the ".newaddressbook.xml" now in an browser which supports stylesheet transformation and you get a table of the addressbook or use an xslt util.

Hope that helps.

Go to top


Re: Simplemail : export address book
Just popping in
Just popping in


@ChrisH:

There is a xslt processor on OS4Depot (never used it myself). I don't know if Odyssey (or another web-browser) would be sufficient. Btw, I did suspect Lio of being more of an user.

@Lio
AFAIK, it's not possible to traverse the addressbook with the ARexx interface of simplemail. How may entries are we talking about? Just open the adressbook in any decent texteditor and use search/replace/whatever (on a copy of course) to reformat it.

For the multiple email in the addressbook: Well, one person could have multiple email addresses and you should be able to enter them in the addressbook. Doesn't mean the person wants to get every email to all of his emails (I certainly would be very annoyed if I get the same email to all of my addresses). You'll have to enter a second/third/... recipient to the mail if you want it sent to multiple email addresses.

And for the unselecting of mails: Sorry, can't help you with that.

Go to top


Re: Simplemail : export address book
Just popping in
Just popping in


The addressbook is a simple XML file. You can open the file with any text-editor you want.

With a little programming skills you can use XML style sheet transformation to convert the entries in any format you want.

As example: http://stackoverflow.com/questions/365312/xml-to-csv-using-xslt


Go to top


Re: ObtainBestPen()
Just popping in
Just popping in


@mritter0
or even:

int32 GreenPen=ObtainPenHex(0x00FF00);

int32
ObtainPenHex
(uint32 htmlColour)
{
    
uint32 rgb;

    
= ((htmlColour 0xFF0000) >> 16) * 0x01010101;
    
= ((htmlColour 0x00FF00) >> 8)  * 0x01010101;
    
= ((htmlColour 0x0000FF))       * 0x01010101;

    return(
IGraphics->ObtainBestPen(DefaultPubScreen->ViewPort.ColorMaprgb,
                                    
OBP_PrecisionPRECISION_GUI,
                                    
OBP_FailIfBadFALSE,
                                    
TAG_END)
    );
}

Go to top


Re: AmigaDOS echo bug found
Just popping in
Just popping in


@LiveForIt

If my memory serves me right:

Quote:
Makedir $mydirNEWDIR


You need to use the brackets, so that the script knows when the name of the variable ends.

The standard brackets in DOS are < and > so:

Makedir $<mydir>NEWDIR

should work.

If you need the redirections you can set other brackets with:
.bra {
.
ket }

Makedir ${mydir}NEWDIR


Go to top


Re: SSD in a MicroA1. Is it worth it?
Just popping in
Just popping in


@Raziel

Quote:
RDBBlocksLo
RDBBlocksHi
HighRDSBlock
First Usable cylinder
Last Usable cylinder
Blocks per cylinder
Autopark seconds


Well, if I've understood all of the above correctly, you *CAN* set "Blocks per cylinder" to 2048 very easy then.

Go to top


Re: http://wiki.amigaos.net/wiki/Graphics_Library_and_Text
Just popping in
Just popping in


You may wanna take a look at the diskfont autodoc entries for
OpenOutlineFont(), EOpenEngine() and EObtainInfoA() for using all glyphs of an outline font.

I think netsurf also does this to render the text. Look into http://source.netsurf-browser.org/net ... /tree/amiga/font_bullet.c

Go to top


Re: AmigaOS 4.1 Final Edition SDK available for download
Just popping in
Just popping in


@AmigaBlitter

How about:
BMATags_PixelFormatPIXF_ALPHA8



Go to top


Re: AmigaOS 4.1 Final Edition SDK available for download
Just popping in
Just popping in


@zzd10h

Unified graphics.library API with built-in RTG support as the original Amiga designers intended.

Picasso96API.library/--background--
[...]
Starting with graphics.library V54, the vast majority of Picasso96 is now redundant. The graphics.library has been expanded and extended to seemlessly handle the traditional native (ECS, AGA) chip sets as well as modern graphics cards (RTG).
[...]

Go to top


AmigaOS 4.1 Final Edition SDK available for download
Just popping in
Just popping in


Just to let you know that the SDK 53.29 is released, see http://www.hyperion-entertainment.biz/

Go to top


Re: Meaning of copy error 83 ?
Just popping in
Just popping in


@zzd10h

The old source of SFS (version 1.84) was released on SourceForge: http://sourceforge.net/projects/smartfilesystem/

AFAIK, the OS4 version is based on it.

Looking at line 43 of SFS/FS/fs.h:

...
#define INTERR_CHECKSUM_FAILURE       80
#define INTERR_BLOCK_WRONG_TYPE       81
#define INTERR_OWNBLOCK_WRONG         82
#define INTERR_BTREE                  83
#define INTERR_SAFE_DELETE            84
#define INTERR_NODES                  85
#define INTERR_EXTENT                 86
#define INTERR_DEFRAGMENTER           87
...


Which would match your first error message, that something (internal) is wrong with an bnode in an btree.

edit: If it's and DOS error, you would find it in SDK:include/include_h/dos/errors.h

Go to top


Re: BOOPSI Menu Class: first update
Just popping in
Just popping in


@trixie

You have mentioned in the other thread that the menus are linear because of the NewMenu structure.

But that's only needed if you're using CreateMenus() or the WINDOW_NewMenu tag.

You could build your own Menu and MenuItem structures (that's what CreateMenus() does as I understand it) and only use the LayoutMenus() function to get the required visuals.

You could also expand the two structures with an APTR for the userdata (like the NewMenu does).

That are all just some of my thoughts as I don't have done anything like that for myself.

Go to top


Re: Netgear WNCE2001 power led blinking
Just popping in
Just popping in


@JosDuchIt

I think the fclose() should be enough for AmigaOS.

Go to top


Re: Netgear WNCE2001 power led blinking
Just popping in
Just popping in


@JosDuchIt

SYS:Prefs/Internet?

And you don't need a gateway if the IP-Adresses are on the same subnet (which 192.168.1.2 and 192.168.1.251 with a subnet mask of 255.255.255.0 are).

Go to top


Re: need to get my LaserJet 2600n working via my network router
Just popping in
Just popping in


@328gts

As I understand it the HP Color LaserJet 2600n is a host-based Printer, which means each page must be rendered on the "host" computer and then send to the printer.

I don't think this is supported on Amiga.

Go to top


Re: Filer 53.32, final release
Just popping in
Just popping in


@Amigo1

Quote:
is there a way to make Filer open an ASL requester and change to the selected DIR.


It's one main purpuse of Filer to change paths *inside* the Filer itself. What would be the benefit of opening a filerequester where you click throu the dirs whan you can do it in Filer itself?

If you have favorite dirs you want to change to, make a userbutton for each of them:

$CD MY:Favorite1
$CD MY:Favorite/Dir2
...


Go to top


Re: Radeon 9250 on x1000
Just popping in
Just popping in


@Slayer

here you go Goos post

Go to top


Re: Would Unicode (UTF-8 or UTF-16) improve the situation? Can someone explain in layman terms if and w
Just popping in
Just popping in


@LiveForIt
Quote:
I agree, and here are some code I just wrote.


Your code could be seen as an security risk because it does not filter out illegal UTF-8 sequences.

see http://tools.ietf.org/html/rfc3629#section-10

(edit: added url)

Go to top


Re: Way is there 3 prefs programs for Language settings?
Just popping in
Just popping in


@LiveForIt

If you're not happy with the copy solution (and iprefs), you can also use the prefs programs (which should understand all of its own versions). They normaly have a template like "FROM,USE/S,SAVE/S,EDIT/S":

SYS:Prefs/Locale FROM myLocalePrefsFile USE
SYS:Prefs/Input FROM myInputPrefsFile USE

should do the job.

Go to top



TopTop
(1) 2 3 4 ... 6 »




Powered by XOOPS 2.0 © 2001-2023 The XOOPS Project