Jump to content

Organize Includes in SciTE4Autoit3


Xenobiologist
 Share

Recommended Posts

Thanks Melba - couldn't see the woods for the trees!

#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#

# START: DO NOT CHANGE ANYTHING AFTER THIS LINE #-#-#-#-#

# Created by SciTEConfig

#------------------------------------------------------------

font.base=font:Verdana,size:10,$(font.override)

font.monospace=font:Courier New,size:10

proper.case=1

check.updates.scite4autoit3=0

use.tabs=1

indent.size=4

indent.size.*.au3=4

tabsize=4

#Background

style.au3.32=style.*.32=$(font.base),back:#F0F4F9

#CaretLineBackground

caret.line.back=#FFFED8

# Brace highlight

style.au3.34=fore:#0000FF,bold,back:#F0F4F9

# Brace incomplete highlight

style.au3.35=fore:#009933,italics,back:#F0F4F9

#White space

style.au3.0=fore:#000000,back:#F0F4F9

#Comment line

style.au3.1=fore:#009933,italics,back:#F0F4F9

#Comment block

style.au3.2=fore:#669900,italics,back:#F0F4F9

#Number

style.au3.3=fore:#AC00A9,italics,bold,back:#F0F4F9

#Function

style.au3.4=fore:#000090,italics,bold,back:#F0F4F9

#Keyword

style.au3.5=fore:#0000FF,bold,back:#F0F4F9

#Macro

style.au3.6=fore:#FF33FF,bold,back:#F0F4F9

#String

style.au3.7=fore:#9999CC,bold,back:#F0F4F9

#Operator

style.au3.8=fore:#FF0000,bold,back:#F0F4F9

#Variable

style.au3.9=fore:#AA0000,bold,back:#F0F4F9

#Sent keys

style.au3.10=fore:#FF8800,bold,back:#F0F4F9

#Pre-Processor

style.au3.11=fore:#F000FF,italics,back:#F0F4F9

#Special

style.au3.12=fore:#A00FF0,italics,back:#F0F4F9

#Abbrev-Expand

style.au3.13=fore:#FF0000,bold,back:#F0F4F9

#Com Objects

style.au3.14=fore:#0000FF,italics,bold,back:#F0F4F9

#Standard UDF's

style.au3.15=fore:#0080FF,italics,bold,back:#F0F4F9

# END => DO NOT CHANGE ANYTHING BEFORE THIS LINE #-#-#-#-#-#

#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#

# 36 OrganizeIncludes

command.36.*.au3="D:Program FilesAutoIt3SciTEautoit3.exe" "$(SciteDefaultHome)OrganizeIncludesOI_1.0.0.50.au3" "$(FilePath)"

command.name.36.*.au3=OrganizeIncludes

command.save.before.36.*.au3=1

command.is.filter.36.*.au3=1

command.shortcut.36.*.au3=Ctrl+Shift+Alt+I

Link to comment
Share on other sites

I still assume, that it has something to do with your Scite version or Scite configuration.

Look here :

Try to change your settings from

# 36 OrganizeIncludes
command.36.*.au3="D:Program FilesAutoIt3SciTEautoit3.exe" "$(SciteDefaultHome)OrganizeIncludesOI_1.0.0.50.au3" "$(FilePath)"
command.name.36.*.au3=OrganizeIncludes
command.save.before.36.*.au3=1
command.is.filter.36.*.au3=1
command.shortcut.36.*.au3=Ctrl+Shift+Alt+I

to

# 36 OrganizeIncludes
command.36.*.au3="D:Program FilesAutoIt3SciTEautoit3.exe" "D:Program FilesAutoIt3SciTEOrganizeIncludesOI_1.0.0.50.au3" "$(FilePath)"
command.name.36.*.au3=OrganizeIncludes
command.save.before.36.*.au3=1
command.is.filter.36.*.au3=1
command.shortcut.36.*.au3=Ctrl+Shift+Alt+I

Mega

Edited by Xenobiologist

Scripts & functions Organize Includes Let Scite organize the include files

Yahtzee The game "Yahtzee" (Kniffel, DiceLion)

LoginWrapper Secure scripts by adding a query (authentication)

_RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...)

Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc.

MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times

Link to comment
Share on other sites

I now get this error:

>"D:\Program Files\AutoIt3\SciTE\autoit3.exe" "D:\Program Files\AutoIt3\SciTE\OrganizeIncludes\OI_1.0.0.50.au3" "C:\Users\ADMIN\Desktop\FB Automator\FBAutomator.au3"

'D:\Program' is not recognized as an internal or external command,

operable program or batch file.

>Exit code: 1 Time: 1.037

Link to comment
Share on other sites

Scripts & functions Organize Includes Let Scite organize the include files

Yahtzee The game "Yahtzee" (Kniffel, DiceLion)

LoginWrapper Secure scripts by adding a query (authentication)

_RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...)

Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc.

MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times

Link to comment
Share on other sites

  • Moderators

golfinhu,

Then read the same threads and reinstall with a new download. :oops:

M23

Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind

Open spoiler to see 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

 

Link to comment
Share on other sites

Same problem as Delstone : I've reinstalled, uninstalled, reinstalled...

(Win XP SP3, Autoit v 3.81)

>"autoit3.exe" "C:Program FilesAutoIt3SciTEOrganizeIncludesOrganizeIncludes4.3.au3" "D:- AutoIt testsgmailautolog_autre.au3"

Syntaxe du nom de fichier, de répertoire ou de volume incorrecte.

>Exit code: 1 Time: 0.395

Edited by ldub
Link to comment
Share on other sites

  • Developers

I now get this error:

>"D:Program FilesAutoIt3SciTEautoit3.exe" "D:Program FilesAutoIt3SciTEOrganizeIncludesOI_1.0.0.50.au3" "C:UsersADMINDesktopFB AutomatorFBAutomator.au3"

'D:Program' is not recognized as an internal or external command,

operable program or batch file.

>Exit code: 1 Time: 1.037

Shouldn't this :

"D:Program FilesAutoIt3SciTEautoit3.exe"

Be:

"D:Program FilesAutoIt3autoit3.exe"

Same problem as Delstone : I've reinstalled, uninstalled, reinstalled...

(Win XP SP3, Autoit v 3.81)

>"autoit3.exe" "C:Program FilesAutoIt3SciTEOrganizeIncludesOrganizeIncludes4.3.au3" "D:- AutoIt testsgmailautolog_autre.au3"

Syntaxe du nom de fichier, de répertoire ou de volume incorrecte.

>Exit code: 1 Time: 0.395

Do you have AutoIt3.exe installed in the root of the drive? Edited by Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

No, autoit is here, as usual : C:Program FilesAutoIt3AutoIt3.exe

The problem is here :

>"autoit3.exe" "C:Program FilesAutoIt3SciTEOrganizeIncludesOrganizeIncludes4.3.au3" "D:- AutoIt testsgmailautolog_autre.au3"

Scite does not manage correctly the path of autoit.exe, even if I write the full path in Scite config.

If I (manually) replace

>"autoit3.exe" "C:Program FilesAutoIt3SciTEOrganizeIncludesOrganizeIncludes4.3.au3" "D:- AutoIt testsgmailautolog_autre.au3"

with

>"C:Program FilesAutoIt3AutoIt3.exe" "C:Program FilesAutoIt3SciTEOrganizeIncludesOrganizeIncludes4.3.au3" "D:- AutoIt testsFFFF_start_test_2.au3"

it works...

So, how can I do to do so ?

(sorry for my English)

Edited by ldub
Link to comment
Share on other sites

This :

# 36 OrganizeIncludes

command.36.*.au3="$(autoit3dir)autoit3.exe" "$(SciteDefaultHome)OrganizeIncludesOrganizeIncludes4.3.au3" "$(FilePath)"

command.name.36.*.au3=OrganizeIncludes

;#command.36.*.au3="$(autoit3dir)betaautoit3.exe" "$(SciteDefaultHome)OrganizeIncludesOI_1.0.0.50.au3" "$(FilePath)"

;command.36.*.au3="c:ProgrammeAutoit3autoit3.exe" "c:ProgrammeAutoit3SciteOrganizeIncludesOI_1.0.0.56.au3" "$(FilePath)"

command.save.before.36.*.au3=1

command.is.filter.36.*.au3=1

command.shortcut.36.*.au3=Ctrl+Shift+Alt+I

Ok, I have seen the mistake : command.36.*.au3="$(autoit3dir)autoit3.exe"

I have changed it with :

# 36 OrganizeIncludes

command.36.*.au3="C:Program FilesAutoIt3AutoIt3.exe" "$(SciteDefaultHome)OrganizeIncludesOrganizeIncludes4.3.au3" "$(FilePath)"

command.name.36.*.au3=OrganizeIncludes

command.save.before.36.*.au3=1

command.is.filter.36.*.au3=1

command.shortcut.36.*.au3=Ctrl+Shift+Alt+I

And it works now.

Thanks a lot for your help !

Edited by ldub
Link to comment
Share on other sites

  • Developers

Autoit3dir isn't set i guess.

try:

command.36.*.au3="$(SciteDefaultHome)..autoit3.exe" "$(SciteDefaultHome)OrganizeIncludesOrganizeIncludes4.3.au3" "$(FilePath)"
Edited by Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

  • 1 year later...

Hi,

Is this still working , iv updated scite 3.3.0 and re-downloaded from the first post.

The GUI loads fine, there are no errors shown but when i click "organize includes" button it removes ALL my code in SciTE and leaves it blank , not even any includeds in the right hand side list of Organize includes.

Iv just used a help file .au3 , removed one of the #include's as a demo.

pcxaVlD.png

Thx all,Jack Dinn.

 

JD's Auto Internet Speed Tester

JD's Clip Catch (With Screen Shot Helper)

Projects :- AutoIt - My projects

My software never has bugs. It just develops random features. :-D

Link to comment
Share on other sites

Hi JackDinn,

I cannot reproduce the problem. The script still works me.

Do you have any chance to explain a little bit more?

Thanks.

Mega

Scripts & functions Organize Includes Let Scite organize the include files

Yahtzee The game "Yahtzee" (Kniffel, DiceLion)

LoginWrapper Secure scripts by adding a query (authentication)

_RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...)

Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc.

MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times

Link to comment
Share on other sites

Hi,

It looks like its to do with the slow lappy (xp) im using , does it make a copy of the script file before reading it into OI ? because i tried to make a screen shot video of the problem and low and behold it was working again :-/ only thing i can think is that because my screen recorder really slowed my comp down OI had time to read the data but when i turned the screen recorder of again OI did not work again , it looks like its not able to read the script , all its getting is a blank.

Thx all,Jack Dinn.

 

JD's Auto Internet Speed Tester

JD's Clip Catch (With Screen Shot Helper)

Projects :- AutoIt - My projects

My software never has bugs. It just develops random features. :-D

Link to comment
Share on other sites

Hey, no it doesn't copy anything of your script. But OI saves your script before it starts.

Does SciTE run with administrator rights on your machine? If not, then try to start SciTE with admin rights and then start OI again.

Scripts & functions Organize Includes Let Scite organize the include files

Yahtzee The game "Yahtzee" (Kniffel, DiceLion)

LoginWrapper Secure scripts by adding a query (authentication)

_RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...)

Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc.

MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times

Link to comment
Share on other sites

well iv just notice it does it on my main comp (win7x64) as well, I cant reproduce at will because it seems to open blank one time then if i close it and open it again its working again.

So i shall leave it at that , as its not very helpful to you if i cant give a way to reproduce but there somming happening there sometimes.

 

screen shots :-

I open OI first time :-

'>

then just close it and open it again :-

'>

 

Cheers.

Edited by JackDinn

Thx all,Jack Dinn.

 

JD's Auto Internet Speed Tester

JD's Clip Catch (With Screen Shot Helper)

Projects :- AutoIt - My projects

My software never has bugs. It just develops random features. :-D

Link to comment
Share on other sites

Does the problem occur every first time you start OI or only the first time for any script in a folder?

If OI shows the blank screen, what happens when you hit "Restart"?

Are you still willing to use OI, or is the problem so big that you cannot use it?

Anyone else a similar problem?

Scripts & functions Organize Includes Let Scite organize the include files

Yahtzee The game "Yahtzee" (Kniffel, DiceLion)

LoginWrapper Secure scripts by adding a query (authentication)

_RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...)

Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc.

MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...