MSFN Forum: Daemon & Alcohol AutoIt don't change driver name - MSFN Forum

Jump to content



Unattended CD/DVD Guide Homepage · MSFN Forum Rules

Welcome to the Applications Installs forum. Make sure you read the forum rules before you start posting.

Links/Requests to warez and/or any illegal material (porn, cracks, serials, etc..) will not be tolerated. Discussion of circumventing WGA/activation/timebombs/keygens or any other illegal activity will also not be tolerated.

We try our best to keep this forum clean of illegal content. If you see any illegal activity use the "report" button you find in every post to report the specific post to the moderators. If you ignore any of the rules you will be banned without notice.

Read Forum Rules
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Daemon & Alcohol AutoIt don't change driver name Rate Topic: -----

#1 User is offline   Kapo 

  • Junior
  • Pip
  • Group: Members
  • Posts: 76
  • Joined: 07-September 05

Posted 10 October 2005 - 08:08 AM

It happens in both installation programs,
when i use the function

ControlSetText ( $Title_1 , "", 909, $drivername ).

This command modifies the driver name in
theory because i don't know why the installer
takes the old names during the installation.

In fact my driver name are the original ones!

Does the function ControlSetText works?


#2 User is offline   MHz 

  • SendToA3X v1.7
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1,634
  • Joined: 02-August 04

Posted 11 October 2005 - 04:11 AM

ControlSetText works at sending the text directly to the control.
Send works at sending to the control.

But the installer does not seem to read from the control. Rather it reads the message stream sent to the window. Send does emulate the keyboard with these message streams sent, so read does work. Sadly the window does need to be active for Send to work. You can focus the controls with !b or !m with the message sent.
Example:
Send('!btest1')
Send('!mtest2')


Switches are available to change some of these settings.

This post has been edited by MHz: 11 October 2005 - 04:16 AM


#3 User is offline   Kapo 

  • Junior
  • Pip
  • Group: Members
  • Posts: 76
  • Joined: 07-September 05

Posted 11 October 2005 - 04:28 AM

View PostMHz, on Oct 11 2005, 11:11 AM, said:

ControlSetText works at sending the text directly to the control.
Send works at sending to the control.

But the installer does not seem to read from the control. Rather it reads the message stream sent to the window. Send does emulate the keyboard with these message streams sent, so read does work. Sadly the window does need to be active for Send to work. You can focus the controls with !b or !m with the message sent.
Example:
Send('!btest1')
Send('!mtest2')


Switches are available to change some of these settings.


Ok now i've understand.
Infact in the AutoIt section i've downloaded the
Daemon Tools script but the change of driver
doesn't work!

I've also tried with the ControlCommand ("editpaste", )
but it doesn't work.

Now i try to modify the script with the Send command.

Thanks very much.

#4 User is offline   Nologic 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 461
  • Joined: 07-October 03

Posted 11 October 2005 - 05:18 AM

Well also with some installers the control ID give is not the right one...see this a lot with TEdit2 controls and the like.

Also some times controls need focus before using any of the edit field commands...reguardless if its ControlSetText, ControlSend, or Send

So my prefs are:
1st ControlSetText (fastest)
2nd ControlSend (better window control)
3rd Send (f*** it) ;)

So if you have a control that giving you grief try the following first..if changing controller ids doesn't work first.

ControlFocus ( $title , "" , control_id )
ControlSetText ( $title , "" , control_id , "string" )

If that fails try ControlSend in much the same manner...really do try to avoid sending blind Send commands.

My thoughts tho

#5 User is offline   Kapo 

  • Junior
  • Pip
  • Group: Members
  • Posts: 76
  • Joined: 07-September 05

Posted 12 October 2005 - 05:22 AM

I've modified the script with ControlFocus and
Send and it works perfectly!! Thanks!

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy