tyhunter
V2EX  ›  问与答

有没有用于切换不同 Wifi 的 Alfred Workflow

  •  
  •   tyhunter · Apr 2, 2015 · 3582 views
    This topic created in 4088 days ago, the information mentioned may be changed or developed.
    最近做测试经常要在两个SSID之间切换,在http://www.alfredworkflow.com上只找到了WifiSwitcher但装了貌似根本不起作用,求V友推荐一下
    4 replies    2015-04-04 02:50:25 +08:00
    hzlzh
        1
    hzlzh  
    PRO
       Apr 2, 2015
    那个是 wifi location 的切换插件,你要切换 wifi 的话这个需求不大只能自己写了
    spritevan
        2
    spritevan  
       Apr 2, 2015
    sudo networksetup -setairportnetwork en0 ssid
    dearrrfish
        3
    dearrrfish  
       Apr 4, 2015
    一个思路,未验证:
    1.设置几个不同的location, 和相应不同的Wifi 优先列表。
    2.自己做个简单的workflow, 几个简单的shell-script:
    ```
    networksetup -setairportpower off
    scselect fake-location-wo-shi-ssid
    networksetup -setairportpower on
    ```
    dearrrfish
        4
    dearrrfish  
       Apr 4, 2015
    啊,好像基本就是切换wifi location,囧。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   996 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 47ms · UTC 22:35 · PVG 06:35 · LAX 15:35 · JFK 18:35
    ♥ Do have faith in what you're doing.