We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e6688f commit 6de2790Copy full SHA for 6de2790
βsources/eudic.applescriptβ
@@ -0,0 +1,26 @@
1
+try
2
+ tell application "Finder" to get application file id "com.eusoft.eudic"
3
+ set eudic_bundle_id to "com.eusoft.eudic"
4
+on error
5
+ set eudic_bundle_id to "com.eusoft.freeeudic"
6
+end try
7
+
8
+set cmd to "open -b " & eudic_bundle_id
9
10
+do shell script cmd
11
+delay 0.1
12
13
14
15
+if eudic_bundle_id is "com.eusoft.eudic" then
16
+ tell application id "com.eusoft.eudic"
17
+ activate
18
+ show dic with word "{query}"
19
+ end tell
20
+else
21
+ tell application id "com.eusoft.freeeudic"
22
23
24
25
+end if
26
βworkflows/Eudic.alfredworkflowβ
99 Bytes
βworkflows/Eudic_lite.alfredworkflowβ
-36.2 KB
0 commit comments