Problem is script?
Posted: Mon Jul 30, 2012 9:30 am
Hi there:
First of all great program, I have a couple of scripts I need help to solve with. I am very new beginner in the scripting world and these 2 I am stuck. I am trying to open firefox and paste a web address.
To answer some of yours question before you may ask.
I have a dual monitors setup up. 1) is running google (default ) and firefox goes to 2 one. The reason I use "Callinfo.County and Callinfo.SpeakName actions because they are gps coordinates I have enter into my customer field area. A feature request would be enter some more action field area's under name edit contact window that my be like "Misc." and or "Extra" field's, that would transfer the information in the preassign field to the web pages that you have set up all ready with the "Number" "Name " "County" and so on.
So a working example address is http://www.bing.com/maps/?v=2&cp=28.419 ... -81.580272 and it goes to Disney World.
I have try this code Run "C:\Program Files\Mozilla Firefox\firefox.exe",
"http://www.bing.com/maps/?v=2&cp={Count ... {SpeakName}";
and when I don't use //LANGUAGE=DWS and it works, but when I convert it over the other language ( DWS ) it's not working. Help ?
2 Problem
I understand ( I think ) in the area of where the //LANGUAGE=DWS is each line has it own line number for an example is
So I have answer machine the picks up on the 3 ring when I am not there, I would like a script to bypass the remainder script action and go the a certian "line" or end.
and I have more runWait commands that follow , so how do you tell this script ( below ) to bypass which commands of line not to "run" and go to a certain line number of just quit and have all the programs prior to this script "run" then stop if the rings = 3.
( ?? )
First of all great program, I have a couple of scripts I need help to solve with. I am very new beginner in the scripting world and these 2 I am stuck. I am trying to open firefox and paste a web address.
Code: Select all
//LANGUAGE=DWS
RunWait('C:\Program Files\Mozilla Firefox\firefox.exe" + ' http://www.bing.com/maps/?v=2&cp= ' + CallInfo.County + ' &lvl=17&dir=0&sty=h&sp=&where1= ' + CallInfo.SpeakName);
I have a dual monitors setup up. 1) is running google (default ) and firefox goes to 2 one. The reason I use "Callinfo.County and Callinfo.SpeakName actions because they are gps coordinates I have enter into my customer field area. A feature request would be enter some more action field area's under name edit contact window that my be like "Misc." and or "Extra" field's, that would transfer the information in the preassign field to the web pages that you have set up all ready with the "Number" "Name " "County" and so on.
So a working example address is http://www.bing.com/maps/?v=2&cp=28.419 ... -81.580272 and it goes to Disney World.
I have try this code Run "C:\Program Files\Mozilla Firefox\firefox.exe",
"http://www.bing.com/maps/?v=2&cp={Count ... {SpeakName}";
and when I don't use //LANGUAGE=DWS and it works, but when I convert it over the other language ( DWS ) it's not working. Help ?
2 Problem
I understand ( I think ) in the area of where the //LANGUAGE=DWS is each line has it own line number for an example is
Code: Select all
//LANGUAGE=DWS (line 1 )
( space ) (line 2 )
runwait ('myprogram.exe) (line 3 )
Code: Select all
//LANGUAGE=DWS
SendMail('Joe', 'xxxxxxxxxx@gmail.com', 'Call from ' + CallInfo.Name + ' at ' + CallInfo.Number, ' This is a Call from ' + CallInfo.Name + ' @ ' + CallInfo.Number + ' located at ' + CallInfo.Address + ' in ' + CallInfo.City + ' Http://www.xxxxxxxxxxx:8080');
if CallInfo.Rings = 3 then
begin
HangUp;
end;
SpeakWait('One Moment Please,');
if (Time > StrToTime('1 am')) and (Time <StrToTime> StrToTime('12 pm')) and (Time < StrToTime('5 pm')) then
begin
Speakwait('Good afternoon');
end
else
begin
Speakwait('Good evening');
end;
and I have more runWait commands that follow , so how do you tell this script ( below ) to bypass which commands of line not to "run" and go to a certain line number of just quit and have all the programs prior to this script "run" then stop if the rings = 3.
Code: Select all
if CallInfo.Rings = 3 then
begin
HangUp;
goto line #28 ( or whatever line number )
then
end;