Jump to content

Search the Community

Showing results for tags 'string'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Alfred 3
  • Make the Most of Alfred
    • Discussion & Help
    • Bug Reports
    • Alfred Feature Suggestions
    • Themes
  • Alfred Workflows
    • Share your Workflows
    • Workflow Help & Questions
  • Alfred v2 Themes
  • Alfred Remote for iOS
    • Alfred Remote Discussion & Help
    • Remote Connection Troubleshooting

Categories

  • Articles
    • Forum Integration
    • Frontpage
  • Pages
  • Miscellaneous
    • Databases
    • Templates
    • Media

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Twitter


Website URL


Jabber


Location


Interests

Found 2 results

  1. I have a simple question. I want to send a URL to a browser. Or a string to an already active input box in an application. How do i do this? The only thing i can find is Key Combo which sends only one key. I want to send a string. Ah, and the Open URL doesn't work for me because i want to send the URL to an already open browser. It seems such a simple operation, but i cannot figure out how to do it.
  2. Apologies for what is a pretty basic question for most people in this forum, but does anybody know how to click a menu item that contains quotation marks? More specifically, in the Mail app, I would like to take one of my mailboxes offline (as opposed to taking them all offline). However, the menu items include quotation marks around the name of each mailbox. For example, from the menu's hierarchy, the menu might look something like the following: Mailbox Online Status Take "GMAIL" Offline Take "AOL" Offline Take "Hotmail" Offline Take "Prodigy" Offline Under this setup, what should my applescript look like if I wanted to click the GMAIL option? I've tried the following code below, but it doesn't work. if application "Mail" is running then activate application "Mail" tell application "System Events" tell process "Mail" click menu item "Take \"GMAIL\" Offline" of menu 1 of menu item "Online Status" of menu 1 of menu bar item "Mailbox" of menu bar 1 end tell end tell else display notification "To take a mailbox offline, Mail must be open." with title "Mail - Not Open" end if I suspect I screwed up how to deal with quotation marks in the string, but I can't seem to figure it out. I've tried adding more slashes and moving them around, but I haven't had any luck. I'm a newbie, so thanks for any help you can lend!!
×
×
  • Create New...