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.
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
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.
Answered 02/03/2011 by: VBScab
Red Belt

Please log in to comment
0
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.
Answered 02/03/2011 by: lanselots
Fourth Degree Brown Belt

Please log in to comment
0
i dont know how to manage autoclick in script. Desole, mais je ne sais pas AutoIt a tous donc je ne peux pas vous aider:( [English]Sorry but I don't know AutoIt at all so I am unable to help you :( [/English]
Answered 02/03/2011 by: VBScab
Red Belt

Please log in to comment
0
but may be you know scripting, because with scripting it would look better.
Answered 02/03/2011 by: lanselots
Fourth Degree Brown Belt

Please log in to comment
0
For this kind of work (of which I am not exacly a fan), trust me, you'll want to use AutoIt over VBS.

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
Answered 02/03/2011 by: pjgeutjens
Red Belt

Please log in to comment
0
About packaging those keys is not possible, because i contacted with vendor and he said thet users need manually do that with admin rights, so may be someone can give me a script which launch program at least?
Answered 02/03/2011 by: lanselots
Fourth Degree Brown Belt

Please log in to comment
0
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.
Answered 02/03/2011 by: VBScab
Red Belt

Please log in to comment
Answer this question or Comment on this question for clarity