FAQFAQ   SearchSearch   UsergroupsUsergroups   RegisterRegister   ProfileProfile    Log inLog in   RSS Feed

Text Pop-up in SE W810

 
Post new topic   Reply to topic    Salling Software Forums Forum Index -> Scripting Salling Clicker for Mac
View previous topic :: View next topic  
Author Message
lalcan
Newbie


Joined: 12 Sep 2006
Posts: 4

PostPosted: Tue Sep 12, 2006 3:50 am    Post subject: Text Pop-up in SE W810 Reply with quote

Hi! i've been trying to use an old applescript to send a "pop-up" message to the phone, the problem is i can't get it to work, not with "messagebox mode" or the old "enter keypad mode text" or "push persistent text" methods, am i missing something?

Thanks again and congratulations for an excellent app!

Leo
Back to top
View user's profile Send private message
salling
Site Admin


Joined: 27 Jul 2004
Posts: 7498
Location: Stockholm, Sweden

PostPosted: Tue Sep 12, 2006 9:42 am    Post subject: Re: Text Pop-up in SE W810 Reply with quote

Hi Leo,

Could you please be more specific? Is the client application launched on the phone when you push the popup? Do you get script errors? Could you post the relevant bits of the script?

Best.
--
Jonas

[quote="lalcan"]Hi! i've been trying to use an old applescript to send a "pop-up" message to the phone, the problem is i can't get it to work, not with "messagebox mode" or the old "enter keypad mode text" or "push persistent text" methods, am i missing something?

Thanks again and congratulations for an excellent app!

Leo[/quote]
Back to top
View user's profile Send private message Send e-mail Visit poster's website
lalcan
Newbie


Joined: 12 Sep 2006
Posts: 4

PostPosted: Tue Sep 12, 2006 5:17 pm    Post subject: Reply with quote

Hi!, yes, certainly, the script used to run within mail and, upon receipt of a new mail, would send a pop-up text with the sender and the subject of the mail to the connected phone (i owned a SE K700), it didn't need the client app launched in the mobile, it just needed to be connected.

Now, when i run it, it just finishes and doesn't produce any errors and the phone doesn't display anything...

This is the script:

using terms from application "Mail"
on perform mail action with messages selectedMsgs
-- See Mail's AppleScript dictionary for the full documentation on the
-- 'perform mail action with messages' handler.
set logString to ""
tell application "Mail"
set selCount to 1
repeat with counter from 1 to selCount
set msg to item 1 of selectedMsgs
set theSubject to subject of msg
set theSender to sender of msg
set theSender to extract name from theSender
set logString to "From: " & return & theSender & return & "Subject:" & return & theSubject
end repeat
end tell
tell application "SEC Helper"
enter keypad mode text " You've got new mail " & logString
push persistent text " "
end tell
end perform mail action with messages
end using terms from

-- If run as an ordinary script, instead of directly from the Scripts
-- menu, it will call the default handler instead.
using terms from application "Mail"
on run
tell application "Mail" to set sel to selection
tell me to perform mail action with messages (sel)
end run
end using terms from

Thanks again :-)
Back to top
View user's profile Send private message
salling
Site Admin


Joined: 27 Jul 2004
Posts: 7498
Location: Stockholm, Sweden

PostPosted: Tue Sep 12, 2006 7:00 pm    Post subject: Reply with quote

Starting with the K750, the client application must be launched. Please try this.

Best.
--
Jonas
Back to top
View user's profile Send private message Send e-mail Visit poster's website
esyn
Newbie


Joined: 03 Nov 2006
Posts: 3
Location: Atlanta, GA USA

PostPosted: Fri Nov 03, 2006 11:11 am    Post subject: Lalcan+ W810 Reply with quote

Lalcan,


Did you have any issues installing salling clicker on your w810? & What type of computer are you using?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Salling Software Forums Forum Index -> Scripting Salling Clicker for Mac All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group