revBrowser not working on mac, but okay on pc
Posted: Thu Apr 21, 2011 12:09 am
Hi all. I've got the following identical code that works great on my PC (using Rev Enterprise 4.0.0), but doesn't seem to work at all on OSX (using LiveCode 4.5.1). I realize I've got more than one difference, but any ideas what might be the problem?
- Mark
- Mark
Code: Select all
global sBrowserId, gCounter
on mouseUp
put the windowid of this stack into tWinID
If sBrowserID is not empty then
revBrowserClose sBrowserId
end if
put "http://www.google.com" into line 1 of weblinks
put "https://spreadsheets.google.com/spreadsheet/viewform?formkey=dHhOZ1lubTdsY0EwLVNabUhBeFFfYUE6MQ" into line 2 of weblinks
put "http://www.pezzolab.org/olivertest.txt" into line 3 of weblinks
put "http://www.usf.edu" into line 4 of weblinks
If gCounter < 4 then
add one to gCounter
else
put 1 into gCounter
end if
put revBrowserOpen(tWinID,line gCounter of weblinks) into sBrowserId
revBrowserSet sBrowserId, "showborder","true"
revBrowserSet sBrowserId, "rect", rect of img "browserimage"
end mouseUp