No internet connection
  1. Home
  2. How to

Monitor AirDrop Progress

By Nathan Salefski @nathansalefski
    2023-12-07 18:07:24.194Z

    Does anyone know how to monitor an incoming AirDrop's progress? I would like a button that opens the AirDrop folder in finder, allows me to accept the AirDrop, waits for the transfer to be complete, then opens my downloads folder. Of course the folder navigation is extremely straightforward, but I can't think of a way to monitor that process.

    Any help would be great! Thanks!

    sf.ui.finder.appActivate();
    
    sf.ui.finder.menuClick({
    	menuPath: ['Go', 'AirDrop']
    });
    
    //WAIT FOR AIRDROP TO COMPLETE
    
    sf.ui.finder.menuClick({
    	menuPath: ['Go', 'Downloads']
    });
    
    • 1 replies
    1. Nathan Salefski @nathansalefski
        2023-12-07 19:05:25.337Z

        Perhaps something like this would be easier?

        sf.ui.finder.appActivate();
        
        sf.ui.finder.menuClick({
        	menuPath: ['Go', 'AirDrop']
        });
        
        sf.devices.streamDeck.getDeviceBySerialNumber('').waitForPress();
        
        sf.ui.finder.menuClick({
        	menuPath: ['Go', 'Downloads']
        });