426
Living Room / Re: Recreate yourself: simpson style!
« Last post by AbteriX on July 25, 2007, 06:10 AM »WOW justice, ... great find, thanks 
Harr harr that's FUN

Marge missed brother

Harr harr that's FUN

Marge missed brother


of course




I don't get it.... where's the output?
...and the F2 is the one that *should* output it.-wreckedcarzz (July 24, 2007, 01:15 AM)
)GuiControlGet
----------------------------------------------------------------------------
Retrieves various types of information about a control in a GUI window.
GuiControlGet, OutputVar [, Sub-command, ControlID, Param4]

Any help is useful, even ideas...-wreckedcarzz (July 23, 2007, 09:57 PM)
f2save:
Gui, Submit
Return-You
{F2}:
GuiControlGet, v12-You
f2save:
Gui, Submit
{F2}:
GuiControlGet, v12
Return


;REM DelayLauncher, 2007 by Stefan
;REM Simple AHK script (www.autohotkey.com)
;REM to start one or more applications listed in an ini file, if wanted with delay.
;REM
;REM Purpose: start an group of applications and/or start your programs in the autostart folder with an delay.
;REM
;REM Syntax of the DelayLauncher.ini file:
;REM Seconds to wait, Target (Application plus parameters), Workingdir, launch state
;REM For example:
;REM 2, Notepad notice.txt,,max
;REM
;REM All parameters could be empty. Only "Target" is needed ;-) and the comas for empty parameters if an parameter follows
;REM
;REM To take an application out of the launching put an '#' in front of the line
;REM For example:
;REM #2, Notepad notice.txt,,max
;REM
;REM To execute the applications the AHK command "Run" is used.
;REM See www.AutoHotkey.com Help file for RUN command:
;REM
;REM Run, Target [, WorkingDir, Max|Min|Hide|UseErrorLevel]
;REM
;REM Target
;REM A document, URL, executable file (.exe, .com, .bat, etc.), shortcut (.lnk), or system verb to launch (see remarks).
;REM If Target contains any commas, they must be escaped as shown three times in the following example:
;REM Run rundll32.exe shell32.dll`,Control_RunDLL desk.cpl`,`, 3 ; Opens Control Panel > Display Properties > Settings
;REM To pass parameters, add them immediately after the program or document name.
;REM If a parameter contains spaces, it is safest to enclose it in double quotes (even though it may work without them in some cases).
;REM
;REM WorkingDir
;REM The working directory for the launched item. Do not enclose the name in double quotes even if it contains spaces.
;REM If omitted, the script's own working directory (A_WorkingDir) will be used.
;REM
;REM Max|Min|Hide
;REM If omitted, Target will be launched normally. Alternatively, it can contain one or more of these words:
;REM Max: launch maximized
;REM Min: launch minimized
;REM Hide: launch hidden (cannot be used in combination with either of the above)
#NoTrayIcon ;disable the view of the AHK icon
INIfile = %1% ;Use the INI file given as parameter.
If ("%1%" = "") ;If no ini file parameter is given on the command line
INIfile = DelayLauncher.ini ;use the standard INI DelayLauncher.ini
If 2 contains debugit ;Debug mode: see what the script will do
MsgBox, 64,Debug DelayLauncher command line, Parameter (%0%):`t%1% %2% %3%`nINIfile:`t`t%inifile% `nScript Working Dir: %A_ScriptDir%
Loop, read, %INIfile% ;The INI who stores the applications list to launch
{
Loop, parse, A_LoopReadLine, CSV
{
VAR%A_Index% = %A_LoopField%
}
IfInString, VAR1, # ;If this character is found skip the launch of this application
continue
If VAR1 is not integer ;If the delay time is omitted (app is in Var1) shift the app name to Var2
VAR2 = %VAR1%
T := VAR1 * 1000 ;AHK count with milliseconds, we multiply the user input '2' with 1000 to get 2000 ms = 2sec
Sleep, %T% ;Pause
;Test the command line:
;MsgBox, 4, Test, Wait for %VAR1% Seconds - RUN now %VAR2% %VAR3% %VAR4% `n`nContinue?
;IfMsgBox, No
;return
If (%VAR3% = "") ;for .lnk error handling
VAR3 = %A_ScriptDir%
Run, %Var2% , %Var3% , %Var4% UseErrorLevel ;Launch the app
if ErrorLevel = ERROR ;If an error occur continue
MsgBox, 20,DelayLauncher Warning,Error while launching this application: `nApp name:`t%VAR2%, `nWorking Dir:`t%VAR3%, `nState:`t`t%VAR4%, `n`t%VAR5% `n`t%VAR6% `nDelay:`t%VAR1% seconds`n`nPlease check the settings in the INI %INIfile%. `nI give up :(`nContinue launching the other applications?
IfMsgBox, No
return
}
Exit
return
;-v0.2
good job. idea: instead of the ini filename, use %1%,
then use your own extensino .gst for example,
and then you can drag and drop .gst files on your script to execute them.
this way you can use multiple .gst files.-justice (July 10, 2007, 05:40 PM)
And associate .gst with your executable for double clicking.1.) K.I.S.S. ...

Boxer does write lots of settings to the registry;Any change that Boxer let the Registry alone in one of the next releases?-Boxer Software (June 17, 2007, 03:23 PM)