Re: filing attachments (was Re: Script to delete orphaned attachments?)

2007-11-27 Thread Justin Beek
I hate the renaming of attachments by PowerMail and I have petitioned for a
fix a few time. It's not a real issue with anyone else, I guess.

Justin


On 11/27/07 1:18 PM, "angel Kyodo williams | urbanPEACE"
<[EMAIL PROTECTED]> wrote:

> I'm not certain if this feature has been requested, but it would
> be really helpful for me to be able to file attachments in their
> appropriate folders in my overall file structure rather than solely
> have things in PM's attachment folder where i have to move them
> (and potentially orphan them.)
> 
> Does anyone know of a script that does this for now?
> 
> angel
> 
> 
> 
> Quoting Ben Kennedy <[EMAIL PROTECTED]>:
> 
>> Justin,
>> 
>> This sounds very useful.  Can you share?
>> 
>> -ben
>> 
>> Justin Beek wrote at 10:33 AM (-0600) on 11/27/07:
>> 
>>> I have a script that will move the attachments in the messages to separate
>>> folders based on the Message ID Number.
>>> 
>>> After you run the script on all your messages, any files leftover *should*
>>> be safe to trash.
>>> 
>>> It's a pretty nice script for Spring Cleaning. For example, if you have 5
>>> messages with 5 attachments each, you'll end up w/ 5 folders instead of 25
>>> files.
>>> 
>>> Good Luck,
>>> Justin
>>> 
>>> 
>>> On 11/27/07 10:18 AM, "Bill Courington" <[EMAIL PROTECTED]> wrote:
>>> 
>>>> Is there such a thing? I've got about a zillion files in the Attachments
>>>> folder and I'm pretty sure (not positive) that many of them belong to
>>>> trashed messages.
>>>> 
>>>>   Bill
>>>> 
>>>> 
>>>> 
>>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>> 
>> --
>> Ben Kennedy (chief magician)
>> zygoat creative technical services
>> http://www.zygoat.ca
>> 
>> 
>> 
>> 
> 
> 
> 
> PM 5.5.3 | OS X 10.5.1 | Powerbook G4/1.5 | 2G RAM | 80GB HD
> 
> 
> 
> 







Re: Script to delete orphaned attachments?

2007-11-27 Thread Justin Beek
Here it is. It does have some issues:

On older versions of PowerMail, having it set as an outgoing rule might
crash PowerMail.

And if you set it as a rule for all incoming, all the attachments will go
into a folder named "-1" (issue w/ Finder & Powermail).

I just run it every few weeks to *fix* the folders from the "-1" to the
"correct" folder.

Please be careful and test it before implementing. :)

Justin Beek



global theFolder

tell application "PowerMail"
set attachFolder to attachment folder

set theMessages to current messages
repeat with msg in theMessages
set msgStatus to status of msg

set attachList to attachments of msg
if (count items of attachList) > 0 then
set theID to the ID of msg
set msgAttachFolder to ""
set msgAttachFolder to theID
set msgAttachFolder to msgAttachFolder

tell application "Finder"
if not (exists folder (attachFolder & msgAttachFolder as string)) then set
theFolder to (make new folder at attachFolder with properties
{name:(msgAttachFolder as string)})
else
set theFolder to folder (attachFolder & msgAttachFolder as string)
end if
end tell
repeat with attachIdx from (count items of attachList) to 1 by -1
set attachFile to file of (item attachIdx of attachList)
tell application "Finder"
set newAttachFile to (move attachFile to theFolder without replacing) as
alias
end tell
delete attachment attachIdx of msg
make new attachment at msg with properties {file:(newAttachFile as alias)}
end repeat
end if
end repeat
end tell



On 11/27/07 12:37 PM, "Ben Kennedy" <[EMAIL PROTECTED]> wrote:

> Justin,
> 
> This sounds very useful.  Can you share?
> 
> -ben
> 
> Justin Beek wrote at 10:33 AM (-0600) on 11/27/07:
> 
>> I have a script that will move the attachments in the messages to separate
>> folders based on the Message ID Number.
>> 
>> After you run the script on all your messages, any files leftover *should*
>> be safe to trash.
>> 
>> It's a pretty nice script for Spring Cleaning. For example, if you have 5
>> messages with 5 attachments each, you'll end up w/ 5 folders instead of 25
>> files.
>> 
>> Good Luck,
>> Justin
>> 
>> 
>> On 11/27/07 10:18 AM, "Bill Courington" <[EMAIL PROTECTED]> wrote:
>> 
>>> Is there such a thing? I've got about a zillion files in the Attachments
>>> folder and I'm pretty sure (not positive) that many of them belong to
>>> trashed messages.
>>> 
>>>   Bill
>>> 
>>> 
>>> 
>>> 
>> 
>> 
>> 
>> 
>> 







Re: Script to delete orphaned attachments?

2007-11-27 Thread Justin Beek
I have a script that will move the attachments in the messages to separate
folders based on the Message ID Number.

After you run the script on all your messages, any files leftover *should*
be safe to trash.

It's a pretty nice script for Spring Cleaning. For example, if you have 5
messages with 5 attachments each, you'll end up w/ 5 folders instead of 25
files.

Good Luck,
Justin


On 11/27/07 10:18 AM, "Bill Courington" <[EMAIL PROTECTED]> wrote:

> Is there such a thing? I've got about a zillion files in the Attachments
> folder and I'm pretty sure (not positive) that many of them belong to
> trashed messages.
> 
>   Bill
> 
> 
> 
> 







Re: OS 10.5 compatibility

2007-10-26 Thread Justin Beek
Have you tried trashing the file "User Prefs" and rebuilding the  
account from scratch?



On Oct 26, 2007, at 12:56 PM, T.L. Miller wrote:


On 10/24/07, at 2:54 PM, Ira Lansing [EMAIL PROTECTED] said:

Does anyone have a sense of PowerMail's compatibility with the  
soon-to-

be-released OS 10.5?


I cloned my HD with SuperDuper to a FWHD, erased the HD on my iMactel,
installed Leopard on my iMactel's HD, then used Migration Assistant to
move everything over from the clone. PowerMail didn't connect -- my
passwords were missing. Every time I put them back and save they
disappear and PM can't connect.

I restarted using the clone (10.4.10) and all is well, but I'm  
going to

have to figure why my PM passwords won't stick in 10.5.


Tom Miller
..
"The only time we see the middle of the road is as
we run from side to side." R.O.Clark
...














Re: Issues with EPS attachments?

2007-10-16 Thread Justin Beek

We are getting these from non-teachable customers. :(

But yes, ZIPs work just fine!



On Oct 16, 2007, at 12:47 PM, Mikael Byström wrote:


Justin Beek asked:


Are we the only ones having this issue?
Is there a fix?


Do you zip the files or not? ie do you compress them?

If not, that should do the trick.
Mikael

Tech facts:
PM 5.5.3 Swedish | OS X 10.4.5 | Powerbook G4/550Mhz | 1GB RAM |  
80GB HD












Re: Anyone using Networked PowerMail Folder?

2007-10-10 Thread Justin Beek

It was 1-2 per week before the upgrade. Now it is 1-2 per day.

We have had a couple of DB issues but that happened about only twice  
in 3 years.


Thanks
Justin

On Oct 10, 2007, at 10:49 AM, A-NO-NE Music wrote:


Justin Beek / 07.10.10 / 11:40 AM wrote:


Ever since we upgraded from 5.1 last month, we have been getting a
LOT of corrupted attachments.

We do have the PowerMail folder & App on the server so it gets backed
up nightly. I am guessing that the networking of the folder must be
the issue since no one else is having this problem.


Long time ago, like PM was still v3 and v4, I had PM folder on my  
Linux
server, and was experiencing the corruption, not only attachment  
but db
itself so I had to ditch the idea.  I was surprised you had been OK  
till v5.1.


--

- Hiro

Hiroaki Honshuku, A-NO-NE Music, Boston, MA
<http://a-no-ne.com> <http://anonemusic.com>












Anyone using Networked PowerMail Folder?

2007-10-10 Thread Justin Beek
Ever since we upgraded from 5.1 last month, we have been getting a  
LOT of corrupted attachments.


We do have the PowerMail folder & App on the server so it gets backed  
up nightly. I am guessing that the networking of the folder must be  
the issue since no one else is having this problem.


Is there anyone running PowerMail off a server install that could  
help me figure out why our attachments are being corrupted?
Especially any users that are capable of opening EPS files that I  
could send some files to see if your install duplicates the corruption.


FYI: Webmail & (local) Apple Mail work fine. Have already email CTM  
Support. Will try testing other networked email apps soon.


Thanks,
Justin Beek

- -- --- --- - --- --- -- -
Justin Beek
Art Director
Century Manufacturing, Inc.
3351 N. Webb Road
Wichita, KS 67226
P: 1.316.636.5423
F: 1.316.636.5583








Issues with EPS attachments?

2007-09-25 Thread Justin Beek
We finally upgraded to version 5.5.3 of PowerMail. However, since the  
upgrade, we have been having issues with EPS files not downloading  
correctly.


More than half of the EPS attachments show a smaller file size that  
they should, thus, are corrupt when trying to open. And it's *only*  
EPS files.


Notes:
If we download via WebMail - they are OK
If we set up an account in Apple Mail, they are OK
We have contacted Support (no response)

Are we the only ones having this issue?
Is there a fix?

Thanks,
Justin

PowerMail version: PowerMail version 5.5.3 build 4480 English (intel)
Mac OS version: 10.4.9




Re: A network interface error occurred <- this is bad

2007-08-29 Thread Justin Beek

Are you running / connecting to a "MDaemon Email Server"?

We had had a similar issue.

The fix (you'll love this):
Login into WorldClient (webmail)
Change the password to anything new
Change the password back to what it was
Check using PowerMail again

As weird as it sounds, we have ONE account that we have have to do  
this every 4-6 months...


Good Luck
Justin

On Aug 29, 2007, at 11:31 AM, The Monster Team wrote:


On 8/29/07 at 11:27 AM, Marlyse Comte ([EMAIL PROTECTED]) said:


I had it already happen in a similar case that I just had to re-enter
the password in PM - even though it hadn't changed.



marlyse,

Yeah, I thought that too - have re-entered it (superstitiously)  
probably

a half a dozen times already.

:-\

Steve












Re: locking PowerMail on download

2007-04-02 Thread Justin Beek

We have run into this many times before. (Once every couple months)

Usually, it is an HTML message with fractional text (1/4) or foreign  
language issues.

Only a few times it has been corrupt messages.

What we do:
1. Use webmail to move all messages from Inbox to Drafts folder.
2. Open Powermail and verify that checking empty folder is OK.
3. Move messages one-at-a-time (or in groups if you're impatient like  
me) until you narrow it down.
4. If you REALLY need that message try forwarding back to yourself as  
non-rich text message(sometimes will remove HTML junk)


Good Luck,
Justin

On Apr 2, 2007, at 12:10 PM, Alan Harper wrote:

I am getting emails, I think from Russia, that are causing  
PowerMail to

lock up.

When I get my email, it starts to download the emails (using POP), and
then hangs. I have to restart PowerMail, and then it rebuilds its
indices (a 5 minute process). It then hangs on the first email that it
tries to download (and luckily does not have to rebuild its indices
after a second force-quit).

I have not isolated the email in question--it will take some time
fiddling with the web-interface and I haven't had time to do so.  
What I

do right now is go to the web interface at my ISP and delete all the
spam in my inbox and then it works again.

Any thoughts about what might be causing this? Is this a general  
problem

with email clients, or a PowerMail-only issue?

TIA

A












Re: Multiple databases (yet again)

2007-01-30 Thread Justin Beek

There's always Mailsmith (that hasn't been updated for almost 2 years)
http://www.barebones.com/products/mailsmith/index.shtml

It saves the Mail as a bundle with a DB for each folder. As long as  
you can keep the folders under 2GB - you're OK.


However, it's search speed and AppleScript support are quite lame  
compared to PowerMail.


Good Luck,
Justin


On Jan 30, 2007, at 12:18 PM, Jeremy Hughes wrote:


Steve Abrahamson (30/1/07 16:22) said:


Since the 2 gig database limit is going to remain, I need to start
either looking at multiple-database operation, or looking for a  
new mail

client. I'd rather not leave PowerMail


I'm in the same position: I'd rather not leave PowerMail, but from  
past

experience multiple (user-created) databases are not a solution.

What I'd like to happen is that the database is split into one  
database

per mailbox/folder (which is what I think Apple Mail does), and the 2
gig limit applies to each folder rather than to the entire database.

Otherwise, I will find another mail client.

Jeremy










Re: Ultimate Spam

2007-01-29 Thread Justin Beek

Have you looked at:
http://www.hendricom.com/services.htm

from these dudes who make:
http://www.emailcrx.com/Welcome.html




On Jan 29, 2007, at 3:01 PM, Richard Hart wrote:


(1) Does any hosting service or ISP offer you the capability to bounce
spam? I know many offer excellent SPAM sequestering tools, even  
deleting

offending messages so you never have to see them.

But what I'd like to do is have my mail server bounce messages from
specific IP addresses. For this service, I would switch mail service
providers in a heartbeat.

(2) What is the best way to deal with the relatively recent phenomenon
of GIF spam. You know the ones. The Subject and body are random text.
The attachment is a graphic containing the spam pitch. I haven't been
able to derive a common identifier for them in the headers, and  
they are

not easy to define in a spam rule.

Richard Hart










Re: greeting card malware?

2007-01-29 Thread Justin Beek
Look through the headers. Look for a Lookup warning. It may show that  
it is from someone else:
X-Lookup-Warning: MAIL lookup on [EMAIL PROTECTED] does not match  
201.69.126.198


If your server doesn't perform Lookups, look for the originating IP  
and see if it is from your domain:

Return-path: <[EMAIL PROTECTED]>
Received: from smtp.-snip-.com (201-69-126-198.dial-up.telesp.net.br  
[201.69.126.198])


I would guess that  it is NOT coming from your network.

Justin

On Jan 29, 2007, at 8:04 AM, Mark Gerber wrote:

This isn't specific to PowerMail, but I'm hoping someone can point  
me in

the right direction to solve this problem.

For the past several weeks I've been getting a lot of e-mail dumped  
into

my Spam folder with the subject indicating "delivery failed." They are
from addresses I don't know and are responding to an e-mail from my
domain (using a random name, for instance: hpbxx @ gerberstudio.com).
There is often an attachement named something like "Greeting Card.exe"
involved.

As far as I've been able to find out I seem to have been infected with
the "Happy New Year" worm, but I haven't found a solution for OS X.  
Does

anyone know where I can get more information?

Thanks.
Mark

Mark Gerber
GERBER STUDIO/Tradigital Illustration












Re: How to set up Growl?

2007-01-12 Thread Justin Beek

here's what my older, but working, script is:

tell application "PowerMail"

	-- this script offers rudimentary use of Growl: [url]http:// 
growl.info[/url]

-- At the time of writing, Growl is at version 0.5
	-- See the site for more info about Growl, the global notification  
system for OS X.
	-- Cobbled together by Robert Black ([url]http:// 
www.robertblack.com.au[/url]), based on an example script

-- included with PowerMail.

-- PowerMail info: [url]http://www.ctmdev.com/[/url]


	-- To use this script, you must first have Growl installed. See [url] 
http://growl.info/downloads.php[/url]
	-- Next, copy this script to ~/Mail/PowerMail Files/Custom Scripts/ 
Growl.scpt
	-- Then in PowerMail set up a Filter with an "Execute AppleScript"  
action, and choose "Growl"

-- If "Growl" isn't in the list of scripts, quit and relaunch PowerMail

	-- Now, when one or more emails arrive, which match your filter's  
"Conditions", Growl will

-- display the Sender and Subject of the first email to you.

set theMessages to current messages
if the number of items of theMessages is 0 then
display dialog "Error - This is meant to be called by a filter."
end if

set fl_Simple to true
	-- In my experience it's not a good idea to repeat this if multiple  
emails arrive at the same time,
	-- since the notifications are sequential, but the code's here if  
you want to try it.

-- Just change to "set fl_Simple to false"


repeat with msg in theMessages
set s to subject of msg
set f to sender of msg
set f to display name of f
tell application "GrowlHelperApp"
notify title f description s icon of application 
"PowerMail.app"
end tell
if fl_Simple then -- run only with the first message
exit repeat
end if
end repeat

end tell


On Jan 11, 2007, at 8:17 PM, Sean McBride wrote:




I had a hell of a time too, I forget how I got it working.  Did you
check this list's archives, the answer should be there.








Re: New for PowerMail

2006-12-06 Thread Justin Beek

I have been looking at the big brother to it, "[EMAIL PROTECTED]":
http://www.emailcrx.com/Welcome.html

What looks cool about it is that you can block by countries. For  
example, I don't think I will ever get a legitimate email from  
Czechoslovakia   or Russia, so I can block those countries and stop  
20% of my spam immediately.


Good luck,
Justin

On Dec 6, 2006, at 11:04 AM, Richard Hart wrote:

Sidewinder now supports PowerMail. Has anyone tried it? Is it worth  
$19.95?




Richard Hart




[EMAIL PROTECTED]




Re: How to get CC address via AppleScript

2006-10-24 Thread Justin Beek
They both work great for single CC's. However, I am still trying to  
get multiple CC's to work.


So far the closest I can get is:
set CCList to {}
try
tell application "PowerMail"
activate
set msgList to the current messages
repeat with msg in msgList
set MyRecipients to every recipient of msg
repeat with i from 1 to count of MyRecipients
set MyLoopItem to item i of MyRecipients
if recipient type of MyLoopItem is cc recipient 
then
set myTempAddress to address of 
MyLoopItem
set myNewTempN to display name of myTempAddress & 
" " as text
set myNewTemp to "<" & email address of myTempAddress 
& ">" as text
set CCList to CCList & myNewTempN & 
myNewTemp as list
-- SNIP of all my other junk
end if
end repeat
    end repeat
end tell
end try

Thanks to all that helped.
Justin Beek


On Oct 20, 2006, at 8:46 PM, Wayne Brissette wrote:


This one works

set CCList to {}

tell application "PowerMail"
set msgList to the current messages
repeat with msg in msgList
set MyRecipients to every recipient of msg
repeat with i from 1 to count of MyRecipients
set MyLoopItem to item i of MyRecipients
if recipient type of MyLoopItem is cc recipient then
set myTempAddress to address of MyLoopItem
set myNewTemp to email address of myTempAddress 
as string
set CCList to CCList & myNewTemp as list
end if
end repeat
end repeat
end tell



On Oct 23, 2006, at 2:39 AM, PowerMail Engineering wrote:




set recipList to recipients of msg
repeat with recip in recipList
if recipient type of recip is cc recipient then
set recipAddr to address of recip
display dialog display name of recipAddr & " " & email address
of recipAddr
end if
end repeat


Jérôme - PowerMail Engineering








How to get CC address via AppleScript

2006-10-20 Thread Justin Beek
I am still trying to figure out how I can get all of recipients of a  
message , including the CCs, via AppleScript.

Anyone have a working example of how it is done?

Thanks,
Justin Beek

- -- --- --- - --- --- -- -
Justin Beek
Art Director
Century Manufacturing, Inc.
3351 N. Webb Road
Wichita, KS 67226
P: 1.316.636.5423
F: 1.316.636.5583








Re: Copying address bug still there

2006-10-10 Thread Justin Beek
If I open the individual address from the address book. I get the  
copy error also.


BTW: Copy via the main Address Book window copies only the name - not  
the email address.


Justin Beek

PowerMail version: PowerMail version 5.2.3 build 4406 English
Mac OS version: 10.4.8


On Oct 10, 2006, at 10:54 AM, Charles Watts-Jones wrote:


On 10 October Alan Harper wrote:


Open PowerMail's address book, open a contact in the address
book, click on an email address for that contact and Copy. A
message pops up: "An error occurred: Error -4989".


Can't reproduce it on my machine.  That sequence of keystrokes works
perfectly.

-- Charles 


PM 5.5fc1 - Intel iMac - OS 10.4.7










Best script syntax for a forward w/ notes added to message AND show CC address?

2006-10-05 Thread Justin Beek
I have a script that forwards an incoming message w/ the following  
added:

1: the text list of attachments (which are saved to the server)
2. the path of the attachments to the server
3. any other needed notes.

BUT, I have a problem keep arising that we don't know who the the  
salesperson was because my script won't show any CC addresses (and it  
goes to the unknown pile and gets lost)


I have tried different scripts that work great with forwarding the  
message but don't allow the addition of the custom text to the body  
of the message.


I have downloaded and played with about every PowerMail forward  
script I can find but can't find a better solution. I can't use the  
source because of all the extra headers.


Anyone have a script I can modify or offer any help?

Thanks,
Justin Beek




Re: [ANN] PowerMail Universal 5.5b2 now available

2006-09-20 Thread Justin Beek

Please explain.
(We have a site license for ZipIt but I stopped using it.)

Justin

On Sep 20, 2006, at 2:25 PM, Mikael Byström wrote:


Matthias Schmidt said:

But I'd also prefer zip as this is also useful while sending to  
Windoze

userser ;-)


The builtin "zip" function in Mac OS X is NOT fully Windows-compatible
though. At least not in my experience. Why this is so I have no  
idea.  I
got ZipIt  instead. "a Macintosh program  
that
zips and unzips archives in a format fully compatible with PKZip  
for the

IBM and zip implementations on other systems".

PM 5.2.3 Swedish | OS X 10.4.5 | Powerbook G4/400Mhz | 1GB RAM |  
30GB HD










Re: widget or applicationswitch-interactivity

2006-08-22 Thread Justin Beek

Growl:
http://growl.info/

On Aug 22, 2006, at 11:16 AM, Per Åström wrote:



Hi, since I upgraded my computer to a Macbook I also started using
widgets (since it works so well). I would appreciate something to
display new events in Powermail, similar to the Gmail-widget:

or something more creative. It would be nice not to have to switch  
to PM
to see if I have recieved a new mail (I'm not talking about the  
bouncing

icon or the other notifications). Anything out there?

/per å











Re: PowerMail Crashes after moving to newer Mac

2006-08-17 Thread Justin Beek

I would guess a permissions issue. (?)
You *could* install a fresh copy, make a new user and compare those  
permissions to what you have on the old PowerMail folder / files.

We had a similar issue when we tried putting the "PowerMail Files" on  
a server. We had to correct the folder & file permissions to get it  
to work. (It's still a little buggy with attachment permissions - but  
at least it get backed up every night now)

Good Luck,
Justin

On Aug 17, 2006, at 8:47 AM, Art Wheat wrote:
> Hello:
> I've had a terrible time getting PowerMail to work on my new Mac.  
> It will launch OK but when I open most other windows within the  
> application it crashes.
>
> Any words of wisdom or help from someone who has had similar  
> problems would be greatly appreciated.
>
> I'm running on a G5 iMac
> 2GB of RAM
> Mac OS X 10.4.7 (8J135)
> PowerMail 5.2.2 with SpamSeive 2.4
>
> Sure would like to get back to using PowerMail.
> Thanks again for any help,
> Art
>
> -- 
> Art Wheat
> SiteSteward, Inc.
> (585) 647-1101 - Voice
> mailto:[EMAIL PROTECTED]
> http://www.SiteSteward.com
> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  
> - -
>
>







Re: .mac question

2006-06-21 Thread Justin Beek

In the "Mail Scheduling and Locations"
next to the Connect on Startup (check should be checked)
Click on the Accounts button and check all the accounts you want.

Justin

On Jun 20, 2006, at 3:59 PM, Steve Beasley wrote:

> When the app starts up it will connect just one of the accounts to  
> the IMAP server but not both. I definitely want to keep the mail  
> separate.
>
>
> On Jun 20, 2006, at 1:42 PM, Wayne Brissette wrote:
>
>> When you say "connect" them, what do you mean? You can filter  
>> all .mac mail into a single folder if that's what you're looking for.
>>
>> Wayne
>>
>>
>>
>
>
>







Re: Re(4): Problem running AppleScript that creates email

2006-06-03 Thread Justin Beek

This script *might* help. It has functions similar to what you are  
trying. The list has helped me tweak this, so I consider it Public  
Domain. Feel free to copy/cut/edit it as much as you want.

global theFolder

tell application "PowerMail"
set attachFolder to attachment folder
set theMessages to current messages
repeat with msg in theMessages
set msgStatus to status of msg
set attachList to attachments of msg
if (count items of attachList) > 0 then
set msgAttachFolder to ""
set msgAttachFolder to msgAttachFolder & (ID of msg)
tell application "Finder"
if not (exists folder (attachFolder & 
msgAttachFolder as string))  
then
set theFolder to (make new folder at 
attachFolder with  
properties {name:(msgAttachFolder as string)})
else
set theFolder to folder (attachFolder & 
msgAttachFolder as string)
end if
end tell
repeat with attachIdx from (count items of attachList) 
to 1 by -1
set attachFile to file of (item attachIdx of 
attachList)
tell application "Finder"
set newAttachFile to (move attachFile 
to theFolder without  
replacing) as alias
end tell
delete attachment attachIdx of msg
make new attachment at msg with properties 
{file:(newAttachFile  
as alias)}
end repeat
end if
end repeat
end tell



On Jun 2, 2006, at 10:16 AM, George Henne wrote:

> (Wayne: I think I understand you, but the changed code does the  
> same thing)
>
> Here's the latest code.
>
> tell application "PowerMail"
>   set theMessages to current messages
>   repeat with msg in theMessages
>   -- put your code here to do something on each message msg
>   
>   if exists (attachments of msg) then
>   set fileList to attachments of msg
>   repeat with theFile in fileList -- this code does not 
> handle  
> multiple
> CSV attachements
>   set fname to theFile's name
>   if fname contains ".csv" then
>   set myFile to theFile's file
>   set theText to my readFile(myFile)
>   end if
>   end repeat
>   else
>   set theText to the content of msg & time sent of msg
>   end if
>   end repeat
> end tell
>
> -- now send the text to Hypercard
> set the clipboard to ((theText) as text)
> tell application "SuperCard 4.5"
>   activate
>   do script "go to card 1 of stack NSB Invoice SC"
>   do script "send mouseUp to cd button CopyClipboard"
>   do script "send mouseUp to cd button UpdateImport"
> end tell
> -- SuperCard will now generate the reply
>
> on readFile(theFile)
>   read theFile
> end readFile
>
>
>> Try moving your tell statements.
>> Close the tell for PowerMail, then run your SuperCard, then open a  
>> new
>> Tell statement for Powermail to create a new message. That should fix
>> the problem. It will also prevent PM having to wait for SuperCard  
>> to finish.
>>
>> Wayne
>>
>> -Original Message-
>>> From: George Henne <[EMAIL PROTECTED]>
>>> Sent: Jun 2, 2006 9:34 AM
>>> To: Wayne Brissette <[EMAIL PROTECTED]>
>>> Subject: Re(2): Problem running AppleScript that creates email
>>>
>>> Wayne,
>>>
>>> That's very kind.
>>>
>>> I simplified the explanation a bit on the board. The AppleScript
>>> actually calls Supercard, which is sending the message to  
>>> Powermail; but
>>> I think the principle is the same.
>>>
>>> tell application "PowerMail"
>>> set theMessages to current messages
>>> repeat with msg in theMessages
>>> -- put your code here to do something on each message msg
>>> 
>>> if exists (attachments of msg) then
>>> set fileList to attachments of msg
>>> repeat with theFile in fileList -- this code does not 
>>> handle  
>>> multiple
>>> CSV attachements
>>> set fname to theFile's name
>>> if fname contains ".csv" then
>>> set myFile to theFile's file
>>> set theText to my readFile(myFile)
>>> end if
>>> end repeat
>>> else
>>> set theText to the content of msg & time sent of msg
>>>   

Re: Problem running AppleScript that creates email

2006-06-02 Thread Justin Beek

There might be a minor syntax error in your script.

Can you post it?

Justin


On Jun 2, 2006, at 9:05 AM, George Henne wrote:

> I have an AppleScript that runs as a result of a mail filter. One  
> of the
> things it does is create a PowerMail message. The script runs fine by
> itself: the problem is that it hangs when it is called from PowerMail.
>
> From what I can determine, PowerMail starts the script and waits  
> for it
> to finish. The script tries to add an email to PowerMail's inbox, but
> PowerMail is not accepting events.
>
> Can anyone think of a way around this? We need PowerMail to start the
> script, then stop waiting for it.
>
> George Henne
> NS BASIC Corporation
> http://www.nsbasic.com
>
>
>







Re: Database size limit

2006-05-31 Thread Justin Beek

How about adding a small "DB Checker" to the program? If it could pop  
up an alert when you hit 1.9GB that would save a lot of headaches and  
lost time / money.

Heck, I would even settle for a script.

Justin


On May 31, 2006, at 7:06 AM, PowerMail Engineering wrote:

> Marco Piovanelli wrote:
>
>> Why?  Because the integrated FoxTrot search works so well that
>> it has revolutionized my approach to mail. I find myself using
>> PowerMail more and more as a tool to mine hidden gems of
>> information buried deep in several years' worth of archived
>> mailing lists. Heck, for the programmer-oriented information I
>> need, FoxTrot often beats Google (let alone Spotlight). But this
>> power comes at a price: I can't afford to remove old messages,
>> and my DB is slowly growing towards the dreaded 2 GB limit.
>
> One solution to this problem is to archive old messages to a separate
> PowerMail database, and use FoxTrot Personal Search to index all your
> message databases, email attachments, and other "programmer-oriented
> information".
>
>
> Jérôme - PowerMail Engineering
>
>
> -
>"There's a reason Mac users from different countries have chosen  
> this
> very good program. 1) It just works. 2) It's not bloated like some
> other mail applications. 3) And it's better than Mail, the  
> program that
> comes with OS X. Honest. Would I recommend PowerMail? Definitely."
>   PowerMail user comment on www.versiontracker.com
>
>
>  Download a demo version from www.ctmdev.com
> -
>
>
>







Re: PowerMail fails me with partial download of attachment

2006-05-24 Thread Justin Beek

What we do:

Go into WebMail (hope you can)
move the problem message to drafts
open PowerMail.
send and receive (should be OK)
quit PowerMail
move message back to inbox
open PowerMail and it should download OK.

We have this problem at least once every 3 months.

Justin



On May 23, 2006, at 3:17 PM, Mikael Byström wrote:

>
> I have a 3.9MB attachment with an important file for my son, that I  
> sent
> myself. The connection hung after 891KB (up to that point it was  
> moving
> really fast) so I restarted it. PowerMail first connected on me
> selecting the popup menu for "get now" and found nothing. After  
> this it
> connects, checks for new messages and disconnects, but I can't choose
> anymore to get the rest of the message during the next connection.  
> What
> happened to my attachment?
>
> Server status is empty, but so are all the messages of my inbox.  
> H.
>
> Considering that PowerMail keeps re-downloading messages if the
> connection is broken, this behaviour I get is non-consistent. Did PM
> actually tell my server to delete the message even as it hasn't been
> downloaded?
>
> This is the area that will soon make abandon PowerMail, unless  
> something
> is done. Fetching messages and attachment is at the core of an email
> application and if I can't have that, I'm gone baby. I can live with
> other small errors, but not this area. The silence of CTM even as I
> volunteered to bug-test similar problems earlier, is not encouraging
> either. I think it's time for a new business model for PowerMail  
> because
> the current one doesn't seem to work.
>
> PM 5.2.3 Swedish | OS X 10.4.5 | Powerbook G4/400Mhz | 1GB RAM |  
> 30GB HD
>
>
>







Re: 3 newbie questions

2006-04-19 Thread Justin Beek


On Apr 18, 2006, at 11:58 AM, Ken Pope wrote:

> First, how can I make PM my default email program (i.e., when I hit an
> email address while using Firefox, it still calls up Entourage)?
>
In the extras folder, open MisFox. Change it there.


> Second, I have tens of thousands of old Entourage messages stored  
> on my
> hard drive in mbox format.  I'd love to import these folders into  
> PM so
> that they'll be instantly searchable on PM and also on Foxtrot.
> However, I'm concerned that having those extra messages might slow  
> down
> PM or make it unstable (although I've started routinely compacting the
> PM database daily).  Does anyone know if adding huge amounts of  
> messages
> will make PM unstable in any way (in which case, it would not be worth
> it for me) or would significantly slow it?  Do I risk reaching some  
> limit?

I would vote "Go for it!".
However, a cautious  person could back up the PowerMail folder before  
importing (just incase)


> Finally, is there any way that I can set PM so that whenever I  
> start the
> program, the mail browser automatically appears?

As long as the window is open when you quit - it should be open when  
you start.
If not, you might have a permissions issue.


> Thanks for your help with this.
>
> Ken
>

Good Luck,
Justin


P.S. Don't forget to look at /  experiment with the scripting  
abilities of PowerMail. Those scripts make my life much better...






Re: Growl + Tiger + PowerMail?

2006-04-14 Thread Justin Beek

It works!

I will try and get the people at Growl to update the downloads...

Thanks,
Justin

On Apr 13, 2006, at 9:32 AM, Tim Hodgson wrote:

> On Wed, Apr 12, 2006 at 11:02 pm -0500, Justin Beek wrote:
>
>> I just installed Growl today (seems cool so far). The main I reason I
>> wanted to try it was for PowerMail notifications. However, it seems
>> to be broke.
>>
>> Error: "GrowlHelperApp got an error: Some parameter wasn't  
>> understood."
>>
>> If there is anyone that knows the trick to get it to run - I'd really
>> like to know.
>
> Here's Jérôme's advice from last August, when the same (I think)
> question came up. It worked for me!
>
> -- 
> ---
>
> The script is probably outdated and does not seem to work with the
> latest version of Growl. Try to put something like this in the tell
> application "GrowlHelperApp" block (write it in 3 lines):
>
> set myAllNotesList to {"Mail Received"}
>
> register as application "PowerMail Notification Script"
> all notifications myAllNotesList default notifications  
> myAllNotesList
> icon of application "PowerMail.app"
>
> notify with name "Mail Received" title f description s
> application name "PowerMail Notification Script"
>
>
>
> Jérôme - PowerMail Engineering
>
> -- 
> ---
>
> TimH
> --
> TimH
>
> PowerMail 5.2.3 | OS X 10.4.6 | PowerBook FW/500 | 640MB RAM
>
>
>







Growl + Tiger + PowerMail?

2006-04-13 Thread Justin Beek

I just installed Growl today (seems cool so far). The main I reason I  
wanted to try it was for PowerMail notifications. However, it seems  
to be broke.

Error: "GrowlHelperApp got an error: Some parameter wasn't understood."

If there is anyone that knows the trick to get it to run - I'd really  
like to know.

Thanks,
Justin

Versions:
PowerMail: PowerMail version 5.2.3 build 4406 English
Mac OS: 10.4.6
Growl: 0.7.4




Thanks,
Justin Beek

- -- --- --- - --- --- -- -
Justin Beek
Art Director
Century Manufacturing, Inc.
3351 N. Webb Road
Wichita, KS 67226
P: 1.316.636.5423
F: 1.316.636.5583









Re: "Find" & "Copy" broke when viewing HTML messages?

2006-03-23 Thread Justin Beek

I have do some mods; but I don't have any haxies per se..
One of the machines tested, other than additional  screensavers & 
fonts, is almost a default install.

On Wednesday, March 22, 2006, at 08:46  AM, Mikael Byström wrote:

> Justin Beek said:
>
>> PowerMail version: PowerMail version 5.2.3 build 4406 English
>> Mac OS version: 10.2.8
>>
>> I have re-downloaded and re-installed the app twice now.
>>
>> Justin
>>
>  You have any haxies or other system modifications made? I've had
> problems with these in the past.
>
>
> PM 5.2.3 Swedish | OS X 10.3.9 | Powerbook G4/400Mhz | 1GB RAM | 30GB 
> HD
>
>
>
>
>







Re: "Find" & "Copy" broke when viewing HTML messages?

2006-03-22 Thread Justin Beek

You get the Gold Star for the day.
It appears to be a bug with the older OS.

I tested it three 10.2 machines - All broke.
On 10.4 - works just fine.

Thanks, I will be upgrading to Tiger soon...

Justin


On Wednesday, March 22, 2006, at 08:14  AM, Matthias Schmidt wrote:

> I'm speculating ... PM is written using the Carbon API.
> There are a couple of calls, which are not supported in older OS 
> versions.
>
> But actually I doubt that this might be the reason.
> Maybe your OS or the Finder is a bit "sick".
>
> It might help to reinstall the last OS update, if you don't want to
> upgrade to 10.3.9
>
> All the best
>
> Matthias
>
> ---
> Admilon Consulting GmbH
> http://www.admilon.com
> iChat/AIM: MatKoyasan
> Tel. +81-736-56-3905
> ---
>
> Am/On Wed, 22 Mar 2006 07:53:28 -0600 schrieb/wrote Justin Beek:
>
>> PowerMail version: PowerMail version 5.2.3 build 4406 English
>> Mac OS version: 10.2.8
>>
>> I have re-downloaded and re-installed the app twice now.
>>
>> Justin
>>
>> On Tuesday, March 21, 2006, at 07:51  PM, Mikael Byström wrote:
>>
>>> Justin Beek said:
>>>
>>>> I just noticed that my "Find" via Key Shortcuts doesn't work if I am
>>>> viewing an HTML message. Ditto for "Copy".
>>>> All I get is "beeps" when I try either.
>>>>
>>>> Am I the only one with this problem?
>>>
>>> Works for me. What version of PowerMail are you using?
>>>
>>> PM 5.2.3 Swedish | OS X 10.3.9 | Powerbook G4/400Mhz | 1GB RAM | 30GB
>>> HD
>>>
>>>
>>>
>>>
>>>
>>
>>
>>
>>
>
>
>
>







Re: "Find" & "Copy" broke when viewing HTML messages?

2006-03-22 Thread Justin Beek

PowerMail version: PowerMail version 5.2.3 build 4406 English
Mac OS version: 10.2.8

I have re-downloaded and re-installed the app twice now.

Justin

On Tuesday, March 21, 2006, at 07:51  PM, Mikael Byström wrote:

> Justin Beek said:
>
>> I just noticed that my "Find" via Key Shortcuts doesn't work if I am
>> viewing an HTML message. Ditto for "Copy".
>> All I get is "beeps" when I try either.
>>
>> Am I the only one with this problem?
>
> Works for me. What version of PowerMail are you using?
>
> PM 5.2.3 Swedish | OS X 10.3.9 | Powerbook G4/400Mhz | 1GB RAM | 30GB 
> HD
>
>
>
>
>







"Find" & "Copy" broke when viewing HTML messages?

2006-03-22 Thread Justin Beek

I just noticed that my "Find" via Key Shortcuts doesn't work if I am 
viewing an HTML message. Ditto for "Copy".
All I get is "beeps" when I try either.

Am I the only one with this problem?

TIA,
Justin







Re: PowerMail Feature Requests (attachments)

2006-03-18 Thread Justin Beek

I think the problem for my script is that I can't get the unique 
message ID with an incoming filter script.
I made a script to display the Message ID and attached it to an 
Incoming Filter and it doesn't work.  Go figure.

I am guessing that is why the "Tag Attachments" scripts might be flaky 
(since it tries to set the Message ID also)


Here is the script:

tell application "PowerMail 5.2.3"
try
set theMessages to the current messages
repeat with msg in theMessages
set MessID to the ID of the msg
display dialog "The message ID is:" & MessID
end repeat
end try
end tell


Thanks again,
Justin


On Thursday, March 16, 2006, at 07:27  PM, Mikael Byström wrote:

> Olaf Drümmer said:
>
>> maybe it has to do with the fact the an incoming mail filter works on
>> the mail in an intermediate state (i.e. the mail has not been "fully"
>> received/saved yet), whereas manual operation/running all filters
>> processes the selected mail(s) after it/they has/have been "fully"
>> received/saved?
>
> When the script is run the message should have been fully retrieved,
> unless the account is set to not download messages above a certain size
> in full. There also could a bug in play, as Andy suggested, but in this
> case I think it could be circumvented at least. AFAIK there is no 
> general
> problem running scripts on incoming attachments.
>
> PM 5.2.3 Swedish | OS X 10.3.9 | Powerbook G4/400Mhz | 1GB RAM | 30GB 
> HD
>
>
>
>







Re: PowerMail Feature Requests (attachments)

2006-03-17 Thread Justin Beek

That would be my guess also.

I tried about 10 different ways to run the filter - none worked.
I have tried adding a delay to the script - but that didn't work either.

I have a few more ideas to try before I give up and  just manually 
apply them the messages post-arrival.

Thanks for trying!
Justin


On Thursday, March 16, 2006, at 10:10  AM, Andy Fragen wrote:

> It may have to do with the connection status. I remember in an earlier
> script that I couldn't do something with a script dealing with the
> connection status of the message during a mail retrieval.







Re: PowerMail Feature Requests (attachments)

2006-03-16 Thread Justin Beek

OK. I have modified the script that Christian Roth posted and have run 
into a weird problem.

If I run it thru Script Editor - it works
If I set it as an incoming filter - it doesn't work. (the folder name 
is "-1")
If I *manually* run it via the "Mail / Perform Filter" - it works.

Any idea what I did wrong here?
(See script below)

Thanks,
Justin



global theFolder

tell application "PowerMail 5.2.3"
set attachFolder to attachment folder
set theMessages to current messages
repeat with msg in theMessages
set msgStatus to status of msg
if (msgStatus is unread) or (msgStatus is confirmed) or 
(msgStatus is 
read) then
set attachList to attachments of msg
if (count items of attachList) > 0 then
set theDate to time received of msg
set msgAttachFolder to ""
set msgAttachFolder to msgAttachFolder & (ID of 
msg)
tell application "Finder"
if not (exists folder (attachFolder & 
msgAttachFolder as string)) 
then
set theFolder to (make new 
folder at attachFolder with properties 
{name:(msgAttachFolder as string)})
else
set theFolder to folder 
(attachFolder & msgAttachFolder as string)
end if
end tell
repeat with attachIdx from (count items of 
attachList) to 1 by -1
set attachFile to file of (item 
attachIdx of attachList)
tell application "Finder"
set newAttachFile to (move 
attachFile to theFolder without 
replacing) as alias
end tell
delete attachment attachIdx of msg
make new attachment at msg with 
properties {file:(newAttachFile as 
alias)}
end repeat
end if
end if
end repeat
end tell








Re: Support response

2006-03-07 Thread Justin Beek

Are you using the "[EMAIL PROTECTED]" address?


On Monday, March 6, 2006, at 09:17  AM, Link King wrote:

> Does the CTM support email actually work?  I can't get a response out 
> of them. Is there a separate email or phone number I should be trying?
>
> -- 
> Link King
> [EMAIL PROTECTED]
>
>







Re: Re(2): PowerMail occasionally very slow - possible solution

2006-03-04 Thread Justin Beek

If you get desperate and want to try clearing the font caches, delete 
the following:

In /System/Library/Caches/:
fontTablesAnnex
com.apple.ATS.System.fcache
com.apple.ATSServer.FODB_System

In /Library/Caches/:
com.apple.ATS

In /User/Library/Preferences/ folder:
com.apple.ATS.plist


If that doesn't work - It *may* also be a corrupt font.
(Not a fun fix)

Good Luck,
Justin


On Friday, March 3, 2006, at 05:04  PM, Olaf Drümmer wrote:

>
> [EMAIL PROTECTED] wrote Fri, 3 Mar 2006 16:44:30 -0600
>
>> Delete your font caches.
>
> No I won't unless I can be sure that it would help (I'll have to wait
> until it occurs the next time to verify that) - not having any issues
> elsewhere.
>
> Olaf






Re: PowerMail occasionally very slow - possible solution

2006-03-04 Thread Justin Beek

Delete your font caches.


On Friday, March 3, 2006, at 04:30  PM, Olaf Drümmer wrote:

> Hi,
>
> once in a while I was having the problem with PowerMail that all of a
> sudden clicking through emails in the Recent Mails window (and probably
> in any other mail browser window) became very slow - PowerMail
> needed up to 10 seconds to display the text of the email I just 
> selected.
>
>
> Throughout the last months I tried to observe the circumstances that 
> led
> to this issue. My guess is it has something to do with using the "Show
> HTML" command for a mail that is HTML formatted. Nevertheless, it
> doesn't happen all of the time, just relatively rarely.
>
> Anyway.
>
> I watched processor usage and it went up to about 80% - just for
> displaying plain text. Strange. I then figured out that about 60% was
> used by PowerMail, and 20% by "ATSServer" (I am guessing this means
> Apple Text Services Server).
>
> I thought, even the 20% for the ATSServer is way too much for something
> as simple as formatting text. Thus I decided to open Activity Monitor
> and just quit that process (and it just did quit).
>
> Guess what:
> On selecting the next mail, speed was back to normal (and PowerMail
> seems to have implicitly just launched ATSServer again).
>
> Whatever the actual reason for all this is I believe CTMdev should
> address it. Maybe others who experience the extreme slowdown could just
> try the same and let me know whether that also fixes the issue for 
> them.
>
> Olaf Druemmer
>
> PS: My setup is Mac OS/X 10.4.2 on a PowerBook 15" 1.67 GHz 2 GB RAM
> (nearly always several 100 MB free) 100GB HD (5 - 10 GB free) using
> PowerMail 5.2.1 build 4397.
>
>
>
>







Re: Re(2): PowerMail Feature Requests (attachments)

2006-03-01 Thread Justin Beek

I agree with you and we *do* have more structured naming on in-house 
files. The problem is with the incoming files from customers.

(Believe me, if I had control over what our customers did - I would be 
a much happier person.)

Thanks,
Justin

On Tuesday, February 28, 2006, at 11:16  AM, Marlyse Comte wrote:

>> ("file2.pdf" being the real version 2 art. "file 2.pdf" being the
>> version 1 art that PowerMail renamed and added a "2")
>>
>> So far, we haven't had an order go out wrong, but there has been some
>> confusion because of this renaming of files.
>
> Having to deal also with many revisions of files, I would never, never,
> never rely on either the finder or powermail or any application to name
> the later, duplicate files correctly with only a number to be later
> understood by all and everyone. But I would make sure that there is
> something descriptive in the file name like REV and a number.
>
> So it would be "fileREV1.pdf" or just plain "fileR1.pdf" so I could 
> even
> write "file R1.pdf" and if the finder or any other application wants to
> add a 1 because there is already such a file it would become "fileR1
> 1.pdf" and worst senario would be "fileR11.pdf which is quite horrid if
> you do indeed have 11 versions but it then should automatically skip 11
> and go to 111.
>
> But to even avoid such an option I would stick with something like
> "file1R.pdf" and "file2R.pdf" so all added numbers would be clearly
> distinguishable between Revision/Version number and duplicates in the
> same location, e.g. "file2R3.pdf" or "file2R 3.pdf".
>
> Hope this all makes at least somewhat sense.
>
>
>
> ---marlyse
>
>
>







Re: PowerMail Feature Requests (attachments)

2006-03-01 Thread Justin Beek

In our business, it is, unfortunately, very common for us to get 
artwork sent in 2-6 times before the final approval is given. 
Sometimes, the only way we know what art to use is by the revision 
number of the filename. When we get an order and it says use the 
"version 2" art, we have to make sure we grab "file2.pdf" and not "file 
2.pdf".
("file2.pdf" being the real version 2 art. "file 2.pdf" being the 
version 1 art that PowerMail renamed and added a "2")

So far, we haven't had an order go out wrong, but there has been some 
confusion because of this renaming of files.

Justin


On Tuesday, February 28, 2006, at 10:21  AM, Mikael Byström wrote:

> Justin Beek said:
>
>> My main concern is the renaming of the attachments.
>
> Why is that? How are identically named files of any help? How do they
> convey information about the differences of their content, for example?
>
> A better solution IMHO would instead be to embrace renaming by actively
> sort to meaningful contexts (one folder per attachment is hardly
> meaningful) as well as rename incoming attachments with their original
> name plus additional information that would be different like the date
> and time. Keeping the proper extension of course.
>
> This way, there would be no question on what was the actual original
> name, as it would be known what added data looked like, and also with 
> the
> added benefit of knowing when they had come in (with the original date 
> &
> time you'd risk exact copies). Granted this is also in the meta-info of
> the file, but date & time is a reliable way of distinguishing equally
> named files from each other.
>
> I'm interested enough in the problem to look at scripting solutions.
> Cheshirekat wrote "Rename Existing Attachments" so that is probably a
> great starting point. Anyone else have already done such a thing?
>
> PM 5.2.3 Swedish | OS X 10.3.9 | Powerbook G4/400Mhz | 1GB RAM | 30GB 
> HD
>
>
>
>







Re: PowerMail Feature Requests (attachments)

2006-02-27 Thread Justin Beek

Considering it wouldn't rename the attachments and wouldn't take 
forever to view in the finder - it would be an improvement.

My main concern is the renaming of the attachments.
(If my scripting abilities didn't suck so bad I would try to fix it 
myself.)



On Friday, February 24, 2006, at 05:37  PM, Mikael Byström wrote:

> Justin Beek said:
>
>> To me, having  2,679 files thrown intro one folder is a mess to
>> navigate.
>
> And 2,679 folders make it easier to navigate just how?
>
> PM 5.2.3 Swedish | OS X 10.3.9 | Powerbook G4/400Mhz | 1GB RAM | 30GB 
> HD
>
>
>
>







Re: PowerMail Feature Requests

2006-02-25 Thread Justin Beek

Why can't it be folder organized? It could as simple as if there is a 
naming conflict, it could make a new folder called "2" (or whatever 
number is needed) and save it into there.
Or it could be as complex as a folder for each message with the 
folder's name matching the Message-Id

To me, having  2,679 files thrown intro one folder is a mess to 
navigate.

Justin



Over the past two days, a bunch of people  wrote:

>>> The same way that I have incoming mail filtered into different 
>>> folders
>>> in PM; I have an additional filter action that moves the attachments
>>> into a different subfolder of Attachments.
>>
>> And if another message that goes to a particular folder has the same 
>> name
>> as one prior to that you just keep making folders? Perhaps even 
>> folders
>> in folders in folders and so on? That seems not like a fully 
>> satisfiable
>> solution. Perhaps there is no better at the moment though.
>
> No, I don't really have more than one level of nested folders in the
> Attachments folder. Yes, I do run into this renaming problem.
>
>> I would like folders in Attachments to be identical to the folders 
>> inside
>> PowerMail. But that's for making it easier to navigate the Attachments
>> folder, not fixing the naming problem which really is a filesystem 
>> level
>> problem.
>
> You can manually create those Finder folders within Attachments to
> correspond to you PM folders, but as you have correctly pointed out,
> it's the file system that is renaming duplicates.
>







Re: PowerMail Feature Requests (keyboard shortcuts)

2006-02-25 Thread Justin Beek

I would love having keyboard shortcuts within PowerMail.


On Friday, February 24, 2006, at 11:04  AM, Dave Nathanson wrote:

> But only the ones that are on the PowerMail menus. Unfortunately 
> previous
> message & next message are not on the menus. Otherwise Ben that's a 
> great
> suggestion, and I will see how I can apply it.
> Best,
>  Dave Nathanson
>  Mac Medix
>
> in reply to ([EMAIL PROTECTED]), Ben Kennedy's message of 7:41 AM, 2/23/06
>
 User control/selection of keyboard shortcuts for all menu items.
>
>> Actually you can already accomplish this via System Preferences >
>> Keyboard and Mouse > Keyboard Shortcuts.
>>
>> -b
>
>
>
>







Re: PowerMail Feature Requests

2006-02-24 Thread Justin Beek



On Thursday, February 23, 2006, some people wrote:

>> Able to open (all) multiple attachments at once. Frequently I receive 
>> a
>> group of photos and it the attachment area is too small to see more 
>> than
>> 3 at a time, when what I really want is to open them all in Preview at
>> once. Like the MAC OSX Finder can open them all into Preview if you
>> highlight several jpg's and double-click, Try it! That's handy!

This one bites me all the time too. Maybe a "Save All Attachments To 
Desktop" button?

Another thing that bugs me is how it renames attachments that have the 
same name of previous attachments.
Example, when half our customer send in attachments called "quote.pdf", 
the attachment name is changed by adding a "space" and a number.
It just seems non-kosher to be *altering* the incoming message.



>> Prevent "stall" or poor application responsiveness while downloading 
>> new
>> emails.
>
> This one bites me every day. It's so slow I don't even get a 
> _beachball_
> till a few seconds after I click a message to read, and then PowerMail
> decides to select another message that has, in the meantime, scrolled 
> its
> way under the mouse. Is this indexing? Might it hold off till a little
> bit after downloading?

I hate this too. I always know when I am getting a large attachment 
because the whole computer locks up.
It would be nice if  the indexing were more of a background process 
that runs when idle.



Justin







Re: Feature Requests ???

2006-02-15 Thread Justin Beek

Just curious - Like what?

On Tuesday, February 14, 2006, at 04:29  PM, Dave Nathanson wrote:

> Hi, I have a number of features I'd rally like to see in PowerMail.
> What is the best way to submit them so that they may be considered?
>
> Best,
>  Dave Nathanson
>  Mac Medix
>
>
>
>







Re: Problems with script for getting names of attachments.

2006-02-10 Thread Justin Beek

I took your advice and updated it. Still works.
(I'm learning a lot about scripting this week)

Thanks,
Justin


On Thursday, February 9, 2006, at 08:50  AM, Wayne Brissette wrote:

> Be VERY careful with AppleScript Text Item Delimiters option. This is 
> a system wide setting. If your script bails out during the running of 
> the script, and the TID is not set correctly, it can adversely affect 
> other scripts.
>
> Because I change the TID so often I alway do this:
>
> set AppleScript's text item delimiters to {""} -- This is the system 
> default
> set OldTID to AppleScript's text item delimiters
>
> try
>   set AppleScript's text item delimiters to ","   
>   
> on error
>   set AppleScript's text item delimiters to OldTID
>   
> end try
>
> You should always use an on error statement inside the try statement. 
> That way your TID are never changed should your script bail. The 
> setting of the TID at the beginning is simply a safety valve for me.
>
> Wayne
>
> -Original Message-
>> From: Justin Beek <[EMAIL PROTECTED]>
>
>>
>> Worked like a charm.
>>
>> Thanks!!
>> Justin
>
>
>







Re: Problems with script for getting names of attachments.

2006-02-09 Thread Justin Beek

Worked like a charm.

Thanks!!
Justin

On Wednesday, February 8, 2006, at 08:55  PM, Marcus Jarrett wrote:

> On Wednesday, 8 February 2006, Justin Beek, [EMAIL PROTECTED],
> thoughtfully composed the following:
>
>> Is there a better way to get the names of attachments so that they are
>> returned more "readable" form. (I'd prefer that they be 
>> comma-separated)
>> See an example script below and the difference between what is
>> collected and what is reported in the Event Log.
>>
>> Background: In our current workflow, all incoming mail gets the
>> attachments saved to a specific folder on the server and then the
>> message if forwarded, sans files, to another user. Having all the
>> attachment names running together is quite hard to read.
>>
>> Thanks,
>> Justin
>>
>>
>> Example Script:
>> try
>>  tell application "PowerMail 5.2.3"
>>  activate
>>  set theMessages to the current messages
>>  repeat with theMsg in theMessages
>>  set origAttach to name of attachments of theMsg as list
>>  display dialog "These files are attached: " & 
>> origAttach & return
>>  end repeat
>>  end tell
>> end try
>>
>
> Your problem is that origAttach is a list. Applescript is coercing that
> list to a string, with the standard delimiters, that is "". Try this:
>
>
> set origAttach to name of attachments of theMsg as list
> set AppleScript's text item delimiters to ", "
> set origAttach to origAttach as string
> set AppleScript's text item delimiters to {""}
> display dialog "These files are attached: " & origAttach & return
>
>
> HTH,
>
> Marcus
> -- 
> Marcus Jarrett, Adelaide, South Australia.
>
> When we remember we are all mad, the mysteries disappear and life 
> stands
> explained.
>
> -Mark Twain
>
>
>







Problems with script for getting names of attachments.

2006-02-09 Thread Justin Beek

Is there a better way to get the names of attachments so that they are 
returned more "readable" form. (I'd prefer that they be comma-separated)
See an example script below and the difference between what is 
collected and what is reported in the Event Log.

Background: In our current workflow, all incoming mail gets the 
attachments saved to a specific folder on the server and then the 
message if forwarded, sans files, to another user. Having all the 
attachment names running together is quite hard to read.

Thanks,
Justin


Example Script:
try
tell application "PowerMail 5.2.3"
activate
set theMessages to the current messages
repeat with theMsg in theMessages
set origAttach to name of attachments of theMsg as list
display dialog "These files are attached: " & 
origAttach & return
end repeat
end tell
end try


The Event Log shows:
tell application "PowerMail 5.2.3"
activate
get current messages
--> {message id 16777866}
get name of every attachment of message id 16777866
--> {"FW_ Coleman Logo.html", "YorkMailLogo.gif"}
display dialog "These files are attached: FW_ Coleman 
Logo.htmlYorkMailLogo.gif"
--> {button returned:"OK"}
end tell