About dial phone applescript with Filemaker pro 7 and Macos 10.3.8.

About dial phone applescript with Filemaker pro 7 and Macos 10.3.8.

am 17.04.2005 18:50:48 von sti

Can somebody help me ? I should like to dial automatically with
Filemaker pro and Macos x
But the OS X version of Filemaker Pro does not support the dial
function...
Sven, someone of the group gave a solution with Applescript
(2002-04-26 11: 56)
I read the Sven Applescript solution to dial with Filemaker pro on
Macos 10,3,8.and I tried it but it does not work.
When I pasted this applescript into the Specify Applescript text box
and I click OK, I get the following error message:
Expected "end" but found "to" (error -2741)
and it highlights the "to" in the eleventh line (the one that starts
with "to telephone...")
I tried to join Sven but his internet address does not seem to be
right
Below, the Sven's script :

local thenumber
tell application "Finder"
activate
copy (the clipboard) to thenumber
end tell
copy""& thenumber to thenumber
tell application "Filemaker Pro"
activate
ignoring application responses
tell application "Internet Connect" to connect configuration
"Telephone"
to telephone number thenumber
end ignoring
display dialog thenumber & return & "Dialing in Progress: Disconnect?"
buttons {"Disconnect"} default button 1 giving up after 10
tell application "Internet Connect" to disconnect configuration
"Telephone"
end tell

When I past it : a window says :
"Expected "end" but found "to" (error -2741)"

Why this error ? What can I do to make this script work ? Is there an
Applescript wizzard around ?
Thank you to answer me.

Sincerely

Steve

Re: About dial phone applescript with Filemaker pro 7 and Macos 10.3.8.

am 18.04.2005 00:38:25 von sorry

Steve,

I tried to use that same script and could not get it to work either.
Finally someone suggested downloading and using an application called
ABDialer. I tried it out and found it did exactly what I needed and was
very simple to use. Its shareware and I ended up buying the code after the
trial period (I think it was $10)

Totally worth it if you need to use the dial feature.

Geoff

Re: About dial phone applescript with Filemaker pro 7 and Macos 10.3.8.

am 18.04.2005 16:20:29 von sti

"G.Miller" wrote in message news:...
> Steve,
>
> I tried to use that same script and could not get it to work either.
> Finally someone suggested downloading and using an application called
> ABDialer. I tried it out and found it did exactly what I needed and was
> very simple to use. Its shareware and I ended up buying the code after the
> trial period (I think it was $10)
>
> Totally worth it if you need to use the dial feature.
>
> Geoff

ANSWER

Hello Geoff,

Thank you for your answer but I already tried the "Abdialer"
application and it does not work on my computer.
Maybe because I am french (and so with a french version of Filemaker
and a french os).
I had a very long exchange (by mails) with Ben Waldie (a very nice
guy) who works on this application and after have tried a lot of
solutions which did not work, it told me the explanation was surely a
problem of language (american version and french version).

Thank you anyway for your answer.

Steve

Re: About dial phone applescript with Filemaker pro 7 and Macos 10.3.8.

am 18.04.2005 19:56:15 von sorry

Steve, sorry to hear that. As I said before, I was unable to get it working
and stopped trying after getting abdialer to work. I searched through the
old posts on google groups and found some more info.

Go here to see the postings:
http://groups-beta.google.com/group/comp.databases.filemaker /browse_thread/t
hread/9ae3bf6c9a6f4a94/dc77e51dd9901ea5?q=applescript+dial&r num=20#dc77e51dd
9901ea5

Good luck,
geoff

"steve" wrote:

> "G.Miller" wrote in message
> news:...
>> Steve,
>>
>> I tried to use that same script and could not get it to work either.
>> Finally someone suggested downloading and using an application called
>> ABDialer. I tried it out and found it did exactly what I needed and was
>> very simple to use. Its shareware and I ended up buying the code after the
>> trial period (I think it was $10)
>>
>> Totally worth it if you need to use the dial feature.
>>
>> Geoff
>
> ANSWER
>
> Hello Geoff,
>
> Thank you for your answer but I already tried the "Abdialer"
> application and it does not work on my computer.
> Maybe because I am french (and so with a french version of Filemaker
> and a french os).
> I had a very long exchange (by mails) with Ben Waldie (a very nice
> guy) who works on this application and after have tried a lot of
> solutions which did not work, it told me the explanation was surely a
> problem of language (american version and french version).
>
> Thank you anyway for your answer.
>
> Steve

Re: About dial phone applescript with Filemaker pro 7 and Macos

am 19.04.2005 09:34:23 von Ruben van den Boogaard

Hi Steve,

The script got busted because there are line breaks forced in the script
when
it was pasted in the newsgroup.

If you remove the linebreaks marked with a # it will work fine (first
copy
the telephone number to the clipboard to have it dialed)

> local thenumber
> tell application "Finder"
> activate
> copy (the clipboard) to thenumber
> end tell
> copy""& thenumber to thenumber
> tell application "Filemaker Pro"
> activate
> ignoring application responses
> tell application "Internet Connect" to connect configuration
# "Telephone"
# to telephone number thenumber
> end ignoring
> display dialog thenumber & return & "Dialing in Progress: Disconnect?"
# buttons {"Disconnect"} default button 1 giving up after 10
> tell application "Internet Connect" to disconnect configuration
# "Telephone"
> end tell

Best regards,

Ruben van den Boogaard
2focus software bv



In steve wrote:
> Can somebody help me ? I should like to dial automatically with
> Filemaker pro and Macos x
> But the OS X version of Filemaker Pro does not support the dial
> function...
> Sven, someone of the group gave a solution with Applescript
> (2002-04-26 11: 56)
> I read the Sven Applescript solution to dial with Filemaker pro on
> Macos 10,3,8.and I tried it but it does not work.
> When I pasted this applescript into the Specify Applescript text box
> and I click OK, I get the following error message:
> Expected "end" but found "to" (error -2741)
> and it highlights the "to" in the eleventh line (the one that starts
> with "to telephone...")
> I tried to join Sven but his internet address does not seem to be
> right
> Below, the Sven's script :
>
> local thenumber
> tell application "Finder"
> activate
> copy (the clipboard) to thenumber
> end tell
> copy""& thenumber to thenumber
> tell application "Filemaker Pro"
> activate
> ignoring application responses
> tell application "Internet Connect" to connect configuration
> "Telephone"
> to telephone number thenumber
> end ignoring
> display dialog thenumber & return & "Dialing in Progress: Disconnect?"
> buttons {"Disconnect"} default button 1 giving up after 10
> tell application "Internet Connect" to disconnect configuration
> "Telephone"
> end tell
>
> When I past it : a window says :
> "Expected "end" but found "to" (error -2741)"
>
> Why this error ? What can I do to make this script work ? Is there an
> Applescript wizzard around ?
> Thank you to answer me.
>
> Sincerely
>
> Steve
>

Re: About dial phone applescript with Filemaker pro 7 and Macos 10.3.8.

am 19.04.2005 18:25:31 von sti

Ruben van den Boogaard wrote in message news:<20050419093423256+0200@news.euronet.nl>...
> Hi Steve,
>
> The script got busted because there are line breaks forced in the script
> when
> it was pasted in the newsgroup.
>
> If you remove the linebreaks marked with a # it will work fine (first
> copy
> the telephone number to the clipboard to have it dialed)
>
> > local thenumber
> > tell application "Finder"
> > activate
> > copy (the clipboard) to thenumber
> > end tell
> > copy""& thenumber to thenumber
> > tell application "Filemaker Pro"
> > activate
> > ignoring application responses
> > tell application "Internet Connect" to connect configuration
> # "Telephone"
> # to telephone number thenumber
> > end ignoring
> > display dialog thenumber & return & "Dialing in Progress: Disconnect?"
> # buttons {"Disconnect"} default button 1 giving up after 10
> > tell application "Internet Connect" to disconnect configuration
> # "Telephone"
> > end tell
>
> Best regards,
>
> Ruben van den Boogaard
> 2focus software bv
>
>
>
> In steve wrote:
> > Can somebody help me ? I should like to dial automatically with
> > Filemaker pro and Macos x
> > But the OS X version of Filemaker Pro does not support the dial
> > function...
> > Sven, someone of the group gave a solution with Applescript
> > (2002-04-26 11: 56)
> > I read the Sven Applescript solution to dial with Filemaker pro on
> > Macos 10,3,8.and I tried it but it does not work.
> > When I pasted this applescript into the Specify Applescript text box
> > and I click OK, I get the following error message:
> > Expected "end" but found "to" (error -2741)
> > and it highlights the "to" in the eleventh line (the one that starts
> > with "to telephone...")
> > I tried to join Sven but his internet address does not seem to be
> > right
> > Below, the Sven's script :
> >
> > local thenumber
> > tell application "Finder"
> > activate
> > copy (the clipboard) to thenumber
> > end tell
> > copy""& thenumber to thenumber
> > tell application "Filemaker Pro"
> > activate
> > ignoring application responses
> > tell application "Internet Connect" to connect configuration
> > "Telephone"
> > to telephone number thenumber
> > end ignoring
> > display dialog thenumber & return & "Dialing in Progress: Disconnect?"
> > buttons {"Disconnect"} default button 1 giving up after 10
> > tell application "Internet Connect" to disconnect configuration
> > "Telephone"
> > end tell
> >
> > When I past it : a window says :
> > "Expected "end" but found "to" (error -2741)"
> >
> > Why this error ? What can I do to make this script work ? Is there an
> > Applescript wizzard around ?
> > Thank you to answer me.
> >
> > Sincerely
> >
> > Steve
> >
ANSWER TO RUBEN

Hi Ruben,

Thank you for your answer.
But I still have a problem?
Because I don't master completely english language I do not
understand exactly what you mean by ? remove the linebreaks marked
with a # ?
Do you mean ? to bring the line back up ? and ? to bring the line down
?, for example :

In the middle of the script :

tell application ? internet connect ? to connect
configuration
# ? telephone ?

should be :

configuration ? telephone ? (? up ?)


and, on the contrary, at the end of the script :

configuration # ? telephone ?

should be :

configuration
? telephone ? (down)

Anyway, when I do it, I have no more the window saying the following
error message:

Expected "end" but found "to" (error -2741)

But now when I try to launch the dialing : two windows opened :

-One showing the phone number that I tried to dial and saying "dialing
in progress : disconnect ?" whith a button written "disconnect ,"

-The second window saying : " Internect connection. Failure of the
connection. You have not captured the phone number"

Do you think you still can do something for me ?

Thank you very much anyway

Best regards

Steve