有没有办法访问(写重写追加)本地驱动器与javascript加一些代码 [英] is there a way to access (write rewrite append) local drive with javascript plus some code

查看:70
本文介绍了有没有办法访问(写重写追加)本地驱动器与javascript加一些代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好!

我试图使用一个表格来填充文件而不在我的

计算机上放置服务器。

我不是C#程序员,我可以在Javascript中做一些事情,但是可以这样做。
WRITE REWRITE附上本地驱动文件。


任何ASP片段的脚本来帮助AUTOMAT我的输入USIGA表格好像

流程?


问候。


我在做什么?

我试图不使用TEXT编辑器,因为我的数据需要很多

字母表欧洲拉丁语,希腊语,Aramean等...

我的数据看起来像一个多语种的dictonary,以及语音和

语文内容....

HELLO !
I seek to use a form too fill a file without putting a server on my
computer.
I am no C# programmer, i can do some things in Javascript but IT CAN T
WRITE REWRITE APPEND A FILE ON LOCAL DRIVES .

ANY ASP PIECE OF SCRIPT TO HELP AUTOMAT MY INPUTS USIGA FORM LIKE
PROCESS ?

Regards.

What am i doing ?
I am trying not to work with a TEXT editor, because my data need many
alphabets European Latin , Greek , Aramean and so on...
My data will look like a multilingual dictonary along with phonetic and
philologic content....

推荐答案

你好,


首先,我没有C +程序员,但我有另一个想法!


试试这个:


new = window.open(""," myCode"," width = 500,heigth = 500,toolbar = yes")

new.d ocument.write(数据)

new.document.close()


然后你会有一个文本的弹出窗口,然后你可以保存

通过菜单 - >另存为。


希望有所帮助。


最诚挚的问候,

Sandfordc
www.JavaScript-Central.tk

Hello,

Well first of all im no C+ Programmer either but i have another idea!

Try this:

new=window.open("","myCode","width=500, heigth=500, toolbar=yes")
new.document.write(data)
new.document.close()

then you will have a pop-up window of your text which you can then save
via Menu -> Save As.

Hope that helps.

Best Regards,
Sandfordc
www.JavaScript-Central.tk


你好!


非常感谢。


我可以使用另存为保存窗口。选项。

不幸的是我甚至保存了html页面的代码。

我想使用表单系统来保存数据(数千个数据和

或许更多)在文本文件上但是使用HTML代码。


我在这里发送一个原型,它应该是什么样子才能工作!

______________

<!DOCTYPE HTML PUBLIC" - // W3C // DTD HTML 4.0 Transitional // EN">

< HTML>

< HEAD>

< script>

" new = window.open(""," myCode"," width = 500,heigth = 500,toolbar = yes")

new.document.write(data)new.document.close()">< / script>

< TITLE>新文件< / TITLE>

< META NAME =" Generator" CONTENT =" EditPlus">

< META NAME =" Author" CONTENT ="">

< META NAME =" Keywords" Keywords" CONTENT ="">

< META NAME =" Description" CONTENT ="">

< / HEAD>

< BODY>

< TABLE>

< TR>

< TD>法语单词< / TD>

< TD>< TEXTAREA NAME =" Franc" ROWS = QUOT; 3英寸COLS = QUOT; 40" font-family:Times

Roman;

font-size:83%;}

..fixed_width {font-family:fixed-width ,monospace;

font-size:90%;}

形式{margin:0; }

..tick {font-family:webding>< / TEXTAREA>< / TD>

< / TR>

< TR>< TD> Phonetic:法语单词< / TD>

< TD>< TEXTAREA NAME =" Phone" ROWS = QUOT; 3英寸COLS = QUOT; 40" font-family:SIL

手稿IPA 93; font-size:83%;}

..fixed_width {font-family:fixed-width,monospace;

font-size:90%;}

形式{margin:0; }

..tick {font-family:SIL Manuscript IPA 93>< / TEXTAREA>< / TD>

< / TR>

< TR> < TD> __________________< / TD>< / TR>

< TR> < TD>希腊词< / TD>

< TD>< TEXTAREA NAME =" Grec" ROWS = QUOT; 3英寸COLS = QUOT; 40" font-family:符号;

字体大小:83%;}

..fixed_width {font-family:fixed-width,monospace;

font-size:90%;}

形式{margin:0; }

..tick {font-family:符号>< / TEXTAREA>< / TD>

< / TR>

< TR>< TD> Phonetic:希腊词< / TD>

< TD>< TEXTAREA NAME =" PhoneG" ROWS = QUOT; 3英寸COLS = QUOT; 40" font-family:SIL

手稿IPA 93; font-size:83%;}

..fixed_width {font-family:fixed-width,monospace;

font-size:90%;}

形式{margin:0; }

..tick {font-family:SIL Manuscript IPA 93>< / TEXTAREA>

< / TD>

< / TR>

< TR>< TD> __评论:__< / TD>< / TR>

< TR>< TD>< TEXTAREA NAME =" Addendum" ROWS = QUOT; 5英寸COLS = QUOT; 50" font-family:

Times; font-size:83%;}

..fixed_width {font-family:fixed-width,monospace;

font-size:90%;}

形式{margin:0; }

..tick {

font-family:Times>< / TEXTAREA>< / TD>< / TR>

< / TABLE>

< / FORM>

< / FORM>

< INPUT TYPE =" submit">

< INPUT TYPE =" reset">

< / FORM>

< INPUT TYPE =" hidden"> ;

< / BODY>

< / HTML>


抱歉!

Hello !

Thank so much.

I can save the window using the "save as" option.
Unfortunately i save everthing even the code of the html page.
I wanted to use the form system to save data (thousands of data and
maybe more) on a text file but using HTML code.

I send here a prototype of what it should look like if it could work !
______________
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<script>
"new=window.open("","myCode","width=500, heigth=500, toolbar=yes")
new.document.write(data) new.document.close()"></script>
<TITLE> New Document </TITLE>
<META NAME="Generator" CONTENT="EditPlus">
<META NAME="Author" CONTENT="">
<META NAME="Keywords" CONTENT="">
<META NAME="Description" CONTENT="">
</HEAD>
<BODY>
<TABLE>
<TR>
<TD>French word</TD>
<TD><TEXTAREA NAME="Franc" ROWS="3" COLS="40" font-family: Times
Roman;
font-size: 83%;}
..fixed_width { font-family: fixed-width, monospace;
font-size: 90%;}
form {margin:0; }
..tick {font-family: webding></TEXTAREA></TD>
</TR>
<TR><TD>Phonetic : French word</TD>
<TD><TEXTAREA NAME="Phone" ROWS="3" COLS="40" font-family: SIL
Manuscript IPA 93; font-size: 83%;}
..fixed_width { font-family: fixed-width, monospace;
font-size: 90%;}
form {margin:0; }
..tick {font-family: SIL Manuscript IPA 93></TEXTAREA></TD>
</TR>
<TR> <TD>__________________</TD></TR>
<TR> <TD>Greek word</TD>
<TD><TEXTAREA NAME="Grec" ROWS="3" COLS="40" font-family: Symbol;
font-size: 83%;}
..fixed_width {font-family: fixed-width, monospace;
font-size: 90%;}
form {margin:0; }
..tick {font-family: Symbol></TEXTAREA></TD>
</TR>
<TR><TD>Phonetic : Greek word</TD>
<TD><TEXTAREA NAME="PhoneG" ROWS="3" COLS="40" font-family: SIL
Manuscript IPA 93; font-size: 83%;}
..fixed_width { font-family: fixed-width, monospace;
font-size: 90%;}
form { margin:0; }
..tick { font-family: SIL Manuscript IPA 93></TEXTAREA>
</TD>
</TR>
<TR><TD>__ Comments : __</TD></TR>
<TR><TD><TEXTAREA NAME="Addendum" ROWS="5" COLS="50" font-family:
Times; font-size: 83%;}
..fixed_width { font-family: fixed-width, monospace;
font-size: 90%;}
form { margin:0; }
..tick {
font-family: Times></TEXTAREA></TD></TR>
</TABLE>
</FORM>
</FORM>
<INPUT TYPE="submit">
<INPUT TYPE="reset">
</FORM>
<INPUT TYPE="hidden">
</BODY>
</HTML>

SORRY !


HALLES写道:
你好!
我试图在没有将服务器放在我的
计算机上的情况下使用表格填写文件。<我不是C#程序员,我可以在Javascript中做一些事情,但是它可以写​​一个REWRITE附上本地驱动器上的文件。


请不要喊。 JavaScript无法写入您的硬盘驱动器,因为您似乎已经意识到了这一点。

任何自行设备的ASP片段可以帮助我自动输入我的输入USIGA形式
过程?


尝试在ASP论坛中大喊大叫。顺便说一句,ASP需要一个

服务器,可能是为什么它是* Active Server Pages *。


您可能能够使用HTA文件或类似的Microsoft / IE / Windows

依赖解决方案,或者您可能最好在

完全开发其他应用程序或平台。

问候。

我在做什么?
我正在尝试不使用TEXT编辑器,因为我的数据需要很多
字母欧洲拉丁语,希腊语,Aramean等等...
我的数据看起来像一个多语言的dictonary以及语音和
语文内容....
HELLO !
I seek to use a form too fill a file without putting a server on my
computer.
I am no C# programmer, i can do some things in Javascript but IT CAN T
WRITE REWRITE APPEND A FILE ON LOCAL DRIVES .
Please don''t shout. JavaScript can''t write to your hard drive, as you
seem to realise.

ANY ASP PIECE OF SCRIPT TO HELP AUTOMAT MY INPUTS USIGA FORM LIKE
PROCESS ?
Try yelling your request in an ASP forum. Incidentally, ASP requires a
server, probably why it is *Active Server Pages*.

You may be able to use an HTA file or similar Microsoft/IE/Windows
dependent solution, or you might be better off to develop your forms in
some other application or platform entirely.

Regards.

What am i doing ?
I am trying not to work with a TEXT editor, because my data need many
alphabets European Latin , Greek , Aramean and so on...
My data will look like a multilingual dictonary along with phonetic and
philologic content....




Web浏览器界面不是为数据而设计的输入,虽然他们可以将
用于相当简单的任务。你可以做出合理的多语言输出,但这不是你想要的。


我认为你的预期应用是超越典型的

网页开发的范围,在其他一些环境中可能要容易得多。

-

Rob



Web browser interfaces are not designed for data input, though they can
be used for reasonably simple tasks. You can do reasonable
multi-lingual output, but that''s not what you seem to be after.

I think your intended application is way beyond the scope of typical
web development and likely far easier in some other environment.
--
Rob


这篇关于有没有办法访问(写重写追加)本地驱动器与javascript加一些代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆