Applescript bug

Discussion in 'Mac OS X Lion (10.7)' started by boilingpoint, May 31, 2011.

  1. macrumors member

    Joined:
    May 18, 2011
    #1
    tell application "Finder"
    if disk "grpshr" exists then -- error
    -- WORKAROUND: if POSIX file "/Volumes/grpshr" exists then
    else
    try
    mount volume "smb://192.168.14.2/grpshr"
    end try
    end if
    end tell


    After the 1st mounting success and ejecting the mounted volume, the above error line always tells that the mounted volume exists despite of ejecting the volume.
     
  2. thread starter macrumors member

    Joined:
    May 18, 2011

Share This Page