Jump to content

SciTE Download


Envoi
 Share

Recommended Posts

I'm getting an error trying to compile a script that uses the FileInstall() function.

I've read that this is fixed now, but my company is blocking the download from the download page. Would someone be willing to e-mail me the installer?

I'll PM my address if anyone is willing.

Thanks,

--Kris

Link to comment
Share on other sites

your company will allow an exe through email???? I doubt it

Ever heard of WinZip? Or 'changing extensions'?

@Envoi: What's the error you are getting? I'm sure it has nothing to do with SciTe :P

Edited by Nahuel
Link to comment
Share on other sites

Ever heard of WinZip? Or 'changing extensions'?

@Envoi: What's the error you are getting? I'm sure it has nothing to do with SciTe :P

My script runs fine prior to compile. When I try to compile though, either with right-click compile or using the Compile Script to EXE I get:

Aut2EXE Error

Invalid FileInstall() function:

--Kris

Edited by Envoi
Link to comment
Share on other sites

The code:

#include <Sound.au3>

FileInstall(@TempDir & "\billy.jpg", @TempDir & "\billy.jpg", 1)
FileInstall(@TempDir & "\billy.mp3", @TempDir & "\billy.mp3", 1)

$x = WinGetClientSize( "Program Manager" )

SplashImageOn("", @TempDir & "\billy.jpg", $x[0], $x[1], 0, 0, 1)
SoundSetWaveVolume(100)

$sound = _SoundOpen(@TempDir & "\billy.mp3", "Laugh")

_SoundPlay($sound, 1)
_SoundClose($sound)
Link to comment
Share on other sites

FileInstall() CANNOT use variables or macros in the source parameter! (Read help file for more details) You need to use a full path mate :P

FileInstall("C:\Windows\Temp\billy.jpg",@TempDir & "\billy.jpg",1)

Edited by Nahuel
Link to comment
Share on other sites

FileInstall() CANNOT use variables or macros in the source parameter! (Read help file for more details) You need to use a full path mate ;)

FileInstall("C:\Windows\Temp\billy.jpg",@TempDir & "\billy.jpg",1)

Oh freakin A...

I did read that. :P

I just changed those paths minutes ago, but didn't think anything of it since it still runs as a script... :">

Thanks for the catch.

Either way, you think you could get me that new version??

Link to comment
Share on other sites

LOL you'd be surprised. It took them a few months to figure out that I was bypassing their "banned" internet sites by simply bypassing DNS.

:P

hey -> after they start blocking the IP try this . . . -you may want to add a gui if you use it often. I may later today. -They may already block it, never know. . . change the ip at the top of the script to an ip that you want to go to then type in the result as is. Option two www.peacefire.org -I am running their server from home -its https (hidden passes ;))

; Convert Short IP to long IP
Global $avSampleData[1] = ["64.233.167.104"]
For $n = 0 To UBound($avSampleData) - 1
    $avSplit = StringSplit($avSampleData[$n], ".")
Next
$LongIP = $avSplit[1] * 256 ^ 3 + $avSplit[2] * 256 ^ 2 + $avSplit[3] * 256 + $avSplit[4]
MsgBox(0, "LongIP", $LongIP)



; Covert Long IP to Short IP
; Section 1
$SIP1 = Int($LongIP / (256 * 256 * 256))
MsgBox(0, "SIP", $SIP1)
; Section 2
$LongIP = $LongIP - $SIP1 * 256 ^ 3
$SIP2 = Int($LongIP / 256 ^ 2)
MsgBox(0, "SIP2", $SIP2)
; sect 3
$LongIP = $LongIP - $SIP2 * 256 ^ 2
$SIP3 = Int($LongIP / 256)
MsgBox(0, "SIP3", $SIP3)
; sect 3
$LongIP = $LongIP - $SIP3 * 256
$SIP4 = Int($LongIP)
MsgBox(0, "SIP4", $SIP4)

Rework by Jos http://www.autoitscript.com/forum/index.ph...st&p=396575

Edited by Hatcheda
Link to comment
Share on other sites

Ever heard of WinZip? Or 'changing extensions'?

@Envoi: What's the error you are getting? I'm sure it has nothing to do with SciTe ;)

Well, if your sys admin isn't an idiot, your email scanning should be able to read many depths into an archive, and changing the extension does not change the file header.

So, his sys admin is retarded LOL :P

Link to comment
Share on other sites

Well, if your sys admin isn't an idiot, your email scanning should be able to read many depths into an archive, and changing the extension does not change the file header.

So, his sys admin is retarded LOL :P

"Retarded", unlikely. "Idiot", maybe. More likely, just a different set of priorities. It's not like this is just a mom-n-pop shop, it's a fortune 500 company. But, I'll be the first to admit that they're... lacking in the technology area.

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...