Sg2.9
Problem loading txt using Dia...
Recent RSS
Problem loading txt using Dialog.fileOpen
From:  mikima
Date:  26. November 2010, 00:32

hi to all
i have a problem. i want to load data from a txt, so i've used this code:

var file = Dialog.fileOpen('Select the txt file'); 
file.open();

as used in another thread (post).
But when i run the script, the console says "Error: Unknown error".
I'm using Scriptographer 2.9.065 on CS4 (win).

Any hint?

Re: Problem loading txt using Dialog.fileOpen
From:  Jürg Lehni
Date:  26. November 2010, 20:01

Does it show a file open dialog first, where you can select a file? And if so, what kind of file are you selecting?

Re: Problem loading txt using Dialog.fileOpen
From:  mikima
Date:  29. November 2010, 17:43

no, it doesn't show any dialog.
I want to select a txt file containing data.

Re: Problem loading txt using Dialog.fileOpen
From:  Jürg Lehni
Date:  3. December 2010, 18:28

This should be fixed now in 2.9.070. Please test and report back!

Re: Problem loading txt using Dialog.fileOpen
From:  mikima
Date:  8. December 2010, 11:16

ok, updated to 2.9.070 (win) for CS4 and now works!

thanks a lot!

Scripts
08.08.14, 15:24
15.05.14, 14:23
02.03.14, 19:16
18.11.13, 14:48
22.03.13, 03:05
22.02.13, 15:45
Posts
10.01.17, 16:37
19.02.16, 06:03
19.02.16, 06:00
17.01.16, 11:00
12.01.16, 13:10
25.11.15, 08:19
Script of the Moment
Abstract Foliage 18.08.08