Scipting auto click
Hi there,
I need your help people, i working now for a long time on one package and cannot get thru a proble to create a script which launshing program, after what automaticly makes autoclick writes in one step some numbers, and in the finish deletes one shortcut which do all that stuff. Does any one how made such thing like that, if you could give me some examples i would be gratfull for that.
Thank you in advance.
I need your help people, i working now for a long time on one package and cannot get thru a proble to create a script which launshing program, after what automaticly makes autoclick writes in one step some numbers, and in the finish deletes one shortcut which do all that stuff. Does any one how made such thing like that, if you could give me some examples i would be gratfull for that.
Thank you in advance.
0 Comments
[ + ] Show comments
Answers (7)
Please log in to answer
Posted by:
anonymous_9363
13 years ago
You can take care of the shortcut deletion in the package, using the RemoveFile table.
As for the 'auto click', I presume you mean you want to have the script automatically click a button? And for "writes in one step some numbers" you want the script to enter a stream of numbers into an application? That sounds like a job for AutoIt. Before you go down that route, though, are you sure there's no other means to achieve the end result? For example, if the clicking and number-entering results in, say, a registry entry, you could incorporate the registry data into your package, too.
As for the 'auto click', I presume you mean you want to have the script automatically click a button? And for "writes in one step some numbers" you want the script to enter a stream of numbers into an application? That sounds like a job for AutoIt. Before you go down that route, though, are you sure there's no other means to achieve the end result? For example, if the clicking and number-entering results in, say, a registry entry, you could incorporate the registry data into your package, too.
Posted by:
lanselots
13 years ago
the thing is that all users need manually avtivate program, but if they would launch shortcut which do that for them that could be realy cool, i allredy used autoit but it doest work some how, when it calls to open program using exe file or lnk file it opens start in task bar i had the script which launch the program but i dont know how to manage autoclick in script.
Posted by:
anonymous_9363
13 years ago
Posted by:
lanselots
13 years ago
Posted by:
pjgeutjens
13 years ago
For this kind of work (of which I am not exacly a fan), trust me, you'll want to use AutoIt over VBS.
I don't quite get that statement, how it would 'look better'. Anyway, if it must be a script look into the WshShell.SendKeys method
Again, as Ian said, make sure there's no other way to incorporate the activation data directly into the package.
PJ
but may be you know scripting, because with scripting it would look better.
I don't quite get that statement, how it would 'look better'. Anyway, if it must be a script look into the WshShell.SendKeys method
Again, as Ian said, make sure there's no other way to incorporate the activation data directly into the package.
PJ
Posted by:
lanselots
13 years ago
Posted by:
anonymous_9363
13 years ago
he said thet users need manually do that with admin rightsYour sides must be sore with laughing after hearing that. How do these people get away with charging people money for stuff and then coming out with this nonsense?
Tell us EXACTLY what software we're talking about and what you want to happen i.e. explain the exact actions which should take place.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.