Jump to content

lee321987

Active Members
  • Posts

    120
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

lee321987's Achievements

Adventurer

Adventurer (3/7)

6

Reputation

  1. Hello. Attached are two images converted from the same source image. One created by Directory Opus and the other created by ImageMagick. The ImageMagick image will not display in an AutoIt GUI, but those created by other programs work fine (I also tried GIMP and IrfanView converts). Any idea what's wrong? My ImageMagick command line: convert.exe "C:\Program Files (x86)\AutoIt3\Examples\GUI\mslogo.jpg" "imagemagick_convert.bmp" Example code: #include <GUIConstantsEx.au3> #include <WindowsConstants.au3> GUICreate("My GUI picture", 350, 300, -1, -1, $WS_SIZEBOX + $WS_SYSMENU) Local $idPic = GUICtrlCreatePic("DOpus_convert.bmp", 50, 50, 200, 50) Local $idPic2 = GUICtrlCreatePic("imagemagick_convert.bmp", 50, 120, 200, 50) GUISetState(@SW_SHOW) While 1 Switch GUIGetMsg() Case $GUI_EVENT_CLOSE ExitLoop EndSwitch WEnd GUIDelete() DOpus_convert.bmp imagemagick_convert.bmp
  2. Several monospace fonts I've tried out have really large vertical line-spacing (wasting space) when used in SciTE (and ONLY in SciTE -- they have good spacing in other programs). Is there any way to decrease the vertical spacing? I'm using SciTE4AutoIt3, but I'd also like to know how to change it in standard SciTE if possible. Also feel free to list any monospace fonts that don't have this problem -- I'll start: Dejavu Sans Mono.
  3. These two also work: ShellExecute("ms-settings:display") Run("explorer ms-settings:display")
  4. Yes I am using save.session=1. Try opening more tabs than there are mru lines in your SciTE.session file. I just found out that the recent list is cut short by the number of open files in SciTE. I have 10 mru lines. If I have 7 files open then the recent list will have 3 entries And 7 of the paths in mru list (written in the SciTE.session file) are the currently open tabs -- should current tabs be in that list?
  5. Yeah that's what I mean. That list does actually populate while I have SciTE open (a file is added to the list when I close the file), but when I close and re-run SciTE that list is completely gone.
  6. Are you using plain SciTE or the special one made for AutoIt?
  7. C:\Users\<my_user_name>\AppData\Local\AutoIt v3\SciTE
  8. save.recent=1 Is supposed to cause the most recently used files list to be saved on exit in the session file and read at start up. But after a restart my recent files list is empty.
  9. @mistersquirrle THANK YOU! Compiling worked. I didn't need: #AutoIt3Wrapper_Change2CUI=y
  10. It's a console app -- most console apps (including Node-Red) are quit using CTRL+C
  11. I run Node-Red (it's a console app) with this command: Run(@ComSpec & " /k node-red") If I run node-red by typing "node-red" into a console I can exit/quit node-red by pressing CTRL+C, but when it's started by AutoIt, CTRL+C does nothing. Anyone know why or how to get CTRL+C working?
  12. I've been using AutoIt over a decade. I just realized I can use floats for the timeout in MsgBox(). Just sharing in case anyone else didn't know.
  13. Just sharing my workaround. Let me know if anyone thinks this is a bad idea: Func _my_func($bVar = True) Eval("bVar") If @error Then $bVar = True EndIf ConsoleWrite($bVar & @CRLF) EndFunc
  14. Just found out, this will force the file "foo.txt" to flush to disk: FileRead("foo.txt", 1)
×
×
  • Create New...