will inkscape alter javascript?

Discuss SVG code, accessible via the XML Editor.
tfit
Posts: 12
Joined: Wed Nov 05, 2008 5:57 am

will inkscape alter javascript?

Postby tfit » Wed Nov 05, 2008 6:23 am

I have a simple svg file that can be converted to a pdf file (--export-pdf etc..). I would like to know if inkscape will alter or even complete ignore javascript when a svg is exported to a pdf file?

Thanks

User avatar
microUgly
Site Admin
Posts: 2985
Joined: Sat Jun 02, 2007 3:13 pm
Contact:

Re: will inkscape alter javascript?

Postby microUgly » Wed Nov 05, 2008 9:11 am

I've never tested, but I think it's highly unlikely your JS will be preserved. I think this will be a limitation of both Inkscape and the convertor. You should open your file in Inkscape then save it to what Inkscape will do to your code.

tfit
Posts: 12
Joined: Wed Nov 05, 2008 5:57 am

Re: will inkscape alter javascript?

Postby tfit » Wed Nov 05, 2008 10:10 am

yes i tried it, but it didn't seem to work. But I was wondering if I was missing something. So is there another program that can do javascripting from the commandline? I use scribus, but it lacks easy commandline interfacing and the javascript support is limited for the things i want to do.
Maybe i should look into Tex!?

tiffanly
Posts: 1
Joined: Tue Aug 04, 2009 2:52 am

Re: will inkscape alter javascript?

Postby tiffanly » Wed Aug 05, 2009 9:30 pm

Using a Javascript to access a Java Application after requesting User Permission? How can a JavaScript request permission to install a background executable Java JAR application? This is similar to how to install an ActiveX control. This is my problem: I have a java application that searches for a requested file, but I cannot implement the search in Javascript for security reasons. Is there a way that I can prompt the user to request permission to access their data and install, execute, and retrieve data with my java application?


Return to “SVG / XML Code”