Hi guys,

--- Ravi wrote:

> I think I'm going to retire my own script - and instead send you
> any improvements or suggestions I might have. So as of this
> moment my script is deleted and I recommend people use Alex's
> instead.

I'm flattered to hear this and I'm definitely open to any input of
yours.

> From the readme, perhaps a typo:
> ...

Thanks for that. I'll fix that for the next release.

> Any ideas on why aliases don't work the first time ARB is called?

As much as I hate to say this (as it generally turns out that it's an
error on my part)�� :-) I really think that it's a PowerPro error of
some sort. It was happening with your script as well, and occasionally
when I run my script the first time after a modification, or after
starting PowerPro, I get a weird error message along the lines of
�Invalid auto-completion keyword: v1.1�, clearly referring to what I
typed for the Title parameter of InputDialog()...

> With the Add function - I have a question. The line:
> ... ++ "'r'n'r'n" ++ ... ++ "''", "''''"), "'"", "'''"") ++ "'", ...

> Works better for me without some of the 'r characters. In my
> editor I can see them as extraneous characters that seem to serve
> no purpose.

It's true that they don't serve much purpose�� the exact same thing
can be accomplished with none of the 'r characters at all. However,
since Windows considers 'r'n to be a true new line, I've made sure
that whenever I write to a file, it's like that.

As you may notice further up in the script, I parse all 'rs out
anyway, so I could just not write 'rs in. The reason I do this though
is that if someone edits one of the files in an editor, which adds the
'r character to each line, had I not programmed my script to remove
them, there'd be all sorts of trouble.

When you say �works better for you�, do you mean that it's easier on
your brain, that it gives a noticeable performance improvement, or
that it simply doesn't work in its originally supplied form?

> If you wanted to make the alias handling more gui-oriented, you
> could have a similar "Delete" function that would delete the
> specified alias.

> The command would be "Delete AliasName" and you'd delete
> everything from @AliasName to before the next @ symbol that
> starts a line.

Sounds good to me! And if you weren't to include a parameter, then
David's suggestion to provide auto-complete functionality would be
great:

--- David wrote:

> or you could have just "Delete" as the alias...and then have another
> autocompleting inputdialog pop up on running that. Then you type in
> the command to delete there.

So I'll start working on that sometime tonight.

> Looks like a bit of a glitch that it's not refreshing the arblist
> often enough (on .arb("Load") might be a good time to rebuild that
> file)

The idea of the alias list file is one from Ravi's script. It
essentially allows a quicker startup by reading this file, which
should contain all the aliases in the script, without having to
actually parse the script.

If I were to parse the script at PowerPro startup (or at some other
point before the ARB box is first shown), thereby guaranteeing that
ARB will contain all of the current aliases, this file would not be
needed. Instead, everything would only be stored in memory as opposed
to being stored in memory AND in a file.

The only reason this file exists is for startup performance. Would
anyone like to give me some feedback on whether I should keep or
obliterate this particular file?

Best regards,
Alex

ICQ# 37414292



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/JV_rlB/TM
---------------------------------------------------------------------~->

****  EDIT YOUR POSTINGS !!!! ****
Please remove as much as possible from original messages before replying to them.
________________________________________________ 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
     http://groups.yahoo.com/group/power-pro/

<*> To unsubscribe from this group, send an email to:
     [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
     http://docs.yahoo.com/info/terms/
 

Reply via email to