Page 1 of 1

revGoURL fails in standalone application

Posted: Thu Oct 09, 2008 11:05 pm
by axe
Hi there,
I work on PPC Mac with OSX version 10.5.5
the following code:
answer "Sorry pwrWnds demo has expired." with "OK" or "Buy now"
if it is "Buy now" then
try
revGoURL "http://www.runrev.com"
catch theMistake
answer theMistake
end try
end if
opened the website both from the message box and Revolution Studio 2.8.1 built 472 so I saved it as standalone application.
Both the MacOSX and the MacOSX PowerPC-32 applications failed to open the URL.
The dialog box answer theMistake appeared instead and gave theMistake as 573,15,1,revGoURL
Could someone try it out and help please?

Posted: Fri Oct 10, 2008 11:04 pm
by mwieder
Read the footnote in the documentation about revGoURL. You need to include the internet library explicitly when you build the standalone.

Posted: Sat Oct 11, 2008 1:54 am
by Mark
Hi Axe,

FYI, the error is:

Type: Handler (can't find handler)
Object name: card id 60439
Line:(row 15 col 1)
Hint: revGoURL

(sorry, the object name is nonsense, everything else is correct).

Best,

Mark

Thanks Guys

Posted: Mon Oct 13, 2008 6:16 am
by axe
I included all libraries script and all I could find on the settingsdialog box.
No joy!
I contacted support and I got tired of waiting.
I did it all in applescript
Much quicker and appl is onli 100kb instead of 7.3 mb
Long live applescript!