Jump to content

sosaveme

Member
  • Posts

    25
  • Joined

  • Last visited

1 Follower

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

sosaveme's Achievements

Member

Member (4/5)

1

Reputation

  1. [19:29:01.797] Logging Started... [19:29:02.976] Movie and TV Show Search[Script Filter] Queuing argument 'friends' [19:29:03.780] Movie and TV Show Search[Script Filter] Queuing argument 'fr' [19:29:03.964] Movie and TV Show Search[Script Filter] Script with argv 'fr' finished [19:29:03.967] STDERR: Movie and TV Show Search[Script Filter] https://api.themoviedb.org/3/search/tv?api_key=0ebad901a16d3bf7f947b0a8d1808c44&query=fr&search_type=ngram&language=en <urlopen error [Errno 61] Connection refused> [19:29:03.969] Movie and TV Show Search[Script Filter] {"items": [{"title": "Uh oh... something went wrong", "subtitle": "Please check your internet connection."}]} [19:29:04.832] Movie and TV Show Search[Script Filter] Queuing argument 'friends' [19:29:05.013] Movie and TV Show Search[Script Filter] Script with argv 'friends' finished [19:29:05.020] STDERR: Movie and TV Show Search[Script Filter] https://api.themoviedb.org/3/search/tv?api_key=0ebad901a16d3bf7f947b0a8d1808c44&query=friends&search_type=ngram&language=en <urlopen error [Errno 61] Connection refused> [19:29:05.023] Movie and TV Show Search[Script Filter] {"items": [{"title": "Uh oh... something went wrong", "subtitle": "Please check your internet connection."}]} Strange thing, I can't open themoviedb.org even with shadowsocks VPN. But it opens with Tor. P.S. Don't have Python 3
  2. Don't think it's possible because Apple allow move spaces only with trackpad gestures.
  3. Thanks! Sadly but this method doesn't work properly for safari full screen video, because it's move whole safari
  4. Is it possible to move fullscreen app or fullscreen video?
  5. Hey! Is it possible to write a workflow to control Background sounds (turn it off and on) (Accessibility -> Audio -> Background sounds)? I didn't find anything in Shortcuts or Apple Script.
  6. Hello, everyone! Is it possible to run Alfred 5 workflow through AppleScript within Alfred 5 workflow? I have a workflow with script and I need something like this, but I don't know how to do it. on run argv tell application "Tunnelblick" set VPN to (get state of configurations) if VPN contains "CONNECTED" then else tell application "Alfred" to run the workflow named "Test" end if end tell end run Thanks!
  7. So, what I want: I need the script to simultaneously check the status of four VPNs and if at least one is connected, it would do nothing, but if all are disabled, it would launch the shortcut. But now the script checks the state of VPNs one by one, and it launches the shortcut over and over again. Can you please help me? Screenshot (Alfred): https://ibb.co/Kj0F3cp My script: on run argv set VPN1 to (system attribute "vpn\_to\_toggle1") set VPN2 to (system attribute "vpn\_to\_toggle2") set VPN3 to (system attribute "vpn\_to\_toggle3") set VPN4 to (system attribute "vpn\_to\_toggle4") tell application "Tunnelblick" set status to get state of first configuration where name = VPN1 if (status = "CONNECTED") then else tell application "Shortcuts" to run the shortcut named "Random" end if end tell tell application "Tunnelblick" set status to get state of first configuration where name = VPN2 if (status = "CONNECTED") then else tell application "Shortcuts" to run the shortcut named "Random" end if end tell tell application "Tunnelblick" set status to get state of first configuration where name = VPN3 if (status = "CONNECTED") then else tell application "Shortcuts" to run the shortcut named "Random" end if end tell tell application "Tunnelblick" set status to get state of first configuration where name = VPN4 if (status = "CONNECTED") then else tell application "Shortcuts" to run the shortcut named "Random" end if end tell end run
  8. Thank you very much, now Alfred asks Tunnelblick privacy. Maybe you can help me with script writing? I tried myself this: on run argv if application "Tunnelblick" is not running then open application "Tunnelblick" if application "Tunnelblick" is running then tell application "Tunnelblick" to quit end if end run Got this: [22:04:29.459] ERROR: VPN Toggle - COPY[Run Script] /Users/****/Library/Caches/com.runningwithcrayons.Alfred/Workflow Scripts/4435190E-A2DA-4424-9016-AB038A46DFB6:191:194: script error: Expected “if”, etc. but found command name. (-2741) I need this: if Tunnelblick is not running then open it, but if it's already running then quit it.
  9. Hello, everyone! I'm trying to write a script to close specific app (if it open) and open specific app (if it doesn't open) but fail every time. What I do: 1. create NSAppleScript 2. Script: on alfred_script(q) if application "Tunnelblick" is running then tell application "Tunnelblick" to quit end if end alfred_script What I get: [20:40:12.767] ERROR: VPN Toggle[Run NSAppleScript] { NSAppleScriptErrorAppName = Tunnelblick; NSAppleScriptErrorBriefMessage = "Not authorized to send Apple events to Tunnelblick."; NSAppleScriptErrorMessage = "Not authorized to send Apple events to Tunnelblick."; NSAppleScriptErrorNumber = "-1743"; NSAppleScriptErrorRange = "NSRange: {103, 4}"; But with Telegram it works! Why I can't quit Tunnelblick but can quit Telegram?
  10. Alfred4 (PowerPack), MacOS 12.5 (the latest). The Issue is still here. The laptop worked all night and nothing has changed: indexing still continues and loads my macbook. Any solutions? I think it's better to stop indexing right now (don't know how), remove all indexing files (don't know how) and indexing everything again (don't know how). New Information: I guess it's my external HDD. I turn it out and indexing stopped. Do I need waiting or it's an issue? New information 2: So, I added my external HDD to the Spotlight privacy. Could you give me a right instruction for total reindexing my Macbook and external HDD to fix any issue with spotlight indexing? I Want to delete every Spotlight file and indexing it again right.
  11. Hey everyone! Couple days ago Alfred just stopped searching any files. I did this: https://www.alfredapp.com/help/troubleshooting/indexing/ (Did all steps and Rebuild macOS Metadata) And now I got infinity spotlight indexing. It's about a day already. mds is using CPU. What should I do? My Mac is MacBook Air M1 8GB
×
×
  • Create New...