Jump to content

Sky Slate Blueberry Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate
Photo

Can someone write this script please!


  • Please log in to reply
1 reply to this topic
Duk
  • New members
  • 2 posts
  • Last active: Aug 22 2015 12:22 AM
  • Joined: 21 Aug 2015

While holding down LAlt send the command run,ipconfig.exe /release,,Hide and when on release send run,ipconfig.exe /renew,,Hide



garry
  • Spam Officer
  • 3219 posts
  • Last active: Sep 20 2018 02:47 PM
  • Joined: 19 Apr 2005

short example with text

;- Remap use LAlt-Button ----------------
a=Case1-Short
b=Case2-Down
c=Case3-Release

~LAlt::
KeyWait,Lalt,T0.5
If (Errorlevel=0)
   {
   ;-- case-1   short
   SplashTextOn, 400, 40, ,%a%
   sleep,500
   SplashTextOff
   return
   }

If (Errorlevel=1) 
   {
     ;-- case-2      --- long
     {
     SplashTextOn, 600, 40, ,%b%
     KeyWait,LAlt,T100
     SplashTextOff
     }

     ;-- case-3    --- release
     {
     SplashTextOn, 600, 40, ,%c%
     sleep,1000
     SplashTextOff
     }
   return
   }
return

esc::exitapp