Blue Eye Logo

Blue Eye Macro

Automation is freedom
It is currently Mon May 22, 2017 3:24 pm

All times are UTC




Post new topic Reply to topic  [ 34 posts ]  Go to page Previous  1, 2, 3, 4  Next
Author Message
 Post subject: Re: txt & E-mail plugin
Thanked: 1 time(s)  Unread post Posted: Tue Aug 28, 2012 6:17 pm 
Contributor
Contributor



Joined: Tue Jul 17, 2012 8:11 am
Posts: 58
Been thanked: 15 time(s)
Has thanked: 5 time(s)
Contribution Points: 125
Will try it when back to home ^^.


Top
 Profile  
Reply with quote  
 Post subject: Re: txt & E-mail plugin
Thanked: 0 time(s)  Unread post Posted: Tue Aug 28, 2012 11:57 pm 
Contributor
Contributor



Joined: Tue Jul 17, 2012 8:11 am
Posts: 58
Been thanked: 15 time(s)
Has thanked: 5 time(s)
Contribution Points: 125
Probably using it in the wrong way again ^^".

Code:
begin loop()
     Function.Execute("test txt")
 end

function("test txt")
     if  Color.At coordinate is (RGB)("229", "186", "69", "88", "178")
          begin
               Plugins.Screenshot("C:\Tmp", "endofbot", "jpg", "1", "0", "0", "1919", "1199", "screenshot")
               Plugins.txtmsg (Gmail)("usr", "pass", "receiver", "domainofreceiver", "waiting for response", "#attach", "C:\tmp\endofbot.jpeg", "110000", "continue", "stop")
          end
      if  Variable.Exists("stop")
          begin
               Variable.Trim white spaces("stop")
               Window.Display message box("{stop}", "yes")
          end
function


I receive the mail in my box (with the screenshot), respond to it by something (right now i respond "helloworld").

It read the mail in the second box (set it to read), but I have systematically "continue" in the message box.

Still can use it to do what I want for now but if i want to use your OCR Plugin with it I have to understand where i'm doing a mistake ^^.

Any idea :p ? (probably a wrong use of Trim white spaces, but I don't know how to use it properly...)


Top
 Profile  
Reply with quote  
 Post subject: Re: txt & E-mail plugin
Thanked: 0 time(s)  Unread post Posted: Wed Aug 29, 2012 1:26 am 
Lifetime VIP Contributor
Lifetime VIP Contributor
User avatar



Joined: Mon Sep 26, 2011 9:38 am
Posts: 1700
Location: Space Australia
Been thanked: 78 time(s)
Has thanked: 6 time(s)
Contribution Points: 9985
Code:
begin loop()
     Function.Execute("test txt")
 end

function("test txt")
begin
     if  Color.At coordinate is (RGB)("229", "186", "69", "88", "178")
          begin
               Plugins.Screenshot("C:\Tmp", "endofbot", "jpg", "1", "0", "0", "1919", "1199", "screenshot")
               Plugins.txtmsg (Gmail)("usr", "pass", "receiver", "domainofreceiver", "waiting for response", "#attach", "C:\tmp\endofbot.jpeg", "110000", "continue", "stop")
          end
  if  Variable.Exists("stop")
          begin
               Variable.Trim white spaces("stop")
               Variable.Evaluate (Text)("{stop}","stop")
               Window.Display message box("{stop}", "yes")
          end
end
function


try that if stop works properly you just need to find the right positioning for this
Variable.Trim white spaces("stop")
Variable.Evaluate (Text)("{stop}","stop")

_________________
ImageImageImageImage
Image


Top
 Profile  
Reply with quote  
 Post subject: Re: txt & E-mail plugin
Thanked: 0 time(s)  Unread post Posted: Wed Aug 29, 2012 1:49 am 
Lifetime VIP Contributor
Lifetime VIP Contributor
User avatar



Joined: Tue Nov 23, 2010 10:51 am
Posts: 211
Location: Pandora
Been thanked: 96 time(s)
Has thanked: 66 time(s)
Contribution Points: 8639
Are you sure 2 minutes is long enough? When i tested it my phone could take 2 minutes to download the picture if it was big.

If it's not waiting the full time before it completes let me know and i will investigate... i know as i was making it i thought about sending a pic msg followed by a "wait for response" txt that would arrive first, that way you can make your decision or wait to see the image...best of both worlds. If memory serves, a response to either should be accepted as input to whichever is waiting

Edit: ah what i said may not be true. Some cell services have different suffixes for media than for txts, so it would be waiting for the wrong sender's msg. This is probably what's happening then. Maybe you can only reply for txt msgs not pix. Did i mention that in the tooltips? I remember thinking about it


Top
 Profile  
Reply with quote  
 Post subject: Re: txt & E-mail plugin
Thanked: 1 time(s)  Unread post Posted: Wed Aug 29, 2012 6:44 am 
Contributor
Contributor



Joined: Tue Jul 17, 2012 8:11 am
Posts: 58
Been thanked: 15 time(s)
Has thanked: 5 time(s)
Contribution Points: 125
Thedragonfiend wrote:
Code:
begin loop()
     Function.Execute("test txt")
 end

function("test txt")
begin
     if  Color.At coordinate is (RGB)("229", "186", "69", "88", "178")
          begin
               Plugins.Screenshot("C:\Tmp", "endofbot", "jpg", "1", "0", "0", "1919", "1199", "screenshot")
               Plugins.txtmsg (Gmail)("usr", "pass", "receiver", "domainofreceiver", "waiting for response", "#attach", "C:\tmp\endofbot.jpeg", "110000", "continue", "stop")
          end
  if  Variable.Exists("stop")
          begin
               Variable.Trim white spaces("stop")
               Variable.Evaluate (Text)("{stop}","stop")
               Window.Display message box("{stop}", "yes")
          end
end
function


try that if stop works properly you just need to find the right positioning for this
Variable.Trim white spaces("stop")
Variable.Evaluate (Text)("{stop}","stop")


I'll try it tonight, i'm at work now ^^.

sickslug wrote:
Are you sure 2 minutes is long enough? When i tested it my phone could take 2 minutes to download the picture if it was big.

If it's not waiting the full time before it completes let me know and i will investigate... i know as i was making it i thought about sending a pic msg followed by a "wait for response" txt that would arrive first, that way you can make your decision or wait to see the image...best of both worlds. If memory serves, a response to either should be accepted as input to whichever is waiting

Edit: ah what i said may not be true. Some cell services have different suffixes for media than for txts, so it would be waiting for the wrong sender's msg. This is probably what's happening then. Maybe you can only reply for txt msgs not pix. Did i mention that in the tooltips? I remember thinking about it


Well with or without pic it do the same, i can try to up the timer like for 5 minutes too.

I'll try all of this tonight, thx to the two of you.


Top
 Profile  
Reply with quote  
 Post subject: Re: txt & E-mail plugin
Thanked: 0 time(s)  Unread post Posted: Wed Aug 29, 2012 9:17 am 
Lifetime VIP Contributor
Lifetime VIP Contributor
User avatar



Joined: Tue Nov 23, 2010 10:51 am
Posts: 211
Location: Pandora
Been thanked: 96 time(s)
Has thanked: 66 time(s)
Contribution Points: 8639
i updated this plugin in the plugin suite. download

the new one shouldn't need trim
also, it should accept responses from pic msgs to verizon and at&t phones

let me know of problems or suggestions


Top
 Profile  
Reply with quote  
 Post subject: Re: txt & E-mail plugin
Thanked: 1 time(s)  Unread post Posted: Wed Aug 29, 2012 10:49 am 
Contributor
Contributor



Joined: Tue Jul 17, 2012 8:11 am
Posts: 58
Been thanked: 15 time(s)
Has thanked: 5 time(s)
Contribution Points: 125
My my my, I just realise something, the main purpose of this plugin is to send sms to phone, not to send e-mail ?

Or does it read back only for sms ?

I'm kinda confused right now...

I'm using it this way, (to make it clear) sending a mail with it, then respond to it via mail (so I only use gmail with two address).


Top
 Profile  
Reply with quote  
 Post subject: Re: txt & E-mail plugin
Thanked: 0 time(s)  Unread post Posted: Wed Aug 29, 2012 11:07 am 
Lifetime VIP Contributor
Lifetime VIP Contributor
User avatar



Joined: Tue Nov 23, 2010 10:51 am
Posts: 211
Location: Pandora
Been thanked: 96 time(s)
Has thanked: 66 time(s)
Contribution Points: 8639
they're the same; both send e-mails only the recipient changes

the main thing is that to reply you should make sure you reply from the same address you sent it to
if you use gmail with multiple accounts you might be using a different "reply as" address which would throw the plugin off. does that make sense?

if it's just a matter of the return address having something extra added like a real name try the plugin below, it searches for anything close... let me know if that one helps


Attachments:
File comment: put in "\Blue Eye Macro\Plugins" OVERWRITE old txtmsg_Plugin.dll
txtmsg_Plugin.dll [14.5 KiB]
Downloaded 95 times
Top
 Profile  
Reply with quote  
 Post subject: Re: txt & E-mail plugin
Thanked: 1 time(s)  Unread post Posted: Wed Aug 29, 2012 11:33 am 
Contributor
Contributor



Joined: Tue Jul 17, 2012 8:11 am
Posts: 58
Been thanked: 15 time(s)
Has thanked: 5 time(s)
Contribution Points: 125
Hey ! This one is effective !

Now when i respond helloworld, the msg box display helloworld :D (and it take multirow too ^^).

That's a good thing, a big step forward for me ^^.

Now i can set it up to do multiple things according to the answer ^^.


Top
 Profile  
Reply with quote  
 Post subject: Re: txt & E-mail plugin
Thanked: 0 time(s)  Unread post Posted: Wed Aug 29, 2012 11:55 am 
Lifetime VIP Contributor
Lifetime VIP Contributor
User avatar



Joined: Tue Nov 23, 2010 10:51 am
Posts: 211
Location: Pandora
Been thanked: 96 time(s)
Has thanked: 66 time(s)
Contribution Points: 8639
i'll put that one in the suite when i update it next time

thanks again for testing


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 34 posts ]  Go to page Previous  1, 2, 3, 4  Next

All times are UTC


You cannot post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  


Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group