Jump to content

WalterBeiter

Member
  • Posts

    22
  • Joined

  • Last visited

WalterBeiter's Achievements

Member

Member (4/5)

0

Reputation

  1. → maybe I'll try that. → AppleScript is mandatory for what I'll try to accomplish, so I think I will try that notificator thing. If that does not work or get to complex, I will skip this part and use the standard icons. But having the script editor icon show up whatever notification is displayed is annoying, especially when scripting multiple applications. Thanks for all the quick help.
  2. → The workflow does not exist yet, I am still developing the AppleScript but I ran into the problem of not knowing how to display custom notifications with a custom icon. So I though I would just do this using Alfreds notifications... Sorry for not providing enough details. I thou they would distract from the main problem. → notificator could work. I installed it, but it requires me to first run that setup, saving that app somewhere and then call it again. This would be a lot of file handling which is not that nice... Where do you store the icon, the app,.. etc. Not quite sure how I would implement this into an AppleScript. I know I could launch notificator with the do shell script command, but how do I bundle the custom notificator app with the script? I want to use this with every Mac. → this could work, but how to I return multiple variables in AppleScript and then importing them in the second AppleScript? And how do I post a notification of just one of them? And it would require dividing the applescript wherever I post a notification. Edit: How do I specify a custom icon in this notification? I can't find an area where I drag and drop an icon. Bottom line: If this gets to complicated, I will just give up and stick with the script editor icon.
  3. I want to use Alfred notification for displaying data that I got using AppleScript. So the workflow basically gathers an information using an AppleScript, returns that information back to Alfred wich should display a notification and then the AppleScript should continue or another AppleScript should start, which should get the variables of the first AppleScript. The reason for this is that I cannot figure out how to use custom icons in notifications within AppleScript. I wanted to use Alfred for this, since I can configure notifications how I want. So the goal is to return information from an AppleScript back to Alfred, Alfred is displaying those information and continues the AppleScript. Is this possible?
  4. "top" does not list anything anymore... using Alfred 3.5.1 and macOS 10.13..
  5. I am using macOS 10.13 with Alfred 3.5 Build 875. Whenever I hit the shortcut for Alfred and start typing, everything starts to lag. Every character that I press is delayed for at least half a second. The search result itself appear to be fast as usual, but the typing lags. This happens every time, even after restarting the mac.
  6. thanks, that worked. had another link...
  7. how can I install that workflow? When I download and extract the zip from GitHub, I only get a bunch of folder and documents, but no Alfred workflow...
  8. Hey there, downloaded your workflow, but when I extract the zip i cannot find any workflow, just folders and documents...
  9. Thank you, I had to remove the following part: ,{ ** second translation configuration goes here (same keys as before) ** } Now, is there a way to use both directions in this workflow without having to choose the direction first? For instance I would like to type in "hello" and "Hallo" and the workflow would detect the language and translate it? Or it would simply display both translations?
  10. my dictaSettings.json file looks like this: [{ "downloadedDictionaryFile": "/Users/David/Library/Application Support/Alfred 3/Workflow Data/de.nieting.DictCC/cmkdkkkgmm-8718512140-eiiiie.txt", "languageOrderInDictionaryFile": [{ "identifier":"de", "completeName":"German", "icon":"icons/icon.png" },{ "identifier":"en", "completeName":"English", "icon":"icons/icon.png" }], "supportedDirection":"both" },{ ** second translation configuration goes here (same keys as before) ** }]
  11. Hey there, I am in urgent need of an alternative to the Leo dictionary workflow, so I found this. Wanted to do the last step and finally parse that stuff, but I got the following error: python "/Users/David/Dropbox/Alfred Sync Folder/Alfred.alfredpreferences/workflows/user.workflow.9B955379-60E9-4C05-A5BD-D89026DF606C/parseDictsData.py" "/Users/David/Library/Application Support/Alfred 3/Workflow Data/de.nieting.DictCC" Traceback (most recent call last): File "/Users/David/Dropbox/Alfred Sync Folder/Alfred.alfredpreferences/workflows/user.workflow.9B955379-60E9-4C05-A5BD-D89026DF606C/parseDictsData.py", line 299, in <module> main() File "/Users/David/Dropbox/Alfred Sync Folder/Alfred.alfredpreferences/workflows/user.workflow.9B955379-60E9-4C05-A5BD-D89026DF606C/parseDictsData.py", line 124, in main settings = ujson.loads(open(os.path.join(dirName, "dictccSettings.json")).read()) ValueError: Expected object or value Can you please update that workflow? I also had to run the fixum workflow to even start using the dict.cc workflow. Is there anything that can be done? I really need a reliable german-english translator workflow. I used Leo every day.
  12. I want to update a directory on my Raspberry PI and I want to use scp for this. I've got a keyword which initiates a Run NSAppleScript action. This applescript launches Terminal and it should enter a command. But it won't open Terminal. on alfred_script(q) tell application "Terminal" do script "scp -r /path/to/folder pi@192.178.168.20:/var/www" activate end tell end alfred_script This Applescript action works flawlessly when used with a normal ssh command like "ssh user@server.com". But it does not work with scp. Any ideas?
  13. Yep that was it. Thanks a lot. Solved my problem!
  14. Thanks for all the input, so far, the behavior has not changed. It reveals the folder instead of going into it. But running the exact same script (without the "on alfred_script (q)" part) makes the Finder go into the folder. The script should go into the folder, but reveal if the given argument is a file.
×
×
  • Create New...