Jump to content
Sign in to follow this  
Ultratech

Another Simple Question

Recommended Posts

Ultratech

I noticed shift+esc closes my GUI, there any way to prevent that? I have shift+esc set to send on one of my buttons when I click it.

Share this post


Link to post
Share on other sites
Paulie

@OP,

For future reference, when posting a thread , make its title remotely pertinent to question/subject you are posting about.

This is the support section of the forum, its meant for questions, so naming a thread "I Have A Problem", or "Question", or "Help Me My, Code Doesn't Work", or "Noob Requesting Assistance" Is redundant, and makes it harder for anyone else who has the same/similar questions as you to find the answer by searching the forums, which in turn means people often have to make extra threads and people who are answering the threads just end up repeating themselves several times over.

It is counter-productive.

EDIT: I wonder how many times I'll have to post this before people start to get it...

Edited by Paulie

Share this post


Link to post
Share on other sites
Ultratech

Haven't found anything in the readme.

Share this post


Link to post
Share on other sites
Paulie

I am pretty sure its line 5 of your script you didn't show ....

:whistle:;)

Nope, definitely line 23...

Share this post


Link to post
Share on other sites
Ultratech

This is what I have for the button.

While 1

$msg = GUIGetMsg()

Select

Case $msg = $test2

Send("{SHIFTDOWN}{ESC}{SHIFTUP}")

EndSelect

If $msg = $GUI_EVENT_CLOSE Then ExitLoop

Wend

It's pressing shift and esc for something else but it's also closing my GUI.

Share this post


Link to post
Share on other sites
Paulie

This is what I have for the button.

(Snip)

It's pressing shift and esc for something else but it's also closing my GUI.

Well, is there a reason that you can't show us the entire code?

It sounds demanding, but its like you are asking us to read your mind...

Edited by Paulie

Share this post


Link to post
Share on other sites
Richard Robertson

We need the whole script. Errors are rarely single location things.

Share this post


Link to post
Share on other sites
Ultratech

That is pretty much my entire code, expect for creategui and that. All I need to know is if there's a command for disabling shift+esc to close my script.

Share this post


Link to post
Share on other sites
Jos

This is what I have for the button.

While 1

$msg = GUIGetMsg()

Select

Case $msg = $test2

Send("{SHIFTDOWN}{ESC}{SHIFTUP}")

EndSelect

If $msg = $GUI_EVENT_CLOSE Then ExitLoop

Wend

It's pressing shift and esc for something else but it's also closing my GUI.

Ok, let me give you another hint when posting a question.

Post an short script that shows/demos the problem and stop posting stuff that only let us guess..

Also be CLEAR in what your exact problem is..

You might get some real help .....

Edited by JdeB

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites
theguy0000

Try this...your answer is there.

$path = RegRead('HKEY_LOCAL_MACHINE\SOFTWARE\AutoIt v3\AutoIt', "InstallDir")
$find = 'Opt'

Run($path & '\AutoIt3Help.exe ' & $find)
lol nice

The cake is a lie.www.theguy0000.com is currentlyUP images.theguy0000.com is currentlyUP all other *.theguy0000.com sites are DOWN

Share this post


Link to post
Share on other sites
Ultratech

Nevermind I found a way around it.

Share this post


Link to post
Share on other sites
Paulie

Try this...your answer is there.

$path = RegRead('HKEY_LOCAL_MACHINE\SOFTWARE\AutoIt v3\AutoIt', "InstallDir")
$find = 'Opt'

Run($path & '\AutoIt3Help.exe ' & $find)
oÝ÷ Ûú®¢×¯*.q©Ý¢+)Þjëh×6Run("hh.exe "&@ProgramFilesDir&"\AutoIt3\AutoIt.chm","", @SW_MAXIMIZE)

(Without the find thing though...)

Edited by Paulie

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  

×