Comments (9)
Hi,
My theory at the moment is that the delays in the code are too short. Could you add in a manual delay 0.5
or longer between each step and see that resolves it for now
from slack_applescript.
You are right, this works (with QWERTY):
tell script "Slack"
send message "this is an automated message" in channel "#testjeroen"
delay 0.5
set as away
end tell
from slack_applescript.
Hi, I've updated the library with a slower process https://github.com/samknight/slack_applescript/releases/tag/2.0.0.rc1
from slack_applescript.
Hi, did you correct it for AZERTY keyboard too ?
from slack_applescript.
I've not been able to test it I'm afraid. Do you know what the theoretical issues could be between AZERTY and QWERTY in AppleScript?
from slack_applescript.
I know that "key codes" are generated by keys according to their physical positions in the keyboard, so I can't really tell if there is a solution at the end May you use copy paste instead ?
from slack_applescript.
I've noticed the same issue if I have Dvorak enabled. Instead of a /
, a z
is typed instead, as the keycode that emits a /
in QWERTY emits a z
in Dvorak.
from slack_applescript.
I'm afraid this has been my only ever AppleScript project so this one has stumped me I'm afraid. I'll keep looking but I don't think I'll be managing to solve this one any time soon.
I'm reliant on a few key codes that I don't think I can replicate with keystroke.
- Esc
- Enter
- Tab
I can replace key code 44 with "/" so that would help with potentially a couple of scripts
from slack_applescript.
I have replace the key code with with the "/" in 2.0.3 - can you let me know if this solves the issue?
from slack_applescript.
Related Issues (20)
- Script error when Slack set to French HOT 2
- Nothing works HOT 3
- Hoping for listing workspaces and channels HOT 4
- Status command sometimes malforms HOT 2
- Clearing Status is not working HOT 3
- mini guide / advice on reverse engineering Slack.app HOT 1
- [Question] Is it possible to get the amount of all unread messages? HOT 1
- Can't get script "Slack" HOT 5
- Where is the source? HOT 2
- Is there a way to get a title of currently focused Slack channel? HOT 1
- clear message box or warn before entering commands HOT 8
- Not a valide command HOT 2
- Support "for" in set status command HOT 2
- not a issue but a feature request HOT 1
- Set as Away & Set as Active not working HOT 2
- Respect hidden Slack during operation HOT 1
- Commands won't execute if Input Option to use "Cmd Enter" is selected HOT 3
- Away command clashes with similar hubspot command
- Canβt get menu item 1 of menu "Workspace" HOT 2
- "Slack.zip" was removed in the latest commit HOT 4
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 slack_applescript.