# Disabling SkyWriter software

**URL:** <https://forums.pimoroni.com/t/disabling-skywriter-software/2025>\
**Category:** Support\
**Created:** [March 10, 2016, 10:07pm UTC](https://forums.pimoroni.com/t/disabling-skywriter-software/2025 "2016-03-10T22:07:07Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Grumpy\_Mike](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/grumpy_mike/32/10832_2.png) [@Grumpy\_Mike](https://forums.pimoroni.com/u/Grumpy_Mike)\
**Post date:** [March 10, 2016, 10:07pm UTC](https://forums.pimoroni.com/t/disabling-skywriter-software/2025/1 "2016-03-10T22:07:08Z")

</div>

I am trying to use the SkyWriter Hat along with pyautogui to control a web browser. However with the SkyWriter software actively looking for events the pyautogui software is screwed. This leads to many duplicate letters in the output stream that pyautogui produces. Without the SkyWriter software initialized pyautogui works perfectly.

Is there a way to turn on and off the SkyWriter software actively looking for events? Otherwise it is a project killer.

There is quite a tight deadline on this task so help would be appreciated.

---

<div class="post-metadata">

**Author:** ![jon](https://avatars.discourse-cdn.com/v4/letter/j/3bc359/32.png) [@jon](https://forums.pimoroni.com/u/jon)\
**Post date:** [March 12, 2016, 1:23pm UTC](https://forums.pimoroni.com/t/disabling-skywriter-software/2025/2 "2016-03-12T13:23:10Z")

</div>

What exact software are you using to drive the Skywriter HAT? Is it a modified version of one of our examples?

---

<div class="post-metadata">

**Author:** ![Grumpy\_Mike](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/grumpy_mike/32/10832_2.png) [@Grumpy\_Mike](https://forums.pimoroni.com/u/Grumpy_Mike)\
**Post date:** [March 12, 2016, 9:28pm UTC](https://forums.pimoroni.com/t/disabling-skywriter-software/2025/3 "2016-03-12T21:28:15Z")

</div>

I am using the @skywriter.flick() function from the test example, that is all plus the import statements.  
import skywriter  
import signal  
That is all.  
Without the imports the pyautogui typewriter function works fine. With them it is slow and many times there are multiple repeats of the same character.

---

<div class="post-metadata">

**Author:** ![gadgetoid](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/gadgetoid/32/13_2.png) [@gadgetoid](https://forums.pimoroni.com/u/gadgetoid)\
**Post date:** [March 13, 2016, 2:24pm UTC](https://forums.pimoroni.com/t/disabling-skywriter-software/2025/4 "2016-03-13T14:24:17Z")

</div>

I’m surprised I didn’t catch this sooner, it looks like the method responsible for polling ( `_do_poll`) gets no sleep, this will mean it’ll run in an brutal, hog-all-the-resources loop to the detriment of anything else you want to do.

If you want to try hacking it, you should be able to just drop in a `time.sleep(0.001)` ( or whatever value is practical for you ) into the `_do_poll` method itself.

I’ve dropped this into the GitHub version of the Library: [https://github.com/pimoroni/skywriter-hat/commit/184da1b99c9db105aaeab87ff8e459e467648061](https://github.com/pimoroni/skywriter-hat/commit/184da1b99c9db105aaeab87ff8e459e467648061)

I can’t push it to pip until I’ve tested it though!

---

<div class="post-metadata">

**Author:** ![Grumpy\_Mike](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/grumpy_mike/32/10832_2.png) [@Grumpy\_Mike](https://forums.pimoroni.com/u/Grumpy_Mike)\
**Post date:** [March 13, 2016, 8:08pm UTC](https://forums.pimoroni.com/t/disabling-skywriter-software/2025/5 "2016-03-13T20:08:23Z")

</div>

Thanks, I was hoping it would be something like that. Have you got the path to where that file is in the system.

---

<div class="post-metadata">

**Author:** ![RogueM](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/roguem/32/311_2.png) [@RogueM](https://forums.pimoroni.com/u/RogueM)\
**Post date:** [March 13, 2016, 9:04pm UTC](https://forums.pimoroni.com/t/disabling-skywriter-software/2025/6 "2016-03-13T21:04:29Z")

</div>

the easiest would be to follow the instructions under ‘from source’ here:  
[https://github.com/pimoroni/skywriter-hat/tree/master/python/library](https://github.com/pimoroni/skywriter-hat/tree/master/python/library)

---

<div class="post-metadata">

**Author:** ![gadgetoid](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/gadgetoid/32/13_2.png) [@gadgetoid](https://forums.pimoroni.com/u/gadgetoid)\
**Post date:** [March 14, 2016, 11:38am UTC](https://forums.pimoroni.com/t/disabling-skywriter-software/2025/7 "2016-03-14T11:38:58Z")

</div>

I’m going to update the library on pip very soon, because this is a completely bonkers oversight that really needs squashing fast! But first… due diligence and testing whatnot!

Update: I’ve now pushed version 0.0.6 which should hopefully fix your problem. Try:

```bash
sudo pip install --upgrade skywriter

```

---

<div class="post-metadata">

**Author:** ![Grumpy\_Mike](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/grumpy_mike/32/10832_2.png) [@Grumpy\_Mike](https://forums.pimoroni.com/u/Grumpy_Mike)\
**Post date:** [March 14, 2016, 12:19pm UTC](https://forums.pimoroni.com/t/disabling-skywriter-software/2025/8 "2016-03-14T12:19:06Z")

</div>

Thanks, I have tested what you put up yesterday and it appears to be working fine. Thanks.
