Jump to content

jaypeters

Member
  • Posts

    8
  • Joined

  • Last visited

Everything posted by jaypeters

  1. Thanks for the info and the additional script, @CJK!
  2. Super newbie question -- how do I add this branch into Alfred as a workflow? Also, to anyone reading, I could use some help integrating parts of this workflow into another. Right now, I start work by typing "start work", and the apps I use open and the webpages I need to start with also open. I'd like have my "start work" command also start a repeating 30 minute timer to remind me to take a break. Anyone know how I could do that within the workflow manager?
  3. Thanks @CJK! Full disclosure -- the script I shared is the first code I have ever written so I'm a complete newbie. Would you be able to give me some more detail about how to plug this adjustment into the script I wrote?
  4. I got this to work! Example code below. Swap in the URLs of your choice. When this code runs, the tabs open one after the other. So, after the code runs, the active tab is the Stack Overflow one, with Google and Apple in tabs in the background. This is really handy! Thanks auco for your help. on alfred_script(q) tell application "Safari" activate make new document with properties {URL:"https://www.apple.com"} my new_tab() set the URL of document 1 to "https://www.google.com" my new_tab() set the URL of document 1 to "https://stackoverflow.com" end tell end run on new_tab() tell application "Safari" to activate tell application "System Events" tell process "Safari" click menu item "New Tab" of menu "File" of menu bar 1 end tell end tell end new_tab
  5. Thanks! Let me play around with your suggestions to see if I can make it work. Thanks so much for your help so far, I really appreciate it.
  6. Thanks! I used that site to get a script working in Script Editor (first screenshot), but when I try to run it in Alfred, I get the error in the second attached screenshot. Any idea how to get it to work within Alfred? Sorry they are screenshots. I'm not sure how to share code snippets on Alfred forums like you did.
  7. Hi! Is it possible to use this extension to open multiple tabs in one new window? If so, what would I need to change in the AppleScript? Thanks!
×
×
  • Create New...