Jump to content

Recommended Posts

Posted

The computer I use is my company laptop which has more restrictions than normal computers, allthough I can run programs as local admin. I tried to run the software on my computer at home in the same directory as my laptop, here the problem does not show. So I guess the issue is security related.

Debug log (I also tried the compiled version as admin) but they have the same result:

Posted Image

And the debug console:

Posted Image

PS: This program is quite amazing. A nice piece of (a lot of) work.

Posted

Are you shure you have admin rights? (log: user is admin: no???)

Maybe an antivir program denies the formstudio2.exe to run?

Posted

The screenshot says admin=no, but I did different tests.

  • admin/no admin
  • source/compiled
  • different directories
  • laptop (Windows 7)/desktop (Windows Vista)
The desktop with the working version has Windows Vista installed. I cannot switch off the anti virus program.
Posted

This looks really cool - cannot wait to try it when I get home (must have missed this when it came out)

All by me:

"Sometimes you have to go back to where you started, to get to where you want to go." 

"Everybody catches up with everyone, eventually" 

"As you teach others, you are really teaching yourself."

From my dad

"Do not worry about yesterday, as the only thing that you can control is tomorrow."

 

WindowsError.gif

WIKI | Tabs; | Arrays; | Strings | Wiki Arrays | How to ask a Question | Forum Search | FAQ | Tutorials | Original FAQ | ONLINE HELP | UDF's Wiki | AutoIt PDF

AutoIt Snippets | Multple Guis | Interrupting a running function | Another Send

StringRegExp | StringRegExp Help | RegEXTester | REG TUTOR | Reg TUTOT 2

AutoItSetOption | Macros | AutoIt Snippets | Wrapper | Autoit  Docs

SCITE | SciteJump | BB | MyTopics | Programming | UDFs | AutoIt 123 | UDFs Form | UDF

Learning to script | Tutorials | Documentation | IE.AU3 | Games? | FreeSoftware | Path_Online | Core Language

Programming Tips

Excel Changes

ControlHover.UDF

GDI_Plus

Draw_On_Screen

GDI Basics

GDI_More_Basics

GDI Rotate

GDI Graph

GDI  CheckExistingItems

GDI Trajectory

Replace $ghGDIPDll with $__g_hGDIPDll

DLL 101?

Array via Object

GDI Swimlane

GDI Plus French 101 Site

GDI Examples UEZ

GDI Basic Clock

GDI Detection

Ternary operator

Posted

Those tools can be easily updated by downloading the latest versions from AutoIt's website.

If I posted any code, assume that code was written using the latest release version unless stated otherwise. Also, if it doesn't work on XP I can't help with that because I don't have access to XP, and I'm not going to.
Give a programmer the correct code and he can do his work for a day. Teach a programmer to debug and he can do his work for a lifetime - by Chirag Gude
How to ask questions the smart way!

I hereby grant any person the right to use any code I post, that I am the original author of, on the autoitscript.com forums, unless I've specifically stated otherwise in the code or the thread post. If you do use my code all I ask, as a courtesy, is to make note of where you got it from.

Back up and restore Windows user files _Array.au3 - Modified array functions that include support for 2D arrays.  -  ColorChooser - An add-on for SciTE that pops up a color dialog so you can select and paste a color code into a script.  -  Customizable Splashscreen GUI w/Progress Bar - Create a custom "splash screen" GUI with a progress bar and custom label.  -  _FileGetProperty - Retrieve the properties of a file  -  SciTE Toolbar - A toolbar demo for use with the SciTE editor  -  GUIRegisterMsg demo - Demo script to show how to use the Windows messages to interact with controls and your GUI.  -   Latin Square password generator

Posted (edited)

Well, I have tried to replace the latest SciLexer.dll with the old ISN AutoIt Studio's one, but after that the the ISN AutoIt Studio's editor didn't show the color highlights for variables, keywords etc.

I thought maybe there is a deeper reason behind this ( Using an old version of those ).

Edited by D4RKON3
  • 3 weeks later...
Posted

Just wondering where development is on this and what the method of getting involved in helping with development is. Let me know and thanks in advance.

Joe

Posted

I am currently working on the 0.9 Update....but it will take some months...^^

But if you have some nice ideas for the 0.9 version you can post it here ;) ;)

Posted

I hope you don't mind but your idea for the debug console was brilliant. So I've adapted it for one of my projects and listed you as the inspiration.

UDF List:

 
_AdapterConnections()_AlwaysRun()_AppMon()_AppMonEx()_ArrayFilter/_ArrayReduce_BinaryBin()_CheckMsgBox()_CmdLineRaw()_ContextMenu()_ConvertLHWebColor()/_ConvertSHWebColor()_DesktopDimensions()_DisplayPassword()_DotNet_Load()/_DotNet_Unload()_Fibonacci()_FileCompare()_FileCompareContents()_FileNameByHandle()_FilePrefix/SRE()_FindInFile()_GetBackgroundColor()/_SetBackgroundColor()_GetConrolID()_GetCtrlClass()_GetDirectoryFormat()_GetDriveMediaType()_GetFilename()/_GetFilenameExt()_GetHardwareID()_GetIP()_GetIP_Country()_GetOSLanguage()_GetSavedSource()_GetStringSize()_GetSystemPaths()_GetURLImage()_GIFImage()_GoogleWeather()_GUICtrlCreateGroup()_GUICtrlListBox_CreateArray()_GUICtrlListView_CreateArray()_GUICtrlListView_SaveCSV()_GUICtrlListView_SaveHTML()_GUICtrlListView_SaveTxt()_GUICtrlListView_SaveXML()_GUICtrlMenu_Recent()_GUICtrlMenu_SetItemImage()_GUICtrlTreeView_CreateArray()_GUIDisable()_GUIImageList_SetIconFromHandle()_GUIRegisterMsg()_GUISetIcon()_Icon_Clear()/_Icon_Set()_IdleTime()_InetGet()_InetGetGUI()_InetGetProgress()_IPDetails()_IsFileOlder()_IsGUID()_IsHex()_IsPalindrome()_IsRegKey()_IsStringRegExp()_IsSystemDrive()_IsUPX()_IsValidType()_IsWebColor()_Language()_Log()_MicrosoftInternetConnectivity()_MSDNDataType()_PathFull/GetRelative/Split()_PathSplitEx()_PrintFromArray()_ProgressSetMarquee()_ReDim()_RockPaperScissors()/_RockPaperScissorsLizardSpock()_ScrollingCredits_SelfDelete()_SelfRename()_SelfUpdate()_SendTo()_ShellAll()_ShellFile()_ShellFolder()_SingletonHWID()_SingletonPID()_Startup()_StringCompact()_StringIsValid()_StringRegExpMetaCharacters()_StringReplaceWholeWord()_StringStripChars()_Temperature()_TrialPeriod()_UKToUSDate()/_USToUKDate()_WinAPI_Create_CTL_CODE()_WinAPI_CreateGUID()_WMIDateStringToDate()/_DateToWMIDateString()Au3 script parsingAutoIt SearchAutoIt3 PortableAutoIt3WrapperToPragmaAutoItWinGetTitle()/AutoItWinSetTitle()CodingDirToHTML5FileInstallrFileReadLastChars()GeoIP databaseGUI - Only Close ButtonGUI ExamplesGUICtrlDeleteImage()GUICtrlGetBkColor()GUICtrlGetStyle()GUIEventsGUIGetBkColor()Int_Parse() & Int_TryParse()IsISBN()LockFile()Mapping CtrlIDsOOP in AutoItParseHeadersToSciTE()PasswordValidPasteBinPosts Per DayPreExpandProtect GlobalsQueue()Resource UpdateResourcesExSciTE JumpSettings INISHELLHOOKShunting-YardSignature CreatorStack()Stopwatch()StringAddLF()/StringStripLF()StringEOLToCRLF()VSCROLLWM_COPYDATAMore Examples...

Updated: 22/04/2018

Posted (edited)

When I run this, on Windows 7 x64 I'm an administrator on the computer, I get the following error everytime I try to create a new project.

ISN_AUTOIT_STUDIO_V_0_88_BETA_SOURCEISN AutoIt StudioincludesStudio_Addons.au3 (163) : ==> Subscript used with non-Array variable.:
For $x = 1 to $aRecords[0]
For $x = 1 to $aRecords^ ERROR

I get this error even when running the compiled script, just a different line number shows up but the same error.

EDIT: I figured out what I "THINK" is causing this error message. In the file Studio_Addons.au3, at line 159, there is a FileMove command to move the default.au3 file from the templates folder to the project folder and rename it. The problem occurs because the FileMove command is the wrong function to be used, you should be doing a FileCopy so it doesn't delete the default.au3 file when it moves it to the project folder, and because you wrote the wrong parameters in the command.

; this is what is in line 159
filemove($Projectfolder & "" & guictrlread($new_projectname) & "" & $templatemainfile, $Projectfolder & "" & guictrlread($new_projectname) & "" & guictrlread($new_projectmainfile), 1)
; this is what should be there instead
FileCopy($templatefolder & "default" & $templatemainfile, $Projectfolder & "" & GUICtrlRead($new_projectname) & "" & GUICtrlRead($new_projectmainfile), 8)

BTW, using flag 1 on the filemove isn't needed, because your program won't let you create a new project if the folder already exists with that name.

Edited by BrewManNH

If I posted any code, assume that code was written using the latest release version unless stated otherwise. Also, if it doesn't work on XP I can't help with that because I don't have access to XP, and I'm not going to.
Give a programmer the correct code and he can do his work for a day. Teach a programmer to debug and he can do his work for a lifetime - by Chirag Gude
How to ask questions the smart way!

I hereby grant any person the right to use any code I post, that I am the original author of, on the autoitscript.com forums, unless I've specifically stated otherwise in the code or the thread post. If you do use my code all I ask, as a courtesy, is to make note of where you got it from.

Back up and restore Windows user files _Array.au3 - Modified array functions that include support for 2D arrays.  -  ColorChooser - An add-on for SciTE that pops up a color dialog so you can select and paste a color code into a script.  -  Customizable Splashscreen GUI w/Progress Bar - Create a custom "splash screen" GUI with a progress bar and custom label.  -  _FileGetProperty - Retrieve the properties of a file  -  SciTE Toolbar - A toolbar demo for use with the SciTE editor  -  GUIRegisterMsg demo - Demo script to show how to use the Windows messages to interact with controls and your GUI.  -   Latin Square password generator

Posted

Some suggestions for 0.9

1) List unused variables, functions, includes etc

2) Add includes when needed

3) Round trip engeneering when working on the gui (work on source and graphical interface at the same time, instead of generating the source)

4) Count words and word frequencies

5) Create installer from a project ()

Keep up the nice work :ILA2:

Guest
This topic is now closed to further replies.
×
×
  • Create New...