Maybe I haven't understood the Key Combo use properly. Unfortunately, it is like it doesn't type Enter. I placed the key combo "Return" after the NSAppelScript that mount the shared volume. On the mounting part, any idea how I can automatically say Connect for the credential pop-up to mount the shared folders ? Since Alfred 3.1 is out, I thought Key Combo would do the job, but it isn't. It works perfectly using /bin/bash indeed. If not, any idea on the correct syntax for the AppleScript command here ? Is there a way to do it without getting the terminal app to actually launch ? So I tried to add a Terminal Command action, but this one opens up the terminal when done. So I tried those commands in my NSAppleScript :ĭo shell script "umount /Volumes/Folder A/"ĭo shell script "umount /Volumes/Folder\ A/" But it shows up when I type " unmount" keyword as " Folder A" I even found an existing workflow in this board ( here) but the unmount function of is also not capable of un mounting this particular folder. So I found another way as written here :ĭo shell script "umount /Volumes/Folder A"ĭo shell script "umount /Volumes/FolderB" Unfortunately, unmounting is not working by juste changing mount to unmount. If not, how can I make Alfred to click OK for me ? I was wondering if there is a way to avoid this pop-up ? I for example used a simple shortcut prior to using Alfred and when clicking it, I didn't get the pop-up, which sounds logic since it is stored in my keychain. Both of them are already written (and the " Remember in Keychain"is selected.) so all I have to do is click OK. But, I am always getting the pop-up window asking for username
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2022
Categories |