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

  • From: "Homme, James" <james.homme@xxxxxxxxxxxx>
  • To: "jawsscripts@xxxxxxxxxxxxx" <jawsscripts@xxxxxxxxxxxxx>
  • Date: Mon, 1 Mar 2010 11:14:17 -0500

Hi,
Your computer might not be the only one running the scripts in question.

Jim

Jim Homme,
Usability Services,
Phone: 412-544-1810
Skype: jim.homme
Internal recipients,  Read my accessibility blog

-----Original Message-----
From: jawsscripts-bounce@xxxxxxxxxxxxx 
[mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of Harmony Neil
Sent: Monday, March 01, 2010 10:53 AM
To: jawsscripts@xxxxxxxxxxxxx
Subject: [jawsscripts] Re: Differentiating between file name and a folder name 
withhin the JAWS scripts

Why do you need to make a script for that anyway?  You can just go into
control panel and change the folder options and you can also get aws to read
the tooltips.

-----Original Message-----
From: jawsscripts-bounce@xxxxxxxxxxxxx
[mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of Jamal Mazrui
Sent: 01 March 2010 3:30 PM
To: JAWSScripts@xxxxxxxxxxxxx
Subject: [jawsscripts] Re: Differentiating between file name and a folder
name withhin the JAWS scripts

Hi Vic,
Below is a function from Homer.jss of the HomerKit distribution
http://EmpowermentZone.com/kitsetup.zip

  Jamal

Int Function FolderExists(String sPath)
;Test whether folder exists

Var
Int iReturn,
Object oSystem, Object oNull

Let oSystem =CreateObject("Scripting.FileSystemObject")
Let iReturn =oSystem.FolderExists(sPath)

Let oSystem =oNull
Return iReturn
EndFunction

-----Original Message-----
From: jawsscripts-bounce@xxxxxxxxxxxxx
[mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of Victor Tsaran
Sent: Sunday, February 28, 2010 6:59 PM
To: jawsscripts@xxxxxxxxxxxxx
Cc: Martin Slack
Subject: [jawsscripts] Re: Differentiating between file name and a folder
name withhin the JAWS scripts

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


__________
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


This e-mail and any attachments to it are confidential and are intended solely 
for use of the individual or entity to whom they are addressed.  If you have 
received this e-mail in error, please notify the sender immediately and then 
delete it.  If you are not the intended recipient, you must not keep, use, 
disclose, copy or distribute this e-mail without the author's prior permission. 
 The views expressed in this e-mail message do not necessarily represent the 
views of Highmark Inc., its subsidiaries, or affiliates.
__________ 
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:

  • » [jawsscripts] Re: Differentiating between file name and a folder name within the JAWS scripts - Homme, James