Results 1 to 5 of 5

Thread: Checking For In Use

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Default Re: Checking For In Use

    what are you using to "hold" the .txt file? Are you sure that the file
    is actually locked when open in your editor?

    Jeff Slarve

  2. #2

    Default Re: Checking For In Use

    Hi Jeff,

    It doesn't matter what I try to test. This also fails for me:

    Set Variable %INUSE% to FUNCTION:Check In-use File
    ("%_SB_INSTALLDIR%\inv.exe")

    The inv.exe application is running with a browse open.

    I went through all the SB examples and found Detect Active Application
    and tried this:

    Set Variable %ACTIVEAPP% to FUNCTIONetect Active Application
    ("inv.exe") [File Name]

    But that only works if the exe is running on THAT particular pc. A
    client pc with the application open does not return true.

    SB4 just did this and basically exited if files were in use.

    But I cannot see the script in SB4 - there is a file menu option but
    its greyed out. UGH

    Andy

  3. #3

    Default Re: Checking For In Use

    Hi Jeff,

    Nevermind I have it all working now. I was trying to use the variables
    BEFORE their values were set. Earlier I had it in the right place but
    mistakes in code. By the time I got the code right - I was in the
    wrong place LOL

    Thanks for trying to help

    Andy

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •