Comments (5)
Hey, there was this pull request #3 , so not sure what is the correct fix here @leonjza .
from dlgs.
Hmm, problem with not "telling" a specific application is that when you are not in a logged in user context, there will be no dialog at all.
from dlgs.
@sooslaca why do you think it is because of "with icon" part, it works ok without it?
I don't use macOS so I don't really understand that well all those telling, there was this issue with color selector #1 where app was hanging until you "tell".
from dlgs.
hey, I'm not a MAC guru either, but here is the proof from Terminal app:
WITH ICON:
MACMACHINE:~ user$ osascript -e 'tell app "System Events" to display dialog "A stop dialog with only one button." buttons "OK" default button 1 with title "and a title" with icon stop'
28:150: execution error: System Events got an error: Can’t make application "System Events" into type number or string. (-1700)
(dialog is NOT displayed)
WITHOUT ICON:
MACMACHINE:~ user$ osascript -e 'tell app "System Events" to display dialog "A stop dialog with only one button." buttons "OK" default button 1 with title "and a title"'
button returned:OK
(after this dialog displays)
OS VERSION:
MACMACHINE:~ user$ uname -a
Darwin MACMACHINE 17.7.0 Darwin Kernel Version 17.7.0: Thu Jun 21 22:53:14 PDT 2018; root:xnu-4570.71.2~1/RELEASE_X86_64 x86_64
from dlgs.
Also works in terminal if I leave out 'tell app "System Events"
MACMACHINE:~ user$ osascript -e 'display dialog "A stop dialog with only one button." buttons "OK" default button 1 with title "and a title" with icon stop'
button returned:OK
from dlgs.
Related Issues (16)
- Color selector doesn't work HOT 5
- Save File dialog HOT 1
- FileMulti can only choose 10 files cant more HOT 4
- File filters not working on MacOS HOT 1
- Message Dialogs HOT 1
- any way to make the dialog on top ? HOT 2
- Any plans on having a CLI? HOT 2
- Causes False Positive Windows 10 HOT 7
- class already exits error HOT 5
- File picker returns an incorrect path for USB devices on Windows HOT 7
- Error handling is bogus
- Notifications HOT 1
- Width dialog box HOT 6
- Print dialog
- Entry bug
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 dlgs.