<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; SpiderMonkey ECMAScript: Как получить имя файла?]]></title>
	<link rel="self" href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=10094&amp;type=atom" />
	<updated>2014-10-31T06:42:19Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=10094</id>
		<entry>
			<title type="html"><![CDATA[Re: SpiderMonkey ECMAScript: Как получить имя файла?]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=87863#p87863" />
			<content type="html"><![CDATA[<p>Описания свойств и методов этого объекта Avidemux не существует разве?</p>]]></content>
			<author>
				<name><![CDATA[YMP]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=81</uri>
			</author>
			<updated>2014-10-31T06:42:19Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=87863#p87863</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[SpiderMonkey ECMAScript: Как получить имя файла?]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=87862#p87862" />
			<content type="html"><![CDATA[<p>Видеоредактор Avidemux 2.5 в своих скриптах использует SpiderMonkey ECMAScript. Вот кусок скрипта в котором мне надо получить имя обрабатываемого файла<br />	</p><div class="codebox"><pre><code>var app = new Avidemux();
var width, height, fps1000, widthN, heightN, newX, newY;
 
//app.forceUnpack();
 
//** Subtitles **
app.video.addFilter(&quot;ass&quot;,&quot;font_scale=1.500000&quot;,&quot;line_spacing=0.100000&quot;,&quot;top_margin=0&quot;,&quot;bottom_margin=0&quot;,&quot;subfile=e:\\Rus Sub\\&quot; &amp; сюда имя файла &amp; &quot;.ass&quot;,&quot;fonts_dir=/tmp/&quot;,&quot;extract_embedded_fonts=1&quot;);</code></pre></div><br /><p>пробовал app.fileName() не получается</p><p> пробовал <br /> var fso = new ActiveXObject(&quot;Scripting.FileSystemObject&quot;);<br /> var f = fso.GetFile(app);<br /> var x = f.Name; <br /> не получается</p>]]></content>
			<author>
				<name><![CDATA[griha09]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27540</uri>
			</author>
			<updated>2014-10-31T03:24:01Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=87862#p87862</id>
		</entry>
</feed>
