Opening documents with Quick Look on iPad?
Peter Brigham MD
pmbrig at gmail.com
Fri Dec 10 11:24:30 EST 2010
Here's what I use on the desktop. Don't know squat about how this
could be massaged for iPad.
---------
on mouseUp tBtn
answer file "Please choose a file to look at ..."
if it is empty then exit mouseUp
put it into theFile
put empty into allowDrag
quickLook theFile
end mouseUp
on quickLook theFile
put apostrophe (theFile) into theFile
-- put "qlmanage -t " & "-s 900 " & theFile into tcmd --
apparently sets it to max orig size, white window
-- put "qlmanage -t " & "-f 5 " & theFile into tcmd ----
apparently sets it to max orig size, white window
put "qlmanage -p " & theFile into tcmd -- shows it in a black window
get shell(tCmd)
if the result is not empty then beep
end quickLook
function apostrophe str
return "'" & str & "'"
end apostrophe
------------
-- Peter
Peter M. Brigham
pmbrig at gmail.com
http://home.comcast.net/~pmbrig
On Dec 10, 2010, at 10:33 AM, As_Simon wrote:
>
> Has anyone figured out how to open, say a pdf, using iPads Quick
> Look? I
> mean via LC.
> This would be great because Quick Look handles many types of files.
>
> Thanks,
> Simon
> --
> View this message in context: http://runtime-revolution.278305.n4.nabble.com/Opening-documents-with-Quick-Look-on-iPad-tp3082167p3082167.html
> Sent from the Revolution - User mailing list archive at Nabble.com.
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
More information about the use-livecode
mailing list