Active TopicsActive Topics  Display List of Forum MembersMemberlist  Search The ForumSearch  HelpHelp
  RegisterRegister  LoginLogin
PowerHome General
 PowerHome Messageboard : PowerHome General
Subject Topic: Anything new in email Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
Gadgets
Senior Member
Senior Member
Avatar

Joined: January 28 2008
Location: Canada
Online Status: Offline
Posts: 178
Posted: December 01 2008 at 14:40 | IP Logged Quote Gadgets

I now have a Blackberry smartphone, and am more interested then before in getting the email control portion of PH working reliably. Last I remember things were being kicked around on finding a new small email client to use instead of outlook that doesn't lock up.
Has there been any improvments in this area, or should I just got ahead and take a stab at getting the none outlook script from Tony(?) running instead?

Brian

__________________
Friends, don't let friends install Norton Products
Back to Top View Gadgets's Profile Search for other posts by Gadgets Visit Gadgets's Homepage
 
TonyNo
Moderator Group
Moderator Group
Avatar

Joined: December 05 2001
Location: United States
Online Status: Offline
Posts: 2889
Posted: December 01 2008 at 21:17 | IP Logged Quote TonyNo

Not that I'm aware of.
Back to Top View TonyNo's Profile Search for other posts by TonyNo Visit TonyNo's Homepage
 
Gadgets
Senior Member
Senior Member
Avatar

Joined: January 28 2008
Location: Canada
Online Status: Offline
Posts: 178
Posted: December 01 2008 at 22:10 | IP Logged Quote Gadgets


I didn't think so, as I couldn't find anything new. Oh well, I'll give that script stuff a try.

TonyNo wrote:
Not that I'm aware of.
   

__________________
Friends, don't let friends install Norton Products
Back to Top View Gadgets's Profile Search for other posts by Gadgets Visit Gadgets's Homepage
 
onhiatus
Senior Member
Senior Member
Avatar

Joined: May 12 2004
Location: United States
Online Status: Offline
Posts: 279
Posted: December 02 2008 at 14:34 | IP Logged Quote onhiatus

Depending on who your provider is my simple email fetching tools can at least get you away from outlook.

See http://www.myx10.com/forum/forum_posts.asp?TID=1558
Back to Top View onhiatus's Profile Search for other posts by onhiatus Visit onhiatus's Homepage
 
jeffw_00
Super User
Super User


Joined: June 30 2007
Online Status: Offline
Posts: 929
Posted: December 04 2008 at 10:45 | IP Logged Quote jeffw_00

You know - I haven't looked into much of this - but it seems to me that most of the heavy lifting could be extracted out of PH if there was some way to have PH read a file and act based on what it's read. For example, you could run something like Thunderbird, and (triggered off of Powerhome) periodically run a Perl script that parses your Thunderbird Email file looking for Powerhome messages, then (here's where the miracle occurs), this info can be put into a form where a PH macro could read it and act accordingly. Does anyone know how to fill in the missing step? Can PH read in local variables from a file?    If so, this feels like an evening of Perl hacking to get something rock solid...
/j
Back to Top View jeffw_00's Profile Search for other posts by jeffw_00
 
TonyNo
Moderator Group
Moderator Group
Avatar

Joined: December 05 2001
Location: United States
Online Status: Offline
Posts: 2889
Posted: December 04 2008 at 13:44 | IP Logged Quote TonyNo

Jeff, you seem to be describing what Tony has already done.

Tony's Email Thread
Back to Top View TonyNo's Profile Search for other posts by TonyNo Visit TonyNo's Homepage
 
jeffw_00
Super User
Super User


Joined: June 30 2007
Online Status: Offline
Posts: 929
Posted: December 04 2008 at 13:58 | IP Logged Quote jeffw_00

Hi Tony - it looks like there's been a lot of work done here, but it may be easier for me to write my own for my specific paragidm than re-hack someone else's - the thing I was asking about apparently exists, but I think I would have to dig deep into people's code to find it -

Within a PH macro, how do I open a file, and parse a line (so for example - if line 1 of the file set "SET HEAT ON", I would need to capture each of those 3 words into LOCALs so I can compare them to expected values - Are there ph_<functions> for this?
/j
Back to Top View jeffw_00's Profile Search for other posts by jeffw_00
 
onhiatus
Senior Member
Senior Member
Avatar

Joined: May 12 2004
Location: United States
Online Status: Offline
Posts: 279
Posted: December 04 2008 at 14:38 | IP Logged Quote onhiatus

Basically my little app just dumps the content of an email to a file and adds a line to an index file. Using the powerhome file change plugin I watch the index file. Whenever there is a change I have a powerhome script that reads the index file to get the path of the mail file then reads that file and acts on it.

It's really pretty simple and puts takes most of the processing away from ph.
Back to Top View onhiatus's Profile Search for other posts by onhiatus Visit onhiatus's Homepage
 
jeffw_00
Super User
Super User


Joined: June 30 2007
Online Status: Offline
Posts: 929
Posted: December 04 2008 at 14:42 | IP Logged Quote jeffw_00

"I have a powerhome script that reads the index file to get the path of the mail file then reads that file and acts on it. "

this is the piece that interests me - where can I learn more about this (or how (commands, tools) to do it)

thanks!
/j
Back to Top View jeffw_00's Profile Search for other posts by jeffw_00
 
TonyNo
Moderator Group
Moderator Group
Avatar

Joined: December 05 2001
Location: United States
Online Status: Offline
Posts: 2889
Posted: December 04 2008 at 20:10 | IP Logged Quote TonyNo

The last post in the link contains the SQL for the macros.
Back to Top View TonyNo's Profile Search for other posts by TonyNo Visit TonyNo's Homepage
 
Gadgets
Senior Member
Senior Member
Avatar

Joined: January 28 2008
Location: Canada
Online Status: Offline
Posts: 178
Posted: December 04 2008 at 20:30 | IP Logged Quote Gadgets

Hi Tony,

This is exactly the "script" I was referring to. I didn't have email capabilities on my old phone, but now I have a Blackberry for work and it has everything enabled. So email is of much more interest to me now. I just remembered how often Outlook puked. :-)
I'll let you know if (when) I have any trouble getting it going.

Brian


onhiatus wrote:
Depending on who your provider is my simple email fetching tools can at least get you away from outlook.

See http://www.myx10.com/forum/forum_posts.asp?TID=1558


__________________
Friends, don't let friends install Norton Products
Back to Top View Gadgets's Profile Search for other posts by Gadgets Visit Gadgets's Homepage
 
jeffw_00
Super User
Super User


Joined: June 30 2007
Online Status: Offline
Posts: 929
Posted: December 04 2008 at 20:34 | IP Logged Quote jeffw_00

Guys - I've been through this thread (1558) and although I'm seeing a complicated app (and a lot of non-sequitor material), I'm not finding what I'm looking for -

functions in PH (if they exist) that let you open and read a file, parsing line tokens into LOCALs (or some other way of doing this). I don't see any SQL in the post.

I understand the RTFM philosophy here, but I'm about to give up on this, if you all know what I'm looking for, would one of you be kind enough to share?

Thanks!
/j
Back to Top View jeffw_00's Profile Search for other posts by jeffw_00
 
dhoward
Admin Group
Admin Group
Avatar

Joined: June 29 2001
Location: United States
Online Status: Offline
Posts: 4447
Posted: December 04 2008 at 22:56 | IP Logged Quote dhoward

Jeff,

To read a file into PowerHome, use ph_readfile. You can use ph_getline to extract out lines of data. You can use ph_parseline to extract tab separated pieces from the line. Or, you can use any of the ph_regex??? functions for even greater control of extracting data from the file once it's in memory.

HTH,

Dave.
Back to Top View dhoward's Profile Search for other posts by dhoward Visit dhoward's Homepage
 
BeachBum
Super User
Super User
Avatar

Joined: April 11 2007
Location: United States
Online Status: Offline
Posts: 1880
Posted: December 04 2008 at 22:58 | IP Logged Quote BeachBum

Maybe I don’t understand what you are looking for but I was able to take Tony’s (not TonyNo) app and copyfile and readfile and parse the contents of email from my pop3 and put the results into Locals and then act on it accordingly. If your email is free of spam type data it is real slick.

__________________
Pete - X10 Oldie
Back to Top View BeachBum's Profile Search for other posts by BeachBum
 
jeffw_00
Super User
Super User


Joined: June 30 2007
Online Status: Offline
Posts: 929
Posted: December 05 2008 at 10:01 | IP Logged Quote jeffw_00

Thanks guys -exactly what I needed. Sorry I got shirty (been a rough week). I'll write/post some cool stuff soon
/j
Back to Top View jeffw_00's Profile Search for other posts by jeffw_00
 
Gadgets
Senior Member
Senior Member
Avatar

Joined: January 28 2008
Location: Canada
Online Status: Offline
Posts: 178
Posted: December 06 2008 at 17:46 | IP Logged Quote Gadgets

ok peeps, I've only had a bit of time to work with Tony's pop3 app, but already I have absolutely NO idea how to write the macro to make it all come together. Can someone who has it working be real swell and send me theirs, or, give me some serious guidance in this area??   

__________________
Friends, don't let friends install Norton Products
Back to Top View Gadgets's Profile Search for other posts by Gadgets Visit Gadgets's Homepage
 
onhiatus
Senior Member
Senior Member
Avatar

Joined: May 12 2004
Location: United States
Online Status: Offline
Posts: 279
Posted: December 08 2008 at 13:29 | IP Logged Quote onhiatus

The last entry in the orginal thread (bottom of page 2 - http://www.myx10.com/forum/forum_posts.asp?TID=1558&PN=0&TPN =2) I attached the scripts I've been using.

These were the original scripts - I may have changed them since then, but I have a 4 month old at home which means my wife doesn't let me on the computer much, which means it will probably take me a long time to get you updated macros (it I've even updated them since then...)
Back to Top View onhiatus's Profile Search for other posts by onhiatus Visit onhiatus's Homepage
 
Gadgets
Senior Member
Senior Member
Avatar

Joined: January 28 2008
Location: Canada
Online Status: Offline
Posts: 178
Posted: December 10 2008 at 12:59 | IP Logged Quote Gadgets

Oh crap, sorry about that, I didn't even see them there. Ok, I'll take a stab at it when I get home.

Thanks Tony!

Brian

__________________
Friends, don't let friends install Norton Products
Back to Top View Gadgets's Profile Search for other posts by Gadgets Visit Gadgets's Homepage
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum