Jump to content



Photo

ScriptWriter


  • Please log in to reply
14 replies to this topic

#1 NikLok

NikLok

    Seeker

  • Active Members
  • 11 posts

Posted 02 January 2008 - 03:53 PM

I dream that scriptwriter write with instructions of "click with mouse moving" some portions of comments! In this comments he write the ID of clicked control. Becouse today i must run Au3info and scriptWriter together and mnualy write on paper the name of ID contorl and other important values! I dream once that scriptwriter analizing her list, by the target, that he contain the difference window text for different clicking operation (or window). Today "title" and "text" in construsction WinWait and so on often identicaly!!! Lets check this situations! May be write as comment all visible text of current window?!





#2 GEOSoft

GEOSoft

    Sure I'm senile. What's your excuse?

  • MVPs
  • 10,563 posts

Posted 03 January 2008 - 02:00 AM

Not really sure of what you want here but have you looked at
WinGetTitle()
WinGetText()
and
ControlGetText()
GeorgeQuestion about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.*** The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number.Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else."Old age and treachery will always overcome youth and skill!"

#3 NikLok

NikLok

    Seeker

  • Active Members
  • 11 posts

Posted 03 January 2008 - 07:25 AM

Not really sure of what you want here but have you looked at
WinGetTitle()
WinGetText()
and
ControlGetText()

I know this functions! And i use it in my scripts. But i want that he works in writescriptere`s during record script!
I think its very simple and little work.

#4 NikLok

NikLok

    Seeker

  • Active Members
  • 11 posts

Posted 03 January 2008 - 07:44 AM

I don''t finded sourse of scriptwriter, he included in compiled form, and i can''t insert this operators to scriptwriter!
Main idea and target of this - script maximaly ready to work!
In idealy script must have parametr-switch, and this value control script line behavior - mouse-move or ControlClick !!!

#5 Richard Robertson

Richard Robertson

    Universalist

  • Active Members
  • PipPipPipPipPipPip
  • 9,692 posts

Posted 03 January 2008 - 01:39 PM

You missed the point. GEO was suggesting you write your own.

#6 NikLok

NikLok

    Seeker

  • Active Members
  • 11 posts

Posted 29 January 2008 - 06:18 PM

You missed the point. GEO was suggesting you write your own.

Sorry i don''t undestand you reply!
How i can write my own scriptwriter?!
I don''t have this deep knowledge in system programming and many time for this!
This feature very important for me and people who make autoinstalling CD DVD disk's or autorun menu's.
I very very chagrined!!!

#7 Valik

Valik

    Former developer.

  • Active Members
  • PipPipPipPipPipPip
  • 18,879 posts

Posted 29 January 2008 - 06:31 PM

Sorry i don''t undestand you reply!
How i can write my own scriptwriter?!
I don''t have this deep knowledge in system programming and many time for this!
This feature very important for me and people who make autoinstalling CD DVD disk's or autorun menu's.
I very very chagrined!!!

And those of us that do have "this deep knowledge in system programming" don't have the time, desire or need for a script-writer.

#8 GEOSoft

GEOSoft

    Sure I'm senile. What's your excuse?

  • MVPs
  • 10,563 posts

Posted 29 January 2008 - 09:05 PM

Sorry i don''t undestand you reply!
How i can write my own scriptwriter?!
I don''t have this deep knowledge in system programming and many time for this!
This feature very important for me and people who make autoinstalling CD DVD disk's or autorun menu's.
I very very chagrined!!!

Well if I understand you correctly what you want is a method to create a autorun.inf file that will open a menu when the CD is inserted. That is not the kind of a feature that is going to be included in AutoIt. It's up to you to use AutoIt for doing this.
Here is a sample autorun.inf file built with the autorun.inf builder that I wrote in AutoIt. Note that I wrote it, I didn't ask the AutoIt developers to include it in AutoIt so that I wouldn't have to figure it out myself.
[autorun] open=MyMenu.exe label=Install my program icon=MyMenu.exe,0
It is up to you to create the MyMenu.exe file. Very easily done using the AutoIt GUI code and compiling it. I also have a builder for that but you can learn to write your own by reading the help file.
Now I am "very very chagrined!!!"
GeorgeQuestion about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.*** The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number.Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else."Old age and treachery will always overcome youth and skill!"

#9 NikLok

NikLok

    Seeker

  • Active Members
  • 11 posts

Posted 29 January 2008 - 09:35 PM

I'm sorry may be i very bad write about my problem/
Once more:
I use ScreeptWrite to get the fish for script of installing some program packet's.
On rezult output i have some like this:
WinWait("ACDSee Pro - InstallShield Wizard","I &do not accept the") If Not WinActive("ACDSee Pro - InstallShield Wizard","I &do not accept the") Then WinActivate("ACDSee Pro - InstallShield Wizard","I &do not accept the") WinWaitActive("ACDSee Pro - InstallShield Wizard","I &do not accept the") MouseMove(124,352) MouseDown("left") MouseUp("left") Sleep(1000) MouseMove(447,439) MouseDown("left") MouseUp("left")

It is work! But i prefer that code based on ControlClick instructions. Same code look like this :
[code]WinWait("ACDSee Pro - InstallShield Wizard","I &do not accept the") If Not WinActive("ACDSee Pro - InstallShield Wizard","I &do not accept the") Then WinActivate("ACDSee Pro - InstallShield Wizard","I &do not accept the") WinWaitActive("ACDSee Pro - InstallShield Wizard","I &do not accept the") ControlClick("ACDSee Pro - InstallShield Wizard","I &do not accept the","Button2") Sleep(1000) ControlClick("ACDSee Pro - InstallShield Wizard","I &do not accept the","Button5")

I dream that script writer can generate this type of code. Of cose optionaly!

Sorry for my bad english!!!

Edited by NikLok, 29 January 2008 - 09:36 PM.


#10 GEOSoft

GEOSoft

    Sure I'm senile. What's your excuse?

  • MVPs
  • 10,563 posts

Posted 29 January 2008 - 09:46 PM

I'm sorry may be i very bad write about my problem/
Once more:
I use ScreeptWrite to get the fish for script of installing some program packet's.
On rezult output i have some like this:

WinWait("ACDSee Pro - InstallShield Wizard","I &do not accept the") If Not WinActive("ACDSee Pro - InstallShield Wizard","I &do not accept the") Then WinActivate("ACDSee Pro - InstallShield Wizard","I &do not accept the") WinWaitActive("ACDSee Pro - InstallShield Wizard","I &do not accept the") MouseMove(124,352) MouseDown("left") MouseUp("left") Sleep(1000) MouseMove(447,439) MouseDown("left") MouseUp("left")

It is work! But i prefer that code based on ControlClick instructions. Same code look like this :
[code]WinWait("ACDSee Pro - InstallShield Wizard","I &do not accept the") If Not WinActive("ACDSee Pro - InstallShield Wizard","I &do not accept the") Then WinActivate("ACDSee Pro - InstallShield Wizard","I &do not accept the") WinWaitActive("ACDSee Pro - InstallShield Wizard","I &do not accept the") ControlClick("ACDSee Pro - InstallShield Wizard","I &do not accept the","Button2") Sleep(1000) ControlClick("ACDSee Pro - InstallShield Wizard","I &do not accept the","Button5")

I dream that script writer can generate this type of code. Of cose optionaly!

Sorry for my bad english!!!

Again that is something that you would write yourself, not a feature that should be included natively in AutoIt.
By the way if you are looking for a silent install (so you don't even see that window) just run the installer with the /s switch. If that doesn't work try /q. Any windows which can not be skipped like product registration windows will still show.
GeorgeQuestion about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.*** The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number.Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else."Old age and treachery will always overcome youth and skill!"

#11 NikLok

NikLok

    Seeker

  • Active Members
  • 11 posts

Posted 29 January 2008 - 10:00 PM

Again that is something that you would write yourself, not a feature that should be included natively in AutoIt.

It is not a feature of autoit! It is some emprovment of scriptwriter!

By the way if you are looking for a silent install (so you don't even see that window) just run the installer with the /s switch. If that doesn't work try /q. Any windows which can not be skipped like product registration windows will still show.

I begin from this! But today and tomorrow i and many people prefer AutoIt foк this work!

#12 GEOSoft

GEOSoft

    Sure I'm senile. What's your excuse?

  • MVPs
  • 10,563 posts

Posted 29 January 2008 - 10:00 PM

I think I just figured out what you want. See ControlSend() in the help file. On the other hand maybe I still don't understand.
GeorgeQuestion about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.*** The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number.Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else."Old age and treachery will always overcome youth and skill!"

#13 Jos

Jos

    oh joy ...

  • Developers
  • 21,052 posts

Posted 29 January 2008 - 10:04 PM

Its not going to happen in scriptwriter but you could look at AutoItMacroGenerator that also comes with the full SciTE4AutoIt3 installer.
Think that one does create Control type commands if I remember correctly .. :D

Visit the SciTE4AutoIt3 Download page for the latest versions                                                                 Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)


#14 GEOSoft

GEOSoft

    Sure I'm senile. What's your excuse?

  • MVPs
  • 10,563 posts

Posted 29 January 2008 - 11:36 PM

Its not going to happen in scriptwriter but you could look at AutoItMacroGenerator that also comes with the full SciTE4AutoIt3 installer.
Think that one does create Control type commands if I remember correctly .. :D

Come on Jos. You have the time. All I need is something where I input my script concept, click a button and Presto!...there's my script.
:P

Don't often use smileys but I need this one before someone takes me seriously. Can't let that happen.
GeorgeQuestion about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.*** The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number.Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else."Old age and treachery will always overcome youth and skill!"

#15 Jos

Jos

    oh joy ...

  • Developers
  • 21,052 posts

Posted 30 January 2008 - 08:02 AM

Don't often use smileys but I need this one before someone takes me seriously. Can't let that happen.

When have we ever been taking you serious ? :D

Visit the SciTE4AutoIt3 Download page for the latest versions                                                                 Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users