Jump to content
Sign in to follow this  
jaenster

Edit the opsions of autoIT

Recommended Posts

jaenster

Can you edit the pause script and exit opsions?


-jaenster

Share this post


Link to post
Share on other sites
DaveF

Yes.


Yes yes yes, there it was. Youth must go, ah yes. But youth is only being in a way like it might be an animal. No, it is not just being an animal so much as being like one of these malenky toys you viddy being sold in the streets, like little chellovecks made out of tin and with a spring inside and then a winding handle on the outside and you wind it up grrr grrr grrr and off it itties, like walking, O my brothers. But it itties in a straight line and bangs straight into things bang bang and it cannot help what it is doing. Being young is like being like one of these malenky machines.

Share this post


Link to post
Share on other sites
flaxcrack

Can you edit the pause script and exit opsions?

AutoItSetOption ( "option", param )

[quote] Gilbertson's Law: Nothing is foolproof to a sufficiently talented fool.Sandro Alvares: Flaxcrack is please not noob! i can report you is stop stupid. The Post[/quote]I made this: FWD & MD5PWD()

Share this post


Link to post
Share on other sites
MHz

One word, Break()

This prevents script interuption.

Else use Beta tray func... in the Beta of AutoIt

Share this post


Link to post
Share on other sites
jaenster

oke thanks , but how it works ? an you give a expamle ?flaxcrack


-jaenster

Share this post


Link to post
Share on other sites
flaxcrack

Check out the AutoItSetOption Function Reference in the Help file. I have never used it before but it looks like what you want.


[quote] Gilbertson's Law: Nothing is foolproof to a sufficiently talented fool.Sandro Alvares: Flaxcrack is please not noob! i can report you is stop stupid. The Post[/quote]I made this: FWD & MD5PWD()

Share this post


Link to post
Share on other sites
DaveF

I think MHz is actually closest answering what the OP's question is about (I have to assume): changing what appears on the right-click menu of the AutoIt tray icon...


Yes yes yes, there it was. Youth must go, ah yes. But youth is only being in a way like it might be an animal. No, it is not just being an animal so much as being like one of these malenky toys you viddy being sold in the streets, like little chellovecks made out of tin and with a spring inside and then a winding handle on the outside and you wind it up grrr grrr grrr and off it itties, like walking, O my brothers. But it itties in a straight line and bangs straight into things bang bang and it cannot help what it is doing. Being young is like being like one of these malenky machines.

Share this post


Link to post
Share on other sites
jaenster

Wait , i has tested , this is NOT what i mean ! .. i will make a screenshot ... Please wait


-jaenster

Share this post


Link to post
Share on other sites
flaxcrack

Wait , i has tested , this is NOT what i mean ! .. i will make a screenshot ... Please wait

:lmao: Okay....

[quote] Gilbertson's Law: Nothing is foolproof to a sufficiently talented fool.Sandro Alvares: Flaxcrack is please not noob! i can report you is stop stupid. The Post[/quote]I made this: FWD & MD5PWD()

Share this post


Link to post
Share on other sites
SmOke_N

Sure is a while to wait for a screen shot :lmao:


Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Share this post


Link to post
Share on other sites
Valuater

maybe

#include <Constants.au3>
#NoTrayIcon

Opt("TrayOnEventMode",1)
Opt("TrayMenuMode",1); Default tray menu items (Script Paused/Exit) will not be shown.

TraySetClick(16); Only secondary mouse button will show the tray menu.

$infoitem = TrayCreateItem("Info")
TrayItemSetOnEvent(-1,"ShowInfo")

TrayCreateItem("")

$exititem = TrayCreateItem("Exit")
TrayItemSetOnEvent(-1,"ExitScript")

TraySetState()

While 1
    Sleep(10); Idle loop
WEnd

Exit


; Functions
Func ShowInfo()
    Msgbox(0,"Info","Tray OnEvent Demo")
EndFunc


Func ExitScript()
    Exit
EndFunc

8)


NEWHeader1.png

Share this post


Link to post
Share on other sites
Knight

Here he is ..

Look up TrayCreateMenu in the autit beta helpfile.

EDIT: He beat me to it :o

Edited by Knight

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.