Jump to content
Sign in to follow this  
Vargarda

I want them all to run together but can't figure it out how..

Recommended Posts

Vargarda

Hello. i have tried for some days to get theese work together but i can't get it to work, i have read the forum rules and i don't break any rules

because its for my own server wont say which because someone might use some parts of this script to cheat.

HotKeySet("{PAUSE}", "TogglePause")
HotKeySet("{ESC}", "Terminate")
Global $fPaused = True
 
 
 endfunc
 
<snip> 
 
 Func TogglePause()
    $fPaused = Not $fPaused
    While $fPaused
        Sleep(100)
        ToolTip('Script is "Paused"', 0, 0)
    WEnd
    ToolTip("")
EndFunc   ;==>TogglePause
 
Func Terminate()
    Exit
EndFunc   ;==>Terminate
would be very happy if i got some help :) thanks in advance yours// Vargarda

 

(its probley a mess this but i am new to this have been following guides etc.. to learn some but can't find any guide on building it all together)

Edited by Melba23
Code removed - some left to show code tags working

Share this post


Link to post
Share on other sites
FireFox

Hi,

Please use autoit code tags to post your code.

AutoIt does not support multithreading so you can't run two functions at the same time ;)

Br, FireFox.


 

OS : Win XP SP2 (32 bits) / Win 7 SP1 (64 bits) / Win 8 (64 bits) | Autoit version: latest stable / beta.
Hardware : Intel(R) Core(TM) i5-2400 CPU @ 3.10Ghz / 8 GiB RAM DDR3.

My UDFs : Skype UDF | TrayIconEx UDF | GUI Panel UDF | Excel XML UDF | Is_Pressed_UDF

My Projects : YouTube Multi-downloader | FTP Easy-UP | Lock'n | WinKill | AVICapture | Skype TM | Tap Maker | ShellNew | Scriptner | Const Replacer | FT_Pocket | Chrome theme maker

My Examples : Capture toolIP Camera | Crosshair | Draw Captured Region | Picture Screensaver | Jscreenfix | Drivetemp | Picture viewer

My Snippets : Basic TCP | Systray_GetIconIndex | Intercept End task | Winpcap various | Advanced HotKeySet | Transparent Edit control

 

Share this post


Link to post
Share on other sites
Vargarda

oh sry :P should have though about doing that hehe

ah ok... :(

But it should be possible to make a code that execute all the codes tho in different exe's if i make them stand alone right? 

like if i make a script that opens all scripts in theire own exe's then it should be like having one big script right? 

Share this post


Link to post
Share on other sites
Melba23

Vargarda,

 

i have read the forum rules and i don't break any rules because its for my own server

Then you did not read the rules very well. It matters not one whit if this is for your own server, it is still not allowed here. Thread locked. :naughty:

M23

P.S. And when you post code please use Code tags - see here how to do it. Then you get a scrolling box and syntax colouring as you can see above now I have added the tags. ;)


Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind._______My UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  

×