While working on my iPhone game project I realized that AIR 2.7 for IOS introduced bug with the Timer class and setTimeout.
After a first compilation of my AIR for IOS app with AIR 2.7 the situation was not good.
The application that was developed and optimized for AIR 2.6 was not smooth at all 🙁
A few tests later, I isolated the problem: The setTimout() method does not work properly (?) in AIR 2.7 for IOS.
Some modification on my ErrorHandler class – sources.
While Linux has a simple command alias, this will require more work in windows.
We will firstly use the doskey command :
doskey ls=dir $*
This command will create an alias ls that will execute the dir command.
The variable $* allow us to pass all of the arguments entered after the alias.
We can now use ls command instead of dir. Works very well, but alias won’t be saved when we quit 🙁
We will now set multiple commands in an external file :
ls=dir $* ps=tasklist $* clear=cls
And execute :
Good, but we still loose our aliases when we quit.
We’ll have to put this command in an autorun script called when cmd.exe launches.
@echo off cls doskey /macrofile=c:\bin\cmd_aliases.txt
And a last script to install our autorun in registry :
reg add "hkcu\software\microsoft\command processor" /v Autorun /t reg_sz /d c:\bin\cmd_autorun.cmd
Execute cmd_autorun_install.cmd (double click)
That’s ok !