Windows XP: lancer macro Teratermpro avec Runwait

Post a reply


In an effort to prevent automatic submissions, we require that you complete the following challenge.
Smilies
:D :) ;) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :!: :?: :idea: :| :mrgreen: :geek: :ugeek: :arrow: :angel: :clap: :crazy: :eh: :lolno: :problem: :shh: :shifty: :sick: :silent: :think: :thumbup: :thumbdown: :salute: :wave: :wtf: :yawn: :facepalm: :bravo: :dance: :beard: :morebeard: :xmas: :HeHe: :trollface: :cookie: :rainbow: :monkeysee: :monkeysay: :happybday: :headwall: :offtopic: :superhappy: :terms: :beer:
View more smilies

BBCode is ON
[img] is OFF
[flash] is OFF
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: Windows XP: lancer macro Teratermpro avec Runwait

Re: Windows XP: lancer macro Teratermpro avec Runwait

Post by garry » 24 Jan 2017, 17:03

voir command 'hide' et dos parameter /k =keep , /c = close quand 'runwait' fini

Code: Select all

runwait,%comspec% /c C:\Program Files (x86)\teraterm\ttermpro.exe /I /H /V /DS /L /M="C:\Users\caire\Desktop\conexion4.ttl",,hide
msgbox,fini

Re: Windows XP: lancer macro Teratermpro avec Runwait

Post by joel_251257 » 24 Jan 2017, 08:47

Bonjour,

Oui c'est parfait!!! la macro 'connexion4.ttl' s'éxécute sous le process cmd.exe de windows XP, en revanche cette fenêtre C:\Windows \system32\cmd.exe reste ouverte à la fin du Runwait, et il faut la fermer à la main !? si je veut que le programme AHK continu après la comande Runwait....

==> Sauriez-vous comment la fermer, automatiquement (dans la macro 'connexion4.ttl ou autre ?...?)

D'Avance Merci,

Albert

Re: Windows XP: lancer macro Teratermpro avec Runwait

Post by garry » 18 Jan 2017, 13:26

essayez ce qui se passe

Code: Select all

runwait,%comspec% /k C:\Program Files (x86)\teraterm\ttermpro.exe /I /H /V /DS /L /M="C:\Users\caire\Desktop\conexion4.ttl" 

Windows XP: lancer macro Teratermpro avec Runwait

Post by albert_251257 » 17 Jan 2017, 08:58

Sous Windows XP (2003), le lancement de la macro 'conexion.ttl' la comande autohotkey ne s'effectue pas :

RunWait,C:\Program Files (x86)\teraterm\ttermpro.exe /I /H /V /DS /L /M=C:\Users\caire\Desktop\conexion4.ttl,,Hide

En fait on ne rentre pas dans le code de la macro 'connexion4.ttl'

Version Teratermpro 4.9 et version AutoHotkey 1.1.24.04.

Quelqu'un saurais pourquoi ??

Merci!!!

Albert

Top