Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 01/15/2019 in all areas

  1. I just noticed that Outlook does not allow to import iCal events programmatically. I might implement some of the iCalendar data format (RFC 5545) if someone is interested Please post here or click the "Like" button if you think this is a good idea Edit: For download please see my signature
    3 points
  2. Scheduled Task I do not think this is self elevation related, if it is, my answer does not provide that, you must have elevated privileges to set the task.
    1 point
  3. ;Create resizable Metro GUI $GUI_MAIN = _Metro_CreateGUI("", 480, 400, -1, -1, True) Well, I don't know if that True there means resizable...put it to false and test to maximize your GUI form. If that doesnt work (since you dont want to play in the Metro UDF), you will have to create a small func with my code and call it just after your $GUI_MAIN = ...
    1 point
  4. New version - 13 Jan 2019 - Added: 2 new functions to hide/show and existing marquee. New UDF and example script in zip in first post. M23
    1 point
  5. Skysnake, I've read the whole thread a little more carefully. Note that callback functions are used in relation to Windows API functions and in relation to the AutoIt function DllCallbackRegister. It's not something you use in normal AutoIt functions. Look at the example for DllCallbackRegister in the help file. The example implements the Windows API function EnumWindows so that it can be used in AutoIt. The Microsoft documentation describes that EnumWindows uses a callback function called EnumWindowsProc. To get EnumWindows to work in AutoIt, EnumWindowsProc must also be implemented in AutoIt. EnumWindows is implemented using the DllCall function. EnumWindowsProc is implemented using the DllCallbackRegister function. The parameters for both functions are documented by Microsoft. The callback function is called directly from the internal EnumWindows code (C/C++ code). It's not called in the AutoIt code. The only way you can use function variables in relation to callback functions is in this way (the first lines in the example), since you are not calling the function yourself in the AutoIt code: Global $MyFuncVar = _EnumWindowsProc ; Create callback function. Global $hHandle = DllCallbackRegister(FuncName($MyFuncVar), "int", "hwnd;lparam")
    1 point
  6. Happy New Year :)! I have very often problems like that: Is there a way to easy find the calling point in my script? I use a lot of "Json_ObjGetKeys()" and I would like to find the reason, why I sometimes dont get an object at this part. How do you debug this in a good way :)? I could secure it with lots of "Json_ObjExists()", but maybe I should have an object there and my code isnt stable enough.
    1 point
  7. robertocm

    MSTSC and AutoIT

    Let me just report that i'm getting good results with a RemoteApp using this:
    1 point
×
×
  • Create New...