Guest
2011-03-06, 01:28 PM
Haven't tested this, but for url encoding you might experiment with simply using the shell. Something along these lines, for example:
Code:
on encode(strPath)
do shell script "python -c 'import sys, urllib as ul; print ul.quote(sys.argv[1])' " & ¬
quoted form of strPath
end encode
--
Last edited by RobTrew; 2011-03-06 at 08:42 PM..