AutoHotkey Community

It is currently May 27th, 2012, 1:25 pm

All times are UTC [ DST ]




Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 155 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6, 7 ... 11  Next
Author Message
 Post subject:
PostPosted: May 17th, 2009, 10:46 pm 
Offline

Joined: January 30th, 2009, 5:43 am
Posts: 12
in metapad u can lunch your script with a hotkey. is it possible with SciTe4Autohotkey? is it possible the change the colors?


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 18th, 2009, 9:17 am 
Offline

Joined: October 17th, 2006, 4:15 pm
Posts: 7503
Location: Australia
I guess you mean the "Go" hotkey, F5? It can also be found in the Tools menu.

Colours can be customized by going to Options -> Open ahk.style.properties, and editing the appropriate properties. The syntax is explained in the SciTE documentation - search for "style.*".


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 8th, 2009, 8:05 am 
Offline

Joined: October 9th, 2008, 6:04 am
Posts: 180
Location: Finland
Arrgghh... i downloaded this new version and i have problems with it.

I use both scite4ahk and scite4autoit. when i use this new scite4ahk2 and close it and then open scite4autoit, it open same files what is used in scite4ahk2. also other way if i first use scite4autoit and then open scite4ahk2. I hate this.

last version i had no this kind of problem.

maybe i have to change my editor, or something.

_________________
was i wrong, it makes me a very sad panda!


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 8th, 2009, 3:45 pm 
Offline

Joined: March 10th, 2008, 12:55 am
Posts: 1907
Location: Minnesota, USA
also, if you open a new tab (or close an old tab), you cannot "run" code in other tabs. you have to re-open it. very annoying.

also a black caret on a black color theme is bad. is there a way to change the caret color?

_________________
rawr. be very afraid
*poke*
Note: My name is all lowercase for a reason.
"I think Bigfoot is blurry, that's the problem. It's not the photographer's fault, Bigfoot is blurry. So there's a large, out-of-focus monster roaming the countryside."


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 8th, 2009, 9:52 pm 
Offline

Joined: February 7th, 2009, 11:28 pm
Posts: 384
i love this software, but have few questions or suggestions:

1.a) When I run a script from SciTE with F5, it does not give an error message if the script fails to load. i have to click on the script file (or reload it from system tray). any way to change this?

1.b) Also, using F5 I frequently receive the error message "The script file "[some script name]" does not exist. Create it now?" This happens when I'm working with multiple scripts (which exist) located in different directories. Can this be fixed?

2. Anyone have a hotkey script to toggle the toolbar?

3. Feature request if plausible: I'd love to be able to highlight a part of the script, and run that in some type of debug mode (to see if the piece of code I just added works). By debug mode I mean it would adopt settings from and missing parameters from the parent script, and provide contents of all variables at the end, or give the usual error message if the code failed to run through.

_________________
Hardware: 1.8 GHz laptop with 4 GB ram, Windows XP/SP3
Software: Prevx, Privatefirewall, KeyScrambler.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 8th, 2009, 10:33 pm 
Offline

Joined: March 10th, 2008, 12:55 am
Posts: 1907
Location: Minnesota, USA
pajenn wrote:
i love this software, but have few questions or suggestions:

1.a) When I run a script from SciTE with F5, it does not give an error message if the script fails to load. i have to click on the script file (or reload it from system tray). any way to change this?

1.b) Also, using F5 I frequently receive the error message "The script file "[some script name]" does not exist. Create it now?" This happens when I'm working with multiple scripts (which exist) located in different directories. Can this be fixed?

thats what i'm talking about in my first satement.
as soon as you open or close a tab, all other tabs "run" (F5) commands break. and do not work until you restart Scite.

WinXP

_________________
rawr. be very afraid
*poke*
Note: My name is all lowercase for a reason.
"I think Bigfoot is blurry, that's the problem. It's not the photographer's fault, Bigfoot is blurry. So there's a large, out-of-focus monster roaming the countryside."


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 8th, 2009, 11:03 pm 
Offline

Joined: December 4th, 2006, 10:35 am
Posts: 561
Location: Galil, Israel
pajenn wrote:

3. Feature request if plausible: I'd love to be able to highlight a part of the script, and run that in some type of debug mode (to see if the piece of code I just added works). By debug mode I mean it would adopt settings from and missing parameters from the parent script, and provide contents of all variables at the end, or give the usual error message if the code failed to run through.



you can just add a LABEL: before the section and a RETURN at end,
and

gosub to that at begin of script then exit.

_________________
Joyce Jamce


Report this post
Top
 Profile  
Reply with quote  
 Post subject: Not portable
PostPosted: July 11th, 2009, 8:42 pm 
There is one issue with this being a full portable app.

It leaves behind the file %USERPROFILE%\SciTE.session
Which stores the most recent files list (MRU) and also the tabs that were opened when SciTE was closed to restore them.

It also reads SciTE.properties files from the local computer user folders which if a computer has a local installation of SciTE, will cause his settings to also apply to SciTE4AutoHotKey which is not desirable (For a local install whether this is desirable or not is up to you since this is a special version of SciTE which you may want to have separate options for.


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: July 12th, 2009, 3:07 am 
Offline

Joined: October 17th, 2006, 4:15 pm
Posts: 7503
Location: Australia
I'm not sure if there's a way to disable the Local/Directory properties files (I've never used those anyway), but the SciTE Launcher may EnvSet SciTE_HOME to override where the User/Global properties are located. In my case, I have to clear SciTE_HOME in order for SciTE4AutoHotkey (or SciTE for Lua) to run correctly - they don't work well with my properties files. (I've set SciTE_HOME for this user account to point to a sub-directory of my local SciTE installation.)

I think SciTE_HOME also overrides where the session file is saved. Otherwise, you could try setting save.session, save.recent and save.position to 0.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: July 13th, 2009, 5:28 am 
Offline

Joined: August 7th, 2007, 8:36 pm
Posts: 8
pajenn wrote:
1.b) Also, using F5 I frequently receive the error message "The script file "[some script name]" does not exist. Create it now?" This happens when I'm working with multiple scripts (which exist) located in different directories. Can this be fixed?


This can be fixed by changing one line in the ahk.properties file. The line
Code:
command.go.$(file.patterns.ahk)="$(AutoHotkeyDir)\AutoHotkey.exe" "$(FileNameExt)"

should be changed to
Code:
command.go.$(file.patterns.ahk)="$(AutoHotkeyDir)\AutoHotkey.exe" "$(FilePath)".


Also, problem 1a may be fixed by adding the additional line
Code:
command.go.subsystem.$(file.patterns.ahk)=2

right after the previous line. It makes the F5 go key accessible even if the script is currently running. Maybe that's not what you are asking about, but it can't hurt.


Report this post
Top
 Profile  
Reply with quote  
PostPosted: July 20th, 2009, 1:57 pm 
Just found the tool, love it and will be using it from now on. I ran the web nstall at home last night and was very impressed with the integration of many features while at the same time allowing for user custimization. Great Work and very appreciated!

I brought a copy of the "portable" version to work as system restrictions prevent downloading or installations of software. I dropped it into a sub-directory in my AHK folder (also used as "portable" due to the same limitations) but find that the menu items for compile, build, go and stop executing the script are greyed out. None of the shortcut keys work either.

I assumed it has something to do with the "portable" install I've used so went to have a look at the various configuration files. I can't seem to lay my eyes on anything that needs to be amended to activate these items.

Any help would be greatly appreciated

Gary


Report this post
Top
  
Reply with quote  
PostPosted: July 20th, 2009, 2:42 pm 
JeremysDadAtWork wrote:
Any help would be greatly appreciated

Perhaps the greater help would come from me asking God not to inflict the fine folks in this forum with silly questions due to my failure to engage the brain He provided me with..... :evil:

I hadn't saved the script I was trying to execute.... :oops:

Thanks again for an amazing tool!

G


Report this post
Top
  
Reply with quote  
 Post subject: About toolbar
PostPosted: July 29th, 2009, 4:31 pm 
Offline

Joined: May 13th, 2009, 3:04 pm
Posts: 1
Quote:
; For some reason the line below is not working
; Hotkey, IfWinActive, ahk_group SciTE4AutoHotkey

However, we can use this code to circumvent this problem.
Code:
ToolHotkeyHandler:
IfWinNotActive, ahk_group SciTE4AutoHotkey
{
   ControlSend, , %A_ThisHotkey%, A
   Return
}
......


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: August 2nd, 2009, 8:05 pm 
Offline

Joined: August 2nd, 2009, 6:40 am
Posts: 215
@ Charon the Hand, your suggestions seem more like bugFixes than optional changes one might want to make to the ahk.properties file, have they been included ?


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: August 5th, 2009, 7:25 pm 
Offline

Joined: August 2nd, 2009, 6:40 am
Posts: 215
I've gone back to NotePad2 for now(plain text, no hilighting). The syntax hilighter for Notepad++ has some of the hardest to read colours I've ever seen.

SciTE4AHK does look great, and it does have a lot of cool functionality (that I prolly wouldn't use), but its behaviour when pressing Enter is far too aggravating.

Cursor @ Beginning of a Line, Press Enter:
---> All Text on that line, regardless of tabs, is moved to the beginning of the next line.
---> All Tabs that preceeded the text, have been deleted completely.
What I would expect, is a newline where I hit enter, and the text to be moved down 1 line.

Everytime you press enter at the end of a line with a "}" instead of getting a newline - possibly at the same tabindentation as the "}".
You get --> the } loses a tab level and the cursor is moved to one less tab indentation on the next line.

Pressing enter at the beginning of a line that contains a "{" also eats up all the tabs, etc.

Pressing enter when the cursor is at the start of a line of text, moves it to the next line at the expected location, but the cursor jumps to End of the Line.

I've never used SciTE before, I get along fine with a number of other Editors. So I don't know if the above behaviour are SciTE idiosyncrasies or AHK modifications.

Was suprised there's no "menu" for changing SciTE specific options though without editing a config file.


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 155 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6, 7 ... 11  Next

All times are UTC [ DST ]


Who is online

Users browsing this forum: Bon, Yahoo [Bot] and 13 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group