La simu multi-agents qui repeint une image, mais en c++ Boilerplate pompé ici : https://github.com/andrew-r-king/sfml-vscode-boilerplate
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1234567891011121314151617181920212223
  1. set appName to system attribute "appName"
  2. set appNameExt to appName & ".app"
  3. tell application "Finder"
  4. tell disk appName
  5. open
  6. set current view of container window to icon view
  7. set toolbar visible of container window to false
  8. set statusbar visible of container window to false
  9. set the bounds of container window to {400, 100, 1060, 500}
  10. set viewOptions to the icon view options of container window
  11. set arrangement of viewOptions to not arranged
  12. set icon size of viewOptions to 168
  13. set background picture of viewOptions to file ".background:background.tiff"
  14. set position of item appNameExt of container window to {180, 182}
  15. set position of item "Applications" of container window to {480, 182}
  16. set position of item ".background" of container window to {180, 582}
  17. -- set position of item ".fseventsd" of container window to {480, 582}
  18. close
  19. update without registering applications
  20. delay 2
  21. end tell
  22. end tell