[jawsscripts] Re: Differentiating between file name and a folder name withhin the JAWS scripts

  • From: Victor Tsaran <vtsaran@xxxxxxxxx>
  • To: jawsscripts@xxxxxxxxxxxxx
  • Date: Sun, 28 Feb 2010 15:59:14 -0800

Thanks Martin and Doug,
Let me see which of the solutions is the cheapest one and I'll go for it.
Thanks again,
Vic

On 2/28/2010 4:01 AM, Martin Slack wrote:
> Hi vic,
>
>    As you surmised, the FileSystemObject has the methods FileExists(FileSpec)
> and FolderExists(FileSpec).  The VBScript reference says that the FileSpec
> must include a complete path specification (either absolute or relative) if
> the file or folder isn't expected to exist within the current folder.
>
>    Martin
>
>
> ----- Original Message -----
> From: "Victor Tsaran"<vtsaran@xxxxxxxxx>
> To:<jawsscripts@xxxxxxxxxxxxx>
> Sent: Sunday, February 28, 2010 1:43 AM
> Subject: [jawsscripts] Differentiating between file name and a folder name
> withhin the JAWS scripts
>
>
>> Hello all,
>> Anyone knows of a quick way to find out whether an item in question is a
>> file or a folder? I believe JAWS scripting language does not provide
>> this functionality. Will this have to be done through the system file
>> object? If yes, then how?
>>
>> Thanks,
>> V
>>
>> --
>> ------------------------------------------------------------------------
>>
>> Check out my new album on iTunes at
>> http://ax.itunes.apple.com/us/artist/victor-tsaran/id344507896
>>
>> ------------------------------------------------------------------------
>> __________
>> Visit and contribute to The JAWS Script Repository http://jawsscripts.com
>>
>> View the list's information and change your settings at
>> //www.freelists.org/list/jawsscripts
>>
>
> __________
> Visit and contribute to The JAWS Script Repository http://jawsscripts.com
>
> View the list's information and change your settings at
> //www.freelists.org/list/jawsscripts
>
>


-- 
------------------------------------------------------------------------

Check out my new album on iTunes at
http://ax.itunes.apple.com/us/artist/victor-tsaran/id344507896

------------------------------------------------------------------------
__________ 
Visit and contribute to The JAWS Script Repository http://jawsscripts.com

View the list's information and change your settings at 
//www.freelists.org/list/jawsscripts

Other related posts: