Sign in to follow this  
Followers 0
stawamus

How to hide "Script Active" message?

4 posts in this topic

#1 ·  Posted (edited)

I have written my first script which monitors for an F-key and executes an action. It works fine. (OS Windows 7) However while the script is active, there is a status message in the top left corner of my screen which reads "Script active". Is there any way to hide this message?

Thanks for any support and apologies if this is obvious or answered elsewhere. I have made best effort to track down an answer but no luck so far.

Thank you.

Edited by stawamus

Share this post


Link to post
Share on other sites



stawamus,

Welcome to the AutoIt forum. :oops:

That sounds like a system message to me - what anti-malware app do you have running. :D

However, just to be sure, please post the code you used - put [autoit] before and [/autoit] after the code so it displays in a nice box like this: :rip:

; I am in a nice box
$Fred = "Within code tags"

M23


Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind._______My UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

Thanks! I have pasted the script below - but also - have resolved my issue!! Chalk it up to newbie oversight - but realized that in cobbling together the script, I copy/pasted the timer section from sample code I found -- which worked fine. However - it included a statement: ToolTip("Script active", 0, 0)

The message I was observing when the script is active is there because apparently I (unknowingly) coded it to be there! I have now commented out the ToolTip statement et voila - no more message.

Thanks for taking the time to respond.

#cs ----------------------------------------------------------------------------

AutoIt Version: 3.3.6.1


Script Function:
Create Evernote Entries with current Datestamps
CTRL-F12 - Creates a basic note to log calls. Inserts checkbox and positions datestamp to appear in subject line
CTRL-F11 - Creates a note to record tasks.  Inserts datestamp after checkbox to avoid timestamp in subject line

#ce ----------------------------------------------------------------------------

HotKeySet("^{F12}", "NewEvernote")
HotKeySet("^{F11}", "NewETask")

;ToolTip("Script active", 0, 0)
While 1
    sleep(200)
WEnd



; Script Start - Add your code below here
Func NewEvernote()
send ("^!n")
WinWaitActive("Evernote")
Send ("^; ")
Send ("^+c")

EndFunc

Func NewETask()
send ("^!n")
WinWaitActive("Evernote")
Send ("^+c ")
Send ("{ENTER}")
Send ("^;")
Send ("{HOME}{DELETE}{UP}{END}")


EndFunc
Edited by stawamus

Share this post


Link to post
Share on other sites

stawamus,

I thought that might be the case which is why I asked you to post the code. :D

But it is always more satisfying to solve it yourself! :oops:

M23


Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind._______My UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0