Jump to content



Photo

Organize Includes in SciTE4Autoit3


  • Please log in to reply
53 replies to this topic

#41 DelStone

DelStone

    Wayfarer

  • Active Members
  • Pip
  • 69 posts

Posted 25 February 2012 - 09:19 AM

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







#42 Xenobiologist

Xenobiologist

    Xx Code~Mega xX

  • MVPs
  • 4,727 posts

Posted 27 February 2012 - 07:34 AM

I still assume, that it has something to do with your Scite version or Scite configuration.
Look here : http://www.autoitscript.com/forum/topic/136003-problem-with-scite-script-editor/

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, 27 February 2012 - 07:35 AM.

Scripts & functions Organize Includes Let Scite organize the include files *newYahtzee 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

#43 DelStone

DelStone

    Wayfarer

  • Active Members
  • Pip
  • 69 posts

Posted 27 February 2012 - 02:05 PM

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

#44 Xenobiologist

Xenobiologist

    Xx Code~Mega xX

  • MVPs
  • 4,727 posts

Posted 27 February 2012 - 04:16 PM

Please try reinstalling Scite4Autoit3 from here : http://www.autoitscript.com/site/autoit-script-editor/downloads/
Here are some threads about your problem (nothing to do with "Organize Includes")

http://www.google.de/search?q=test&num=100&ie=utf-8&oe=utf-8&aq=t#hl=de&sclient=psy-ab&q=is+not+recognized+as+an+internal+or+external+command%2C+operable+program+or+batch+file.++site:autoitscript.com&pbx=1&oq=is+not+recognized+as+an+internal+or+external+command%2C+operable+program+or+batch+file.++site:autoitscript.com&aq=f&aqi=&aql=&gs_sm=3&gs_upl=8071l14514l0l14782l22l9l0l0l0l0l1299l4406l2.1.1.1.0.1.2.1l9l0&bav=on.2,or.r_gc.r_pw.r_qf.,cf.osb&fp=35a09eb17a7bb46f&biw=1280&bih=603

Thanks!
Scripts & functions Organize Includes Let Scite organize the include files *newYahtzee 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

#45 golfinhu

golfinhu

    Wayfarer

  • Active Members
  • Pip
  • 94 posts

Posted 27 February 2012 - 04:28 PM

i'm getting the some problem =/

#46 Melba23

Melba23

    Yes, me!

  • Moderators
  • 15,318 posts

Posted 27 February 2012 - 04:34 PM

golfinhu,

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

M23
StringSize - Automatically size controls to fit text - ExtMsgBox - A user customisable replacement for MsgBox

Toast - Small GUIs which pop out of the Systray - Marquee - Scrolling tickertape GUIs

Scrollbars - Automatically sized scrollbars with a single command - GUIFrame - Subdivide GUIs into many adjustable frames

GUIExtender - Extend and retract multiple sections within a GUI - NoFocusLines - Remove the dotted focus lines from buttons, sliders, radios and checkboxes

ChooseFileFolder - Single and multiple selections from specified path tree structure - - Notify - Small notifications on the edge of the display

RecFileListToArray - An alternative to _FileListToArray with user-defined include/exclude masks, maximum recursion level, sorting and displayed path options

GUIListViewEx - Insert, delete, move, drag and sort ListView items


#47 DelStone

DelStone

    Wayfarer

  • Active Members
  • Pip
  • 69 posts

Posted 27 February 2012 - 07:38 PM

I was using an uptodate install - I've reinstalled, uninstalled, reinstalled - same problem. Never mind, everything else installed works fine - not sure why this app doesn't.

#48 ldub

ldub

    Wayfarer

  • Active Members
  • Pip
  • 57 posts

Posted 27 February 2012 - 08:54 PM

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, 27 February 2012 - 08:56 PM.


#49 Jos

Jos

    oh joy ...

  • Developers
  • 21,052 posts

Posted 27 February 2012 - 09:18 PM

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, 27 February 2012 - 09:18 PM.

Visit the SciTE4AutoIt3 Download page for the latest versions                                                                 Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)


#50 ldub

ldub

    Wayfarer

  • Active Members
  • Pip
  • 57 posts

Posted 27 February 2012 - 09:40 PM

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, 27 February 2012 - 09:43 PM.


#51 Jos

Jos

    oh joy ...

  • Developers
  • 21,052 posts

Posted 27 February 2012 - 09:42 PM

So what did you put in your SciTEUser.properties for this?

Visit the SciTE4AutoIt3 Download page for the latest versions                                                                 Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)


#52 ldub

ldub

    Wayfarer

  • Active Members
  • Pip
  • 57 posts

Posted 27 February 2012 - 09:53 PM

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, 27 February 2012 - 10:07 PM.


#53 Jos

Jos

    oh joy ...

  • Developers
  • 21,052 posts

Posted 27 February 2012 - 10:01 PM

Autoit3dir isn't set i guess.

try:

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

Edited by Jos, 27 February 2012 - 10:02 PM.

Visit the SciTE4AutoIt3 Download page for the latest versions                                                                 Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)


#54 ldub

ldub

    Wayfarer

  • Active Members
  • Pip
  • 57 posts

Posted 27 February 2012 - 10:24 PM

Yes, it works
My problem is solved
Thanks again, for your help and for Organise includes which is a great help.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users