Jump to content

Search the Community

Showing results for tags 'applescript osascript'.

  • 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
    • Workflow Advanced Tips & Tricks
    • Workflow Automation Tasks
  • Alfred 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 1 result

  1. I've got the most basic of all newbie questions. I created an applescripts with about 200 lines and it works fine when running it from the Applescript editor. I bring it into an Alfred workflow and nothing happens. I was able to get it to work with NSAppleScript but I want it to run in the background so I'm using the action RunScript. I've created a very simple one line script and I can't get that to work with RunScript. I'm missing something fundamental here but I've been racking my brain for a week and I see no one in the forum is asking such a basic question. I see a bunch of workflows that start out with "run script (POSIX fileā€¦" but I've got to believe I can just drop my applescript into the script text box of a Run Script. Here's a simple test I did. Can you tell me what I'm doing wrong? 1) In Alfred workflow I create a new Keyword to Scrip workflow, which gives me a Keyword box and a Run Script box already connected. I right click on the new workflow and choose "Edit Details" where I name the workflow "Test01" 2) I open the Keyword box, enter Test01 for the keyword, check "with space" and choose "Argument Optional", then hit the save button. (I've also tried No Argument for this test -- no difference in the results) 3) I open the RunScript box, select language "/usr/bin/osascript", Check only "Double Quotes" and "Backslashes" and enter the following line in the Script field: display dialog "Test01 script running" then hit the save button. At this point it seems like I'm done. I bring up Alfred, type Test01 (Alfred recognizes it as a workflow), I hit return and absolutely nothing happens. Any help would be greatly appreciated.
×
×
  • Create New...