Skip to content

Commit

Permalink
small fix for #3
Browse files Browse the repository at this point in the history
  • Loading branch information
deseven committed Apr 15, 2019
1 parent c8609b1 commit 4bedb5a
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 14 deletions.
4 changes: 2 additions & 2 deletions const.pb
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ keys($33) = "Del"
~"\t<string>Aqua</string></dict>\n" +
~"</plist>"
; IDE Options = PureBasic 5.70 LTS (MacOS X - x64)
; CursorPosition = 128
; FirstLine = 120
; CursorPosition = 27
; FirstLine = 16
; EnableXP
; EnableUnicode
10 changes: 5 additions & 5 deletions iCanHazShortcut.pbp
Original file line number Diff line number Diff line change
Expand Up @@ -7,24 +7,24 @@
<section name="data">
<explorer view="../../" pattern="0"/>
<log show="1"/>
<lastopen date="2019-04-12 17:02" user="deseven" host="de7mac.local"/>
<lastopen date="2019-04-15 15:43" user="deseven" host="de7mac.local"/>
</section>
<section name="files">
<file name="const.pb">
<config load="0" scan="1" panel="1" warn="1" lastopen="1" panelstate="+"/>
<fingerprint md5="da5a898f79c4fe5b496a8d47baf68bd7"/>
<fingerprint md5="b8e0dd127f083d0a586a25f73bf7ef07"/>
</file>
<file name="helpers.pb">
<config load="0" scan="1" panel="1" warn="1" lastopen="1" panelstate="+"/>
<fingerprint md5="a0b2ab7491e226f9f32ba8d97d51f18c"/>
<fingerprint md5="89afa35a0dc371e69a1ed59ea4fcf1d8"/>
</file>
<file name="main.pb">
<config load="0" scan="1" panel="1" warn="1" lastopen="1" panelstate="+"/>
<fingerprint md5="fde5e0f23f2863472461033081c4e11e"/>
<fingerprint md5="33c366885f45c28289821456839dfc0b"/>
</file>
<file name="proc.pb">
<config load="0" scan="1" panel="1" warn="1" lastopen="1" panelstate="+"/>
<fingerprint md5="b106ed9ec2b58a1b50d60db6350aea0c"/>
<fingerprint md5="ac32be79c71a3611f40d192e8e36b5d1"/>
</file>
</section>
<section name="targets">
Expand Down
6 changes: 3 additions & 3 deletions main.pb
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ CocoaMessage(0,CocoaMessage(0,WindowID(#wnd),"standardWindowButton:",#NSWindowBu
CocoaMessage(0,CocoaMessage(0,WindowID(#wnd),"standardWindowButton:",#NSWindowButtonMaximize),"setHidden:",#YES)
PanelGadget(#gadTabs,5,0,590,300)
CocoaMessage(0,GadgetID(#gadTabs),"setFocusRingType:",1)
CocoaMessage(0, WindowID(#wnd), "setAutorecalculatesKeyViewLoop:", #NO)
CocoaMessage(0,WindowID(#wnd),"setAutorecalculatesKeyViewLoop:",#NO)

AddGadgetItem(#gadTabs,0,"Shortcuts")
ListIconGadget(#gadShortcuts,5,0,560,220,"Shortcut",80,#PB_ListIcon_CheckBoxes)
Expand Down Expand Up @@ -439,7 +439,7 @@ ForEver

die()
; IDE Options = PureBasic 5.70 LTS (MacOS X - x64)
; CursorPosition = 51
; FirstLine = 35
; CursorPosition = 164
; FirstLine = 162
; EnableXP
; EnableUnicode
8 changes: 4 additions & 4 deletions proc.pb
Original file line number Diff line number Diff line change
Expand Up @@ -233,15 +233,15 @@ Procedure action(command.s,workdir.s)
program = command
EndIf
;Debug "running '" + program + "' with '" + params + "'"
RunProgram(program,params,"")
RunProgram(program,params,workdir)
Else
Protected shellEnd.l = FindString(shell," ")
If shellEnd
params = Mid(shell,shellEnd+1)
shell = Left(shell,shellEnd-1)
EndIf
;Debug "running '" + shell + "' with '" + command + "'"
Protected pid = RunProgram(shell,params,"",#PB_Program_Write|#PB_Program_Open)
Protected pid = RunProgram(shell,params,workdir,#PB_Program_Write|#PB_Program_Open)
If IsProgram(pid)
WriteProgramString(pid,command)
EndIf
Expand Down Expand Up @@ -636,8 +636,8 @@ ProcedureC keyHandler(sender,sel,event)
ProcedureReturn result
EndProcedure
; IDE Options = PureBasic 5.70 LTS (MacOS X - x64)
; CursorPosition = 152
; FirstLine = 149
; CursorPosition = 223
; FirstLine = 220
; Folding = ----
; EnableXP
; EnableUnicode

0 comments on commit 4bedb5a

Please sign in to comment.