View Full Version : Free Plugin : AutoIt Plugin
AMSWaves
03-19-2009, 08:55 AM
Hi All,
My Site Go up, thanks All.;)
AMSWaves Release New Plugin.
This Plugin created for Autoplay Media Studio and provide some method of AutoIt (http://www.autoitscript.com/autoit3/index.shtml) (not All of them).
This Plugin depends on AutoIt X.
AutoIt X Version: 3.2.12.1
AMSWAutoIt Version: 1.0.0.0
Use And Enjoy! ;)
Download (http://www.amswaves.com/index.php?option=com_content&view=article&id=51&Itemid=55)
Email (support@AMSWaves.com)
jackdaniels
03-19-2009, 10:16 AM
Thanks for plugin AMSWaves :yes:yes:yes
Great Work
actionstk..
03-19-2009, 11:00 AM
:eek: very very good..!! thank for nice plugin.. :yes
ShadowUK
03-20-2009, 01:32 AM
Amazing, Simply amazing.
Imagine Programming
03-20-2009, 06:32 AM
Thanks, great plugin!
S0mbre
03-25-2009, 12:47 AM
It is really a great plugin! Given that AutoIt3 affords virtually all WinAPI / GUI functionality (greatly enhanced by UDFs forged by its huge community) and has a very easy-to-learn script language, one step to rival its competetiveness with AMS is to actually incorporate AutoIt into AMS! :) Personally, I have great respect for AutoIt as an automation tool (I've used some others like NetworkAutomation Automate 6, but those ones don't normally allow EXE compiling). However, AMS is my tradition, and no other environment could replace it. I am only happy to see it being ever replenished and enriched by more and more plugins and add-ons... :) :)
Desrat
03-25-2009, 04:25 AM
gotta say this will greatly enhance my projects, many thx fella..
Samio
03-27-2009, 11:50 AM
Hi Friends and Thanks dare AMSWaves for this useful plug-in.
I have a suggestion.
if (AutoIt.WinSetTrans) action or similar action set with Windows Handle is better.
if use loop action and user click on the another program, this action set active windows.
Example:
for x=0,255 do
AutoIt.WinSetTrans("MyApp", "", x)
Application.Sleep(1);
end
jassing
03-27-2009, 08:17 PM
Great plugin -- Very nice.
I would suggest you promote it in the other forums as well. I have a client that I wrote several autoit scripts to perform some tasks -- they didn't like that it was a secondary exe running; this would have made them very happy.
Good job!
-josh
shanex252
03-28-2009, 04:49 AM
you are perfect.Your plugin is perfect.Good jop:yes :yes
AMSWaves
03-31-2009, 04:55 AM
Hi All thanks for reply :)
when you say thanks for this plugin i ( my partner for now go to another country ) feel good :), and when you dont say thanks i think our plugins dont have any benefit, so if you love some of our plugin buy them with say a thanks :lol
Great plugin -- Very nice.
I would suggest you promote it in the other forums as well. I have a client that I wrote several autoit scripts to perform some tasks -- they didn't like that it was a secondary exe running; this would have made them very happy.
Good job!
-josh
hi jassing,
Ok i test this plugin on SUF and good worked.
Hi Friends and Thanks dare AMSWaves for this useful plug-in.
I have a suggestion.
if (AutoIt.WinSetTrans) action or similar action set with Windows Handle is better.
if use loop action and user click on the another program, this action set active windows.
Example:
for x=0,255 do
AutoIt.WinSetTrans("MyApp", "", x)
Application.Sleep(1);
end
Hi Samio,
sometimes this is easy with title but this a good suggestion in the next version i add GetWindowTitle for use on these action.
AMSWaves
03-31-2009, 08:42 AM
Some Example for this powerful Plugin
Example 1 :
AutoIt.Sleep(1000)
AutoIt.Run("notepad.exe", "", 1);
AutoIt.WinWaitActive("Untitled -", "", 0);
AutoIt.Opt("SendKeyDelay", 100);
AutoIt.Send("Hello{!}", 0);
Example 2 :
AutoIt.Run("notepad.exe", "", 1);
AutoIt.WinWaitActive("Untitled - Notepad", "", 0);
AutoIt.Opt("SendKeyDelay", 100);
AutoIt.Send("Hello from Notepad.{ENTER}1 2 3 4 5 6 7 8 9 10{ENTER}", 0);
AutoIt.Sleep(500)
AutoIt.Send("+{UP 2}", 0);
AutoIt.Sleep(500)
AutoIt.Send("!f", 0);
AutoIt.Send("x", 0);
AutoIt.WinWaitActive("Notepad", "", 0);
AutoIt.Send("n", 0);
AutoIt.WinWaitClose("Untitled - Notepad", "", 0);
Example 3 :
AutoIt.Run("notepad.exe", "", 1);
AutoIt.WinWaitActive("Untitled - Notepad", "", 0);
AutoIt.Opt("SendKeyDelay", 100);
AutoIt.Send("Sending some special characters:{ENTER 2}", 0);
AutoIt.Send("First way: ", 0);
AutoIt.Send("{!}{^}{+}{#}", 0);
AutoIt.Send("{ENTER}", 0);
AutoIt.Send("Second way: ", 0);
AutoIt.Send("!^+#", 1);
AutoIt.Send("{ENTER}{ENTER}Finished", 0);
Example 4 :
AutoIt.MouseClickDrag("left", 0, 200, 600, 700, 10)
Example 5 :
Dialog.Message("Notice", "This script will run the calculator and type in 2 x 4 x 8 x 16 and then quit.");
AutoIt.Run("calc.exe", "", 1);
AutoIt.WinWaitActive("Calculator", "", 0);
AutoIt.Opt("SendKeyDelay", 400);
AutoIt.Send("2*4*8*16=", 0);
AutoIt.Sleep(2000);
AutoIt.WinClose("Calculator", "")
AutoIt.WinWaitClose("Calculator", "", 0)
if anybody have a good example for show power of this plugin and AutoIt, Please Post it.
Thanks.
Tomasin
05-05-2009, 08:48 AM
WOW :yes:yes:yes
Really good this plugin!! AND FREE!!! :yes:yes:yes:eek:
It's possible add sys hibernate and standby functions?
THX
(waiting for next version if is possible and more functions)
mwreyf1
05-05-2009, 11:07 AM
How about adding more network functions that are native to AutoIt3 such as PING and TCPIP?
mwreyf1
05-06-2009, 04:09 PM
Disregard last request.
I now see why you did not include those features.
AutoItX does not support that.
Again, good work on the AutoIt plug-in.
Thanks
malhajri2006
05-07-2009, 09:18 AM
thanks for the plugin
Tomasin
05-08-2009, 08:01 AM
IMPORTANT PROBLEM
I using AutoIt and Script plugins from AMSWAre... my proyect is multipage (20 pages)...
If use Autoit.close (on close event on one page) this close the application :eek::eek::huh but you needed get anodher page... :huh
And add on shotdown event not is recomend? :huh
On vista 64, on intent of run the application this show error impobible run the application error detected.
This is caused by autoit and script plugins...
Rog Cod
05-11-2009, 08:35 AM
Anyone have examples on using this plug-in?
I would like to see the following:
1. Example on coping a files over a network mapped drive and test the size or bytes.
2. Copy a file by date modified and size using a dialog to choice the date.
3. Copy a file by modified date using a start date and a end date with dialog.
4. Check a folder listing and move to another folder for backup based on files date and or name.
Anyone kind, and can take time to make some examples like these, please.
AMSWaves
05-12-2009, 10:32 AM
Hi Tomasin
IMPORTANT PROBLEM
I using AutoIt and Script plugins from AMSWAre... my proyect is multipage (20 pages)...
If use Autoit.close (on close event on one page) this close the application :eek::eek::huh but you needed get anodher page... :huh
And add on shotdown event not is recomend? :huh
yea for this project that have multipage this is better to add AutoIt.Close() on Shutdown.
On vista 64, on intent of run the application this show error impobible run the application error detected.
This is caused by autoit and script plugins...
I have a question ? are you sure AutoPlay Media Studio works well on 64 Bits Windowses.
because this plugin just work on 32 bits version of windows.
Tomasin
05-12-2009, 03:02 PM
yes, on xp/vista 64 AMS works fine, but only not work correctly dialog.filebrowse and dialog.folderborwse.
If use autoit or script plugins in VISTA (32/64) or xp (64) the application not run.
Draygoes
05-16-2009, 02:56 AM
THIS PLUGIN HAS MADE MY DAY!:D
AutoIT is my Favorite scripting language. I have been using it for years.
I came to love AMS as well. Each language has advantages and disadvantages.
Sorry, I will speak of this more later, I am so excited about this I MUST use it now!
EDIT
Aw man! It looks like the site is down. Does anyone have a copy of the files for download???
Draygoes
05-23-2009, 12:02 AM
Well, the homepage has been down for quite a while now, so does anyone have an extra copy of this zip file?
MicroByte
05-23-2009, 08:48 AM
@Draygoes
here you go :yes
Draygoes
05-26-2009, 03:29 AM
Thanks! This is great! :D
SteevieNiteHeat
07-23-2009, 06:30 AM
It dont work for me :S
When I click on the pull down actions menu, they aint listed, why is this?
mwreyf1
07-23-2009, 02:11 PM
Open Autoplay and go to the top menu bar and under Project > Plugins put a checkmark in AutoIt.
Now open your Actions window and they should be there.
SteevieNiteHeat
11-03-2009, 05:41 PM
Erm, what is the key code for the blue Fn key on laptop keyboards?
I need a sendkey for Fn+F5 & Fn+F9 etc... can some1 shed some light please?
leshter
11-04-2009, 03:03 PM
Thank you so much for this wonderful plugin, now I can call on external apps and easily send keys, better than using lua, I'll say that much.
AMSWaves
01-03-2010, 07:21 PM
Hi all new version Released (1.1.0.0).
after a long time i decide to update AutoIt plugin.
Now this new version of AutoIt leave alone supporting Windows 98 and have new Changes and improves.
this New version of AutoIt Uses the latest AutoItX (ver 3.3.2.0).
Changes :
Fixed crashes on close on Win Vista & 7
Removed AutoIt.Close()
Now Good Worked on Vista & 7
Added new Function AutoIt.URLDownloadToFile
Added new Function AutoIt.PixelSearch
Added new Funcion AutoIt.HWndToTitle (helper func for use in other funcs suggest by samio)
Added new Funcion AutoIt.ControlTreeView
Removed ColorMode option from AutoIt.SetOption() and AutoIt.Opt()
Enjoy and post reply.
Best Regards,
AMSWaves.
jassing
01-03-2010, 07:43 PM
Thank you!
Thanks for the update, but I never had a problem on windwos 7 ult fully updated on crashing :huh maybe it was only older versions but thats for the
update all the same.
Simply Rex
AMSWaves
01-04-2010, 09:28 AM
hi your welcome.
all of my old plugins that dont have update and have AMSWxxx.Close() method have a big/bad bug on windows Vista/7 in all update say i kill this bug(for more information).
SteevieNiteHeat
01-27-2010, 06:56 PM
Hi I have been banging my head against the wall as I have spent well over 2 hours trying to work out why on earth the AutoIT plugin gives me problems!
This is the situation: I am using AMS to automate the creation of a Windows XP setup disc using nLite, AMS & the AutoIT plugin, the only problems I am having with it is:
I cannot use the plugin to type text into an open box, an example of this is when I use nLite to slipstream SP3 into my local source, I have to manually double click on the sp3.exe file from the file browse dialog as AutoIT will not 'send' WindowsXP-SP3-x86-ENU.exe into the open bit of the dialog.
Also, the most problematic bit is, when SP3 has finished slipstreaming and it brings up the completed box, no matter what I do, it WILL NOT send anything to that final dialog, its an OK button, I have tried to send an {ENTER} command, tried using the ID (which is 2) but this does not work either, now I can manually press ENTER on the keyboard to clear the dialog, but that defeats the object of using AutoIT to automate the process!
The code I am using for the whole process so far is:
Dialog.Message("Information!", "This will automate the process of creating a Windows XP Service Pack 3 Unattended Setup Disc!", MB_OK, MB_ICONINFORMATION, MB_DEFBUTTON1);
File.Run(_ProgramFilesFolder.."\\nLite\\nLite.exe", "", _ProgramFilesFolder.."\\nLite\\", SW_SHOWNORMAL, false);
Application.Minimize();
AutoIt.WinWait("nLite", "Welcome to nLite", 0);
AutoIt.Send("{ENTER}", 1);
Application.Restore();
Dialog.Message("INFORMATION!!!", "In this next step, you will have to manually choose your Windows XP source folder, this should be on your desktop, please double -click it when you are presented with the folder browse dialog!", MB_OK, MB_ICONINFORMATION, MB_DEFBUTTON1);
Application.Minimize();
AutoIt.ControlClick("nLite", "Locate the Windows installation files to customize", "Browse...", AUTOIT_MOUSE_LEFT, 1, AUTOIT_DEFAULT, AUTOIT_DEFAULT);
AutoIt.WinWait("nLite", "To continue, click Next", 0);
AutoIt.Send("!N", 0);
AutoIt.WinWait("nLite", "Import other or load previous settings. Right-Click for more options", 0);
AutoIt.Send("!N", 0);
-- The Below Selects the Service Pack button...
AutoIt.WinWait("nLite", "Choose the tasks you wish to perform. You can choose any number of tasks from below", 0);
AutoIt.ControlClick("nLite", "", "Service Pack", AUTOIT_MOUSE_LEFT, 1, AUTOIT_DEFAULT, AUTOIT_DEFAULT);
AutoIt.Send("!N", 0);
Application.Restore();
Dialog.Message("INFORMATION!!!", "For the following step, you must manually select the Windows XP Service Pack 3 file to begin the slipstreaming process!", MB_OK, MB_ICONINFORMATION, MB_DEFBUTTON1);
Application.Minimize();
AutoIt.ControlClick("nLite", "Slipstream a Service Pack into the installation", " Select ", AUTOIT_MOUSE_LEFT, 1, AUTOIT_DEFAULT, AUTOIT_DEFAULT);
AutoIt.WinWait("Select a Service Pack executable (.EXE) or 'i386\update\update.exe':", "Look &in:", 0);
AutoIt.Send("!I", 0);
AutoIt.Send("{DOWN}", 0);
AutoIt.Send("UP 4}", 0);
AutoIt.Send("{ENTER}", 0);
-- problem lies below!!!
AutoIt.WinWaitActive("Service Pack 3 Setup", "")
AutoIt.ControlClick("Service Pack 3 Setup", "", "2", AUTOIT_MOUSE_LEFT, 1, AUTOIT_DEFAULT, AUTOIT_DEFAULT);
AutoIt.Send("{ENTER}", 1);
It is the line below -- problem lies below!! that as not working, I would appreciate it if somebody could check this and help me please!
It didnt even matter when I installed the latest AutoIT plugin, still the same!
Suffice to say I am more than disappointed with this!!!!! :rolleyes:rolleyes:rolleyes:rolleyes:rolleyes
jassing
02-05-2010, 02:40 PM
I'm having a problem using the AutoIt Plugin on an x64 machine. Is this a "known" issue?
Eagle
05-17-2010, 03:17 PM
Luacom can do it all by accessing the com library of autoitx.dll
(and you can always utilise the very latest autoitx.dll 32 and 64 bit).
you can access 64 bit registry data as well via the 32bit dll by adding a prefix.
latest DLL version to date: 3.3.6.1 full win7 32\x64 support
to get ya going:
--SOAutoit (use luacom to access comm functions of Autoit.Dll)
function AutoitInit()
--register and create the autoit com object
--might have to check if already installed on system and what version
bAutoit_Reg = nil; bLC_AutoItObject = nil;
System.RegisterActiveX(path to Autoitx.dll);
if (Application.GetLastError() == 0) then
bAutoit_Reg = true;
end
if bAutoit_Reg then
oAutoIt = luacom.CreateObject("AutoItX3.Control");
if oAutoIt then
bLC_AutoItObject = true;
end
end
return bLC_AutoItObject;
end
function LC_ObjectClose()
-- global cleanup of comm and dll
oAutoIt = nil; collectgarbage();
System.UnregisterActiveX(same path to Autoitx.dll);
end
--EOautoit
--init a call: oAutoIt:whotever
refer to the help file for Methods and Functions
HTH
jassing
05-17-2010, 03:22 PM
Just a note -- restricted users may not be able to register activex controls... so it may fail. I had done a full wrapper for the dll calls directly (using the memory plugin) but cannot find the source; and not sure who I did the work for... :(
Eagle
05-17-2010, 03:31 PM
cheers.. the manifest set in the dll is: "AsInvoker" but I'm sure you are correct for restricted users
works fine for 'standard vista\7 accounts. I always request raised priveleges for my apps anyhoo
cause I design for Admins...
Yeah, the latest memory plugin is powerfull..I hav'nt thought of wrapping it, so thanks for
the idea.
I reckon 64 bit registry access is worth it just for that.
AMSWaves
05-19-2010, 10:00 AM
Hi all,
this is a good idea i try to create my AutoIt with Memory Plugin and never try to create a new AutoIt plugin, maybe i try to convert all of my plugins to source with Memory Plugin (so all body can use it in All AMS Version).
in this source i try to reduce bugs and memory licking but if any body see bug or memory licking say in this thread.
License : License! Nothing, everything you want. you want sell it so sell it, you want change it so change it, you want eat it so eat:lol:lol
For Use this you just must call AutoIt.Init(Autoit path) and then call other functions and in the end call AutoIt.End()
Post your thought.
Enjoy.
AMSWaves.
Sakuya
05-19-2010, 10:27 AM
Hi all,
this is a good idea i try to create my AutoIt with Memory Plugin and never try to create a new AutoIt plugin, maybe i try to convert all of my plugins to source with Memory Plugin (so all body can use it in All AMS Version).
in this source i try to reduce bugs and memory licking but if any body see bug or memory licking say in this thread.
License : License! Nothing, everything you want. you want sell it so sell it, you want change it so change it, you want eat it so eat:lol:lol
For Use this you just must call AutoIt.Init(Autoit path) and then call other functions and in the end call AutoIt.End()
Post your thought.
Enjoy.
AMSWaves.
Mmm... delicious AutoIt plugin.
:yes very very nice man thanks
Sorry wrong window .... deleted
WOW :yes:yes:yes
Really good this plugin!! AND FREE!!! :yes:yes:yes:eek:
It's possible add sys hibernate and standby functions?
THX
(waiting for next version if is possible and more functions)
You could directly call the Windows Rundll32.exe to do this;
File.Run("AutoPlay\\Docs\\rundll32.exe", "PowrProf.dll, SetSuspendState", "", SW_SHOWNORMAL, false);
Draygoes
09-24-2010, 08:48 PM
This plugin doesnt seem to be compatible with the current reliese of AMS.
Is there a compatible version?
Automan
10-09-2010, 04:00 PM
Ditto here, ran the supplied setup file and its not listed in the plugins dropdown.
(Even though setup recognised AMS8 and its plugin directories)
I did have this plugin working on AMS6 and 7 from memory.
Antipasti
10-10-2010, 01:41 AM
I have the same Problem like Automan.
What we doing wrong? Win7 64bit
T3STY
10-10-2010, 06:28 AM
The AutoIT plugin is not updated to AMS 8! It is only compatible with AMS 7.0/7.5. Unless AMSWaves updates the plugin, you cannot use this with AMS 8.
Cybergraph
10-10-2010, 08:31 AM
Could this dissipate any doubt?
Hi All,
i cant come back to this forums and work like before but time to time see this forum.
many times ago i replied for those body that want use Autoit plugin for AMS 8.
just go to this link :
http://www.indigorose.com/forums/threads/26582-Free-Plugin-AutoIt-Plugin?p=156436#post156436
i update my AutoIt plugin and released my source so all body can change it and use it for all AMS versions, but for use this new AutoIt source you must use latest Memory Plugin (This Link):
http://www.indigorose.com/forums/threads/27527-Free-Plugin-Memory-Plugin?p=155881#post155881
have a good Life,
AMSWaves.
AMDONLINE
10-01-2011, 01:39 PM
Hi, I have installed the Autoit plugin and memory plugin but excuse my lack of knowledge but where do I place the LUA source file ?
Anfy
I really like this plugin friend but there is two thing:
1. i got problem in win server 2008
2. it needs some more samples or a nice help document with more examples for beginners like me
TanQ anyway
Powered by vBulletin™ Version 4.0.6 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.