I need to open a stack as my custom file....in other words i want only open a type of file...like .pippo
how i can do?? thanks a lot....
example code like this.....
Code: Select all
on mouseUp
answer file "A text file" with type ("text files|txt|tTXT" & return & "all files|*|*")
if it <> "" then
put it into theFilePath
put URL ("file:" & theFilePath) into field "text"
else
--no file was selected, or cancel was pressed
beep
end if
end mouseUp
Code: Select all
on mouseUp
answer file "A custom file" with type (".pippo" & return & "all files|*|*")
if it <> "" then
put it into theFilePath
-----put URL ("file:" & theFilePath) into field "text"
Open thefilepath
else
--no file was selected, or cancel was pressed
beep
end if
end mouseUp
best regards,
Lestroso
