Comments (6)
Please open terminal and test the following command:
osascript <<END
tell application "Alfred 2"
activate
set alfredPath to (path to application "Alfred 2")
set alfredIcon to path to resource "appicon.icns" in bundle (alfredPath as alias)
display dialog "Test input:" with title "GitHub Login" buttons {"OK"} default button "OK" default answer "" with icon alfredIcon with hidden answer
set answer to text returned of result
end tell
END
Does it open a dialog box or do you get an error message?
from alfred-github-workflow.
That worked. I got a dialog box. http://cl.ly/O3q8
from alfred-github-workflow.
Hmm ok. Then please test another command in terminal:
php <<CODE
<?php
echo exec('osascript <<END
tell application "Alfred 2"
activate
set alfredPath to (path to application "Alfred 2")
set alfredIcon to path to resource "appicon.icns" in bundle (alfredPath as alias)
display dialog "Test password:" with title "GitHub Login" buttons {"OK"} default button "OK" default answer "" with icon alfredIcon with hidden answer
set answer to text returned of result
end tell
END');
CODE
If this also opens a dialog box, please insert some text and click "OK". Is this text printed to the terminal window?
from alfred-github-workflow.
Figured it out. I had renamed "Alfred 2" to just plain "Alfred". Switched it back & this all works now. I wonder if there's a way to workaround for others who might do the same?
Appreciate you taking the time to look at this for me.
from alfred-github-workflow.
Good point. I will search for a workaround…
from alfred-github-workflow.
With OS 10.8.3 it works for me if I rename the app to plain "Alfred". The process is still named "Alfred 2" in Activity Monitor (I killed the process before renaming and restarting the app), so tell application "Alfred 2"
still works.
Maybe the behavior in Lion is different, but I will close this issue for now because it seems to be a rare edge case.
from alfred-github-workflow.
Related Issues (20)
- Plugin breaks after update with Alfred 3 HOT 6
- Workflow breaks on macOS 12 (Monterey) HOT 6
- gh keyword doesn't work on macOS 12.0.1 HOT 1
- Mac 12.0.1 and php 8.1.0 - I cannot auth using GitHub token HOT 1
- Cannot get issue list of the repository HOT 1
- /bin/bash: php: command not found HOT 1
- Can't seem to gh > login, even though i have installed the workflow HOT 2
- [Feature Request] Add option to select browser to open in. HOT 1
- Version not updated in workflow editor HOT 1
- Stopped working? HOT 1
- What is the file to adjust the icon? HOT 1
- Current version breaks in latest php from Homebrew HOT 11
- Replicate App "in house" for privacy issues HOT 1
- Can't search in my organization private repos. HOT 2
- Support topic search and trending redirect
- Alfred Gallery
- ERROR: GitHub[Script Filter] Code 6: dyld[9991]: Library not loaded: '/opt/homebrew/opt/libtiff/lib/libtiff.5.dylib'
- Is This Project Still Maintained? HOT 1
- Workflow 1.0.9 Missing Symbol Called
- Support Github Enterprise Cloud
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from alfred-github-workflow.